Keeper of the Keys
August 16th, 2009, 08:07 AM
I recently decided to switch Debian clients on our network to Ubuntu (the server remains Debian) but I am into a slightky annoying issue:
We use LDAP authentication and while on Debian there are two (almost identical) files to configure PAM and NSS to work with ldap it seems that Ubuntu has decided to add these two files together.
As the files are almost identical this may have seemed like a logical step but it means that you can't restrict access to only one branch of the tree or even one user while still retaining the possibility of showing proper owner/group information on files.
Ie. in my old setup the libnss_ldap.cpnf basedn would be "dc=mydomain,dc=tld" while the pam_ldap.conf basedn would be "ou=someou,dc=mydomain,dc=tld" etc. this would bar people in a different ou access to that specific machine while still being able to show proper group (and owner information in shared directories) information as the groups sat in "ou=groups,dc=mydomain,dc=tld"
Is there a solution for this usage scenario on Ubuntu?
We use LDAP authentication and while on Debian there are two (almost identical) files to configure PAM and NSS to work with ldap it seems that Ubuntu has decided to add these two files together.
As the files are almost identical this may have seemed like a logical step but it means that you can't restrict access to only one branch of the tree or even one user while still retaining the possibility of showing proper owner/group information on files.
Ie. in my old setup the libnss_ldap.cpnf basedn would be "dc=mydomain,dc=tld" while the pam_ldap.conf basedn would be "ou=someou,dc=mydomain,dc=tld" etc. this would bar people in a different ou access to that specific machine while still being able to show proper group (and owner information in shared directories) information as the groups sat in "ou=groups,dc=mydomain,dc=tld"
Is there a solution for this usage scenario on Ubuntu?