Disallow ldap user to log to specific server
Posted: 2012/01/06 13:12:07
I've set up an openldap server and created some posix accounts in it. The clients are CentOS & RedHat servers. All the users defined in the ldap are able to log on any client and that's my problem.
Some of the users should be able to log only on some clients not all of them. Here is an example:
a few users : User1, User2, User3
a few clients : server1, server2, server3.
Now every users can connect on every clients, what i want is :
User1, User3 can connect on every server
User2 can only connect on server2
Is there a way to do that ? Maybe is there an attribute where i could put a list of allowed servers for a posixaccount ?
Regards
Some of the users should be able to log only on some clients not all of them. Here is an example:
a few users : User1, User2, User3
a few clients : server1, server2, server3.
Now every users can connect on every clients, what i want is :
User1, User3 can connect on every server
User2 can only connect on server2
Is there a way to do that ? Maybe is there an attribute where i could put a list of allowed servers for a posixaccount ?
Regards