summaryrefslogtreecommitdiff
path: root/populate-ldap/00a-add-kolab-users.sh
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-22 13:45:44 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-22 13:45:44 (GMT)
commit0359f9cd4d708da6cdb70cb0edea5e72b4bdbfa0 (patch)
treefbf1a782cb6683b1fac4e8c1e4339f0a69dff99d /populate-ldap/00a-add-kolab-users.sh
parent33c15ab68db704ed624a579a5ba3eff7ae485ad0 (diff)
downloadkolab-scripts-0359f9cd4d708da6cdb70cb0edea5e72b4bdbfa0.tar.gz
Use the new default user password setting
Diffstat (limited to 'populate-ldap/00a-add-kolab-users.sh')
-rwxr-xr-xpopulate-ldap/00a-add-kolab-users.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/populate-ldap/00a-add-kolab-users.sh b/populate-ldap/00a-add-kolab-users.sh
index 3c1586a..f7bbbf4 100755
--- a/populate-ldap/00a-add-kolab-users.sh
+++ b/populate-ldap/00a-add-kolab-users.sh
@@ -15,7 +15,7 @@ while [ $i -lt 0$1 ]; do
uid="$(echo ${givenname:0:1}.${surname} | tr '[:upper:]' '[:lower:]')"
- userpassword="Welcome2KolabSystems"
+ userpassword="${default_user_password}"
telephonenumber=""
if [ $(( $RANDOM % 2 )) -eq 0 ]; then
@@ -56,6 +56,7 @@ while [ $i -lt 0$1 ]; do
echo "objectclass: kolabinetorgperson"
echo "objectclass: organizationalperson"
echo "objectclass: mailrecipient"
+ echo "userpassword: ${userpassword}"
if [ ! -z "${telephonenumber}" ]; then
echo "telephonenumber: ${telephonenumber}"