I was trying to run an ldif file that will modify certain attribute and objectclass.
I was giving the user details without quotes in ldap_modify command as shown below and it throws Insufficient access error.
[oracle@hostname bin]$ ./ldapmodify -h hostname -p 389 -D cn=orcladmin -W password -f oid_tuning.ldif
modifying entry cn=dsaconfig,cn=configsets,cn=oracle internet directory
ldap_modify: Insufficient access
When I tried with quotes as shown below, it worked like a charm!
[oracle@hostname bin]$ ./ldapmodify -h hostname -p 389 -D “cn=orcladmin” -w password -f oid_tuning.ldif
modifying entry cn=dsaconfig,cn=configsets,cn=oracle internet directory
The error looks like a user lock or access privileges issue, but the answer is quite simple. Anyhow, feel like it would be useful.
Comments are closed.