summaryrefslogtreecommitdiffstats
path: root/account.py
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-26 21:46:59 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-26 21:46:59 +0200
commit5fb609c5988df09db1fc4b643832cf3733717de0 (patch)
treeca31eea7965bc68442a142fe7d34c117b8718b8e /account.py
parentc2b60b7e226d1f703d673eea38873a231d676a90 (diff)
downloadweb-5fb609c5988df09db1fc4b643832cf3733717de0.tar.gz
web-5fb609c5988df09db1fc4b643832cf3733717de0.tar.bz2
web-5fb609c5988df09db1fc4b643832cf3733717de0.zip
added missing ou entry
Diffstat (limited to 'account.py')
-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', ' '),