Issue 719 in reviewboard: Ldap auth not working with AD

2008-11-15 Thread codesite-noreply
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 in reviewboard: Ldap auth not working with AD

2008-11-15 Thread codesite-noreply
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