summaryrefslogtreecommitdiff
path: root/hosted-kolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-04 09:17:26 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-06-04 09:17:26 (GMT)
commit909549189d91ab52e4e7e168ff2a01d369c5e08c (patch)
tree17391e4b695ebe266f9815b3ccff4e3b441e08dc /hosted-kolab
parentb9c259d592d26b850c718d44b0a94d846abcc1cd (diff)
downloadkolab-scripts-909549189d91ab52e4e7e168ff2a01d369c5e08c.tar.gz
Rename adding admin account
Diffstat (limited to 'hosted-kolab')
-rwxr-xr-xhosted-kolab/08-add-doe-at-mgmt-domain-admin.sh (renamed from hosted-kolab/08-add-doe@kolabsys.net-admin.sh)10
1 files changed, 5 insertions, 5 deletions
diff --git a/hosted-kolab/08-add-doe@kolabsys.net-admin.sh b/hosted-kolab/08-add-doe-at-mgmt-domain-admin.sh
index 740beed..6ccaee9 100755
--- a/hosted-kolab/08-add-doe@kolabsys.net-admin.sh
+++ b/hosted-kolab/08-add-doe-at-mgmt-domain-admin.sh
@@ -3,7 +3,7 @@
. ./settings.sh
(
- echo "dn: uid=doe@kolabsys.net,ou=People,${rootdn}"
+ echo "dn: uid=doe@${domain},ou=People,${rootdn}"
echo "objectClass: top"
echo "objectClass: inetorgperson"
echo "objectClass: kolabinetorgperson"
@@ -16,10 +16,10 @@
echo "sn: Doe"
echo "cn: John Doe"
echo "displayName: Doe, John"
- echo "mail: doe@kolabsys.net"
- echo "uid: doe@kolabsys.net"
+ echo "mail: doe@${domain}"
+ echo "uid: doe@${domain}"
echo "mailHost: localhost"
- echo "userPassword: 123456"
- echo "nsroledn: cn=kolab-admin,dc=kolabsys,dc=net"
+ echo "nsroledn: cn=kolab-admin,${rootdn}"
+ echo "userPassword: ${default_user_password}"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}"