[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Permission issue for normal user with ldap_add



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 <openldap-technical-bounces@openldap.org> on behalf of vvv jjj <vvvjjj0@yahoo.co.in>
Sent: 19 January 2017 05:37:34
To: openldap-technical@openldap.org
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