summaryrefslogtreecommitdiff
path: root/populate-ldap/00a-add-kolab-users.sh
diff options
context:
space:
mode:
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}"