LDAP: Shadow Context Error - Solved

This error, typically takes the format of shadow context; no update referral. It occurs when you try to modify information in ldap and occurs even for the root user cn=manager.

adding new entry uid=hello@hello.com,ou=users,o=xforce,c=au
ldap_add: DSA is unwilling to perform
ldap_add: additional info: shadow context; no update referral

LDAP: error code 53 - shadow context; no update referral

This happens because the ldap is acting as a slave and will only allow updates form the 'dpdatedn' parameter in the ldap.conf file.

If you wish to make changes as root then you have to edit the ldap.conf file comment out all the lines with updated or add the manager as an updated and restart ldap.