1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-24 10:14:31 +01:00

Revert "Update backendAD.py"

This reverts commit 7cfa183ed9.
This commit is contained in:
Christian Connert 2019-07-09 15:19:26 +02:00
parent c8f2ea84e5
commit 8b798ae5f8

View File

@ -112,7 +112,7 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
self.starttls = self.get_param('starttls', 'off')
self.uri = self.get_param('uri')
self.timeout = self.get_param('timeout', 1)
self.userdn = 'OU=Users,OU=' + self.domain.split(".")[0] + "," + basedn
self.userdn = 'CN=Users,' + basedn
self.groupdn = self.userdn
self.builtin = 'CN=Builtin,' + basedn
self.user_filter_tmpl = '(sAMAccountName=%(username)s)'