aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/idm_server/10-slapd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hostclass/idm_server/10-slapd')
-rw-r--r--scripts/hostclass/idm_server/10-slapd10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/hostclass/idm_server/10-slapd b/scripts/hostclass/idm_server/10-slapd
index 83cdbb6..d108ae2 100644
--- a/scripts/hostclass/idm_server/10-slapd
+++ b/scripts/hostclass/idm_server/10-slapd
@@ -120,13 +120,19 @@ objectClass: organizationalUnit
ou: $(ldap_rdn_value "$accounts_basedn")
EOF
- # ou=people,ou=accounts,dc=example,dc=com
+ # ou=users,ou=accounts,dc=example,dc=com
+ ldap_add "$users_basedn" <<EOF
+objectClass: organizationalUnit
+ou: $(ldap_rdn_value "$users_basedn")
+EOF
+
+ # ou=people,ou=users,ou=accounts,dc=example,dc=com
ldap_add "$people_basedn" <<EOF
objectClass: organizationalUnit
ou: $(ldap_rdn_value "$people_basedn")
EOF
- # ou=robots,ou=accounts,dc=example,dc=com
+ # ou=robots,ou=users,ou=accounts,dc=example,dc=com
ldap_add "$robots_basedn" <<EOF
objectClass: organizationalUnit
ou: $(ldap_rdn_value "$robots_basedn")