Hi,

 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).

Best regards

  Martin Stejskal

________________________________
From: openldap-technical <[email protected]> on behalf of 
vvv jjj <[email protected]>
Sent: 19 January 2017 05:37:34
To: [email protected]
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 missed anything.

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 
(non root).

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.

Regards
J.Visu

Reply via email to