From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 SUSE/1.0.4-1.1
Description of problem:
I'm not sure this is a bug more than lack of understanding however I couldn't find anywere else to post this, so here goes; I'm testing out the directory server on a few linux servers to be used for authentication however I can't seem to find a way to restict access to a server based on user or group memborship; is there a way to allow certain users to login into certain boxes but not others when authenticating against the directory server?
Version-Release number of selected component (if applicable):
Do you want to allow certain people to be able to login to certain hosts? This
is done via the "host" attribute, a multi-valued attribute which holds the FQDN
of the hosts you want to allow access to. You need to get this attribute into
your users' entries. Many programs require that the user have the posixAccount
and shadowAccount objectclasses (e.g. they do a search like
(objectclass=posixAccount)), so you will need to add those objectclasses to your
users' entries. The "host" attribute is in the "account" objectclass. Although
it is a structural objectclass, FDS allows you to add it to an existing entry.
However, this is not standard LDAP. A better way would be to create a new
AUXILIARY objectclass (e.g. hostUser) and have the "host" attribute as an
allowed attribute (MAY) of that objectclass. Then add the "hostUser"
objectclass to your users.
On Fedora, put this into /etc/pam.d/system-auth:
auth required /lib/security/pam_listfile.so onerr=fail item=group
In the login_limit_list.conf file list all the groups that are allowed to login.