summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-17 13:18:46 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-17 13:19:35 +0000
commit6992a7ed2fda6b82e2ff5c3d0825f90c691b9680 (patch)
treed283abeb1a01c09509c5373367e84f6fe17166cd /pykolab
parent38c2bf2ba44e48d5297c6bdf052c1cdfc50bcb9b (diff)
downloadpykolab-6992a7ed2fda6b82e2ff5c3d0825f90c691b9680.tar.gz
Add objectclass inetdomain for custom inetdomainbasedn attribute (#1473)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_ldap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index 7c8cf2a..cb8d776 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -488,6 +488,7 @@ ServerAdminPwd = %(admin_pass)s
# Add inetdomainbasedn in case the configured root dn is not the same as the
# standard root dn for the domain name configured
if not _input['rootdn'] == utils.standard_root_dn(_input['domain']):
+ attrs['objectclass'].append('inetdomain')
attrs['inetdomainbasedn'] = _input['rootdn']
ldif = ldap.modlist.addModlist(attrs)