diff --git a/libraries/libldap/cldap.c b/libraries/libldap/cldap.c index 7d4f34a439..ec7ea7ee81 100644 --- a/libraries/libldap/cldap.c +++ b/libraries/libldap/cldap.c @@ -98,7 +98,7 @@ cldap_open( char *host, int port ) return NULL; } - ld->ld_version = LDAP_VERSION; + ld->ld_version = LDAP_VERSION2; sock.sin_family = AF_INET; sock.sin_port = htons( port );