On 12.02.22 20:00, Felix Natter wrote:
policyou.ldif:
dn: ou=policies,dc=company,dc=com objectClass: organizationalUnit ou: policies
ldapadd -Y EXTERNAL -Q -H ldapi:/// -f policyou.ldif (1)
which results in https://ldapwiki.com/wiki/LDAP_INSUFFICIENT_ACCESS (with "additional info: no write access to parent")
Now I tried _several_ commands to fix this, then I did:
ldapadd -H ldapi:/// -D cn=admin,cn=config -W -f policyou.ldif (2)
which works. But I have to fix this on the production server now, and I don't know whether (2) fixed this or some other command.
What could be the problem with (1)?
Looks like an issue with your ACLs. Here we have somthing like
to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage by * none
to enable ldapi auth for local root account.
Best regards Ulf