De acordo com a documentação do Ubuntu você pode fazer um mapeamento de usuários de domínio para grupos locais, não tenho certeza se é aplicável a qualquer sistema operacional, mas parece usar módulos padrão que devem estar em qualquer sistema * nix. / p>
De documentos do Ubuntu
Assign local groups to users
To assign local groups to a domain (ldap) user do the following edit
/etc/security/group.conf and add something like the following to it
(log in as a local user and run the groups command to verify what to
add):
*;*;*;Al0000-2400;audio,cdrom,dialout,floppy
In order to get the pam_group
module working you could create a file
like /usr/share/pam-configs/my_groups
:
Name: activate /etc/security/group.conf
Default: yes
Priority: 900
Auth-Type: Primary Auth:
required pam_group.so
and activate it by running pam-auth-update
.
This roughly equals
editing /etc/pam.d/common-auth
by hand and adding the following line
before any pam_ldap
and pam_krb5
settings:
auth required pam_group.so
You should now have local groups showing up for users logging in via gdm and ssh and can
verify this by executing id or groups.
Finalize
Just to make sure everything works, run the following:
pam-auth-update
/etc/init.d/nscd restart