summaryrefslogtreecommitdiff
path: root/hosted-kolab/04-remove-cn-equals-kolab.sh
blob: 643cc5b7b6e882f4938cf25d0ece15017ded7de0 (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