[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: can't delete ppolicy overlay from cn=config



> <SClassen@lbl.gov> wrote:
> 
> > hello,
> >
> > this is my ldif file:
> >
> > dn: olcOverlay={1}ppolicy,olcDatabase={1}bdb,cn=config
> > changetype: delete
> >
> > command to remove entry:
> > %ldapmodify -x -D "uid=ldapadmin,ou=peps,dc=example,dc=com" -W -f
> > ppolicy-del.ldif
> >
> > deleting entry "olcOverlay={1}ppolicy,olcDatabase={1}bdb,cn=config"
> > ldap_delete: Server is unwilling to perform (53)
> >
> > I'm performing this operation as rootdn why can I not delete the 
> entry?
> Please always provide the version of OpenLDAP you are using.
> 
> --Quanah

openldap 2.4.6 on both the machines.

one additional piece of information. I have different rootdns for both:
olcDatabase={1}bdb,cn=config
and
olcDatabase={0}config,cn=config

I'm trying to delete an overlay entry in olcDatabase={1}bdb,cn=config so I assumed that I should use its rootdn, but I have tried both an neither one works.

Thanks,
Scott