summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.py b/account.py
index 8231122..0340564 100644
--- a/account.py
+++ b/account.py
@@ -146,7 +146,7 @@ class AccountService:
"""
self._bind_as_admin()
- dn = self._format_dn([('uid', account.uid)])
+ dn = self._format_dn([('uid', account.uid),('ou','users')])
attr = [
('objectClass', ['top','inetOrgPerson']),
('uid', self._escape(account.uid)), ('sn', ' '), ('cn', ' '),