LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to assign access privileges to users in LDAP server (https://www.linuxquestions.org/questions/linux-networking-3/how-to-assign-access-privileges-to-users-in-ldap-server-780248/)

Neelima_MAV 01-06-2010 06:59 AM

How to assign access privileges to users in LDAP server
 
In researching current ldap issue (not being able to do anything but log in) it seems that there are no concepts of privileges, roles, etc. that could be assigned to a user in LDAP.
I've only seen fields that deal with name, organization, etc., not with application-specific access control.

I have to assign certain access privileges to users authenticated via LDAP server based on the privilege level mentoned in the LDAP server. How to attain this.

Simon Bridge 01-06-2010 07:39 AM

As in - access controls?
http://www.zytrax.com/books/ldap/ch6/

access to <what> [ by <who> [<accesslevel>] [<control>] ]+

Neelima_MAV 01-07-2010 11:04 PM

How to assign access privileges to users in LDAP server
 
Hi Simon Bridge,

I'm giving my problem here more clearly.
I have an LDAP server in a remote location. My LDAP client is the router I'm using. All the users that are logged into the router are privileged as Administrator, Guest and SSLVPN users. Usually these user privileges are set by the Router itself. But now, my requirement is that I should get this user privilege information from the LDAP server.

Can you please help me here as how to set the privileges and how to get this info from server.

Thanks in Advance,
Neelima.

Simon Bridge 01-08-2010 07:21 AM

OK - I can see that.

http://www.yolinux.com/TUTORIALS/Lin...XLDAPTUTORIALS
Has several section about user passwordds and privileges - you'd have to adapt them to your requirements. Its a tad old but still useful for understanding.

I'll sleep on it.

Neelima_MAV 01-10-2010 11:03 PM

Hi Simon Bridge,

That tutorial was really useful to understand the process of authentication, but has no clue of how to pass attributes from the LDAP server to LDAP client.

Can any body please help me here?

Thanks in advance,

Neelima.

Simon Bridge 01-11-2010 05:23 AM

The server decides, not the client.

/etc/openldap/slapd.conf you'll see that you can specify the ACLs of what data users can read and/or write.
http://www.gentoo.org/doc/en/ldap-howto.xml
... has some examples.


All times are GMT -5. The time now is 10:07 AM.