don't require profilePath attribute (#23244)
This commit is contained in:
parent
778861bcfe
commit
c60cc535c6
|
@ -28,8 +28,6 @@ for entry in ldap_conn.search_s("ou=ouGED,ou=ouPCF,ou=ouUsers,dc=win,dc=info,dc=
|
|||
ldap.SCOPE_SUBTREE, "objectclass=user"):
|
||||
if not entry[0]:
|
||||
continue
|
||||
if not entry[1].get('profilePath'):
|
||||
continue
|
||||
|
||||
try:
|
||||
username = entry[1]['sAMAccountName'][0]
|
||||
|
|
Reference in New Issue