summaryrefslogtreecommitdiffstats
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:18:46 +0000
commit6d13a81036557b0f02417f982b3879bd88c51602 (patch)
tree729d9ac17e8b90842c0d815d8946fb16a059638b
parentf71ed484027704e075a28c882a3b7cdeba846845 (diff)
downloadpykolab-6d13a81036557b0f02417f982b3879bd88c51602.tar.gz
Add objectclass inetdomain for custom inetdomainbasedn attribute (#1473)
-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 325cbcf..23aaf6c 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -480,6 +480,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)