Commits

Zhang Huangbin  committed 7c65d77

Fix incorrect ldap filter while admin logging in.

  • Participants
  • Parent commits 05cecba

Comments (0)

Files changed (1)

File libs/ldaplib/auth.py

                         '(accountStatus=active)' + \
                         '(|' + \
                         '(objectClass=mailAdmin)' + \
-                        '(&(objectClass=mailUser)(enabledService=domainadmin))' + \
+                        '(&(objectClass=mailUser)(|(enabledService=domainadmin)(domainGlobalAdmin=yes)))' + \
                         ')' + \
                         ')'