summaryrefslogtreecommitdiff
path: root/hosted-kolab/04-remove-cn-equals-kolab.sh
blob: 51a73cfd913d9d235d674497d58c519d0f047073 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

. ./settings.sh

(
	echo "associateddomain=${domain},cn=kolab,cn=config"
	echo "cn=kolab,cn=config"
) | ldapdelete -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}" -c