Enable LDAP group based authentication in Ubuntu Server

Medical Technology, Healthcare & Government IT

.
Categories
Category Groups

Enable LDAP group based authentication in Ubuntu Server:

Open /etc/pam.d/sshd file and uncomment the following:

sudo vi /etc/pam.d/sshd
account  required     pam_access.so
 celebrex buy, generic clomid 

Now open /etc/security/access.conf and add required rule.

sudo vi /etc/security/access.conf
# disallow all except people in the following group and root
-:ALL EXCEPT root home.netspective.com:ALL EXCEPT LOCAL

Where home.netspective.com is the ldap group.

Original Link