blob: a26b4468a01556150fc116f90cca5cfc446b28a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
. ./settings.sh
(
echo "dn: cn=kolab,cn=config"
echo "objectclass: top"
echo "objectclass: extensibleobject"
echo "cn: kolab"
echo "aci: (targetattr = \"*\") (version 3.0;acl \"Kolab Services\";allow (read,compare,search)(userdn = \"ldap:///uid=kolab-service,ou=Special Users,${rootdn}\");)"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}"
|