blob: 6af577ff3ff54c283c3b23881a182720ee533a54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
. ./settings.sh
(
echo "dn: uid=hosted-kolab-service,ou=Special Users,${rootdn}"
echo "objectclass: top"
echo "objectclass: inetorgperson"
echo "objectclass: person"
echo "uid: hosted-kolab-service"
echo "cn: Hosted Kolab Service Account"
echo "sn: Service Account"
echo "givenname: Hosted Kolab"
echo "userpassword: ${hosted_kolab_service_pw}"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}"
|