
[nssldap] overwriting LDAP values locally
[Date Prev][Date Next] [Thread Prev][Thread Next][nssldap] overwriting LDAP values locally
- From: "Defryn, Guy" <G.P.Defryn [at] massey.ac.nz>
- To: "nssldap [at] padl.com" <nssldap [at] padl.com>
- Subject: [nssldap] overwriting LDAP values locally
- Date: Wed, 2 Apr 2008 14:41:34 +1300
Hi guys, This might not be a question for this list but am trying my
luck anyway. Our Linux boxes using LDAP/ AD authentication. This works
fine and all as expected. Now I came across the need to modify one of those values
locally, I need to change the home directory. I can't change the value in ldap
as it would break on and other I tried the following, I added to /etc/passwd +userA:::::/home/u/userA +userB:::::/home/u/userB And in /etc/nsswitch.conf passwd: compat passwd_compat: ldap I have to have those home directories set for SSH logins to
work. When I changed it as explained above userA and userB get in fine.
The problem is now that I get a permission denied for userC. Unlike userA and
userB, userC has the correct home directory in LDAP . So fixing one thing breaks something else. In short how can
I maintain LDAP functionality and overwrite certain values in /etc/passwd Cheers Guy Defryn Systems
Engineer |
- [nssldap] overwriting LDAP values locally, Defryn, Guy
- Re: [nssldap] overwriting LDAP values locally,
Ralf Haferkamp
- RE: [nssldap] overwriting LDAP values locally, Defryn, Guy
- Prev by Date: Re: [nssldap] gentent works but "id" and "groups" commands fail with message "failed to get groups for user "
- Next by Date: Re: [nssldap] overwriting LDAP values locally
- Previous by thread: Re: [nssldap] gentent works but "id" and "groups" commands fail with message "failed to get groups for user "
- Next by thread: Re: [nssldap] overwriting LDAP values locally