Issue 719: Ldap auth not working with AD
http://code.google.com/p/reviewboard/issues/detail?id=719
Comment #1 by paolo.ferracin:
the auth_ldap_uid_mask is more like a filter than a pattern to build a DN
from an Username. So with AD the mask
should be sAMAccountName=%s. Then, AD by default doesn
Issue 719: Ldap auth not working with AD
http://code.google.com/p/reviewboard/issues/detail?id=719
Comment #2 by paolo.ferracin:
def authenticate(self, username, password):
try:
import ldap
ldapo = ldap.initialize(settings.LDAP_URI)
ldapo.set_o