Hello,
I start experimenting with Ansible and OpenLDAP. Now I try to set up the
overlay "synprov". I noticed that everytime I start my playbook the
configuration over the overlay is added to the configuration again and
again, so I now have:
--------------
# {0}syncprov, {1}mdb, config
dn: olcOverlay={0}syncprov,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
olcSpSessionlog: 300
# {1}syncprov, {1}mdb, config
dn: olcOverlay={1}syncprov,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {1}syncprov
olcSpSessionlog: 300
--------------
Then I tried to remove one of the entries with "ldapdelete" and got the
following error:
---------
ldapdelete -Y EXTERNAL -H ldapi:///
"olcOverlay={1}syncprov,olcDatabase={1}mdb,cn=config"
SASL/EXTERNAL authentication started
SASL username: gidNumber=1001+uidNumber=1001,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_delete: Server is unwilling to perform (53)
-------------------
How can I remove "dn:
olcOverlay={1}syncprov,olcDatabase={1}mdb,cn=config" with ldapdelete? Or
is there another way to remove the entry?
Thank's for the any help
Stefan