first of all, I'm newbie in LDAP too, but I think that under root you're using
different type of authentication. Maybe you can post your commands, so we can see what are
you actually doing.
From my experience: if you use parameters "-Y EXTERNAL"
you're authenticate as actual Linux user. But when you're using "-D
"cn=admin,dc=example,dc=com" " you'll authenticate as LDAP's
"admin" user. If you want to add new database (to cn=config), you will probably
need Linux root user. But when you want to modify database, you need LDAP's admin user
(at least this is the way I understand LDAP).
From: openldap-technical <openldap-technical-bounces(a)openldap.org> on behalf of vvv
Sent: 19 January 2017 05:37:34
Subject: Permission issue for normal user with ldap_add
Hi OpenLDAP team,
I'm new to openLDAP. So this could be a trivial question, please let me know if I
I'm trying to add entries to "dc=example,dc=com" using ldap_add. It is
working fine for super user (root), but we are getting permission error for normal user
I'm able to update with ldap_modify for normal user.
Could you please let me know how can we give permissions to any specific user to add
entries using ldap_add.
Thanks in advance.