Commits

Zhang Huangbin committed 7c65d77

Fix incorrect ldap filter while admin logging in.

Comments (0)

Files changed (1)

libs/ldaplib/auth.py

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