From e0f6982de2e5ed406f499ac305fc565dcf2eac6f Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 23 Jun 2011 19:09:01 +0000 Subject: [PATCH] one more sanity check Monotone-Parent: dc5ddbbb3305b9f0cb8fe2e2044f0a2673ef24ca Monotone-Revision: 94b9cd9ca57eca41ee588c8d41da668682bdb1d0 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-06-23T19:09:01 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/LDAPSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index 3ca5cce34..7e966fa46 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -488,7 +488,7 @@ andMultipleBookingsField: (NSString *) newMultipleBookingsField didBind = NO; - if ([_login length] > 0) + if ([_login length] > 0 && [_pwd length] > 0) { bindConnection = [[NGLdapConnection alloc] initWithHostName: hostname port: port];