LDAP + NFS + automount home directories permissions issue

Posted by noobishguy on Server Fault See other posts from Server Fault or by noobishguy
Published on 2014-06-09T15:15:42Z Indexed on 2014/06/09 15:29 UTC
Read the original article Hit count: 230

Filed under:
|
|

When an LDAP user logs into the system they have incorrect permissions to their home directory.

LDAP and NFS services exist on the same server.

The directory shows the correct ownership / permissions:

drwx------. 4 ldaptest ldaptest 4096 Jun  9  2014 ldaptest

however the UID / GID do not match those on the server

client:

bash-4.1$ id
uid=10001(ldaptest) gid=10001(ldaptest) groups=10001(ldaptest)     context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

server:

[root@ldap1 log]# id ldaptest
uid=502(ldaptest) gid=502(ldaptest) groups=502(ldaptest)

How do I resolve this?

© Server Fault or respective owner

Related posts about ldap

Related posts about nfs