##// END OF EJS Templates
AD fix when search could return empty dn
marcink -
r1444:d17aa797 beta
parent child Browse files
Show More
@@ -119,6 +119,9 b' class AuthLdap(object):'
119 119 raise ldap.NO_SUCH_OBJECT()
120 120
121 121 for (dn, _attrs) in lobjects:
122 if dn is None:
123 continue
124
122 125 try:
123 126 server.simple_bind_s(dn, password)
124 127 attrs = server.search_ext_s(dn, ldap.SCOPE_BASE,
General Comments 0
You need to be logged in to leave comments. Login now