From 39af916d688b351c10aed3b2b8321c31e06f08db Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 20 Oct 2008 14:04:09 +0000 Subject: [PATCH] Added a wise NSLog call to give more clue to users about a misconfiguration of the SOGoLDAPSources. Monotone-Parent: 6c02bf9631ff4ffa77f3dd2068fdf632d29bcc25 Monotone-Revision: 7b8ed9c4b20f7511d8c8423f497d9006d548729d Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-10-20T14:04:09 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/LDAPSource.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index b3822f832..86de6fd72 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -253,6 +253,7 @@ static int sizeLimit; } NS_HANDLER { + NSLog(@"Could not bind to the LDAP server %@ (%d) using the bind DN: %@", hostname, port, bindDN); b = NO; } NS_ENDHANDLER;