found bug in LDAP

found bug in LDAP