JR Gonzalez
Explorer
- Joined
- Aug 29, 2014
- Messages
- 64
I'm having a problem and hoping someone could point me in the right direction. I use pam_mount to mount user home directories on Linux boxes but for whatever reason mount.cifs is forcing forceuid/forcegid when mounting:
# mount
//server/directory on /mnt/directory type cifs (rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=jrg,domain=domain,uid=2000,forceuid,gid=2004,forcegid,addr=xxx.xxx.xxx.xxx,unix,posixpaths,mapposix,acl,rsize=61440,wsize=65536,actimeo=1)
Am I missing something here? I use FreeNAS as the AD DC and authenticate against it. I can see domain users and groups with getent. The mounts have the uid and the user's default domain group as ownership. Not really sure how to make it so I can chgrp dirs./files on the Linux boxes. Any help is appreciated. Thanks.
# mount
//server/directory on /mnt/directory type cifs (rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=jrg,domain=domain,uid=2000,forceuid,gid=2004,forcegid,addr=xxx.xxx.xxx.xxx,unix,posixpaths,mapposix,acl,rsize=61440,wsize=65536,actimeo=1)
Am I missing something here? I use FreeNAS as the AD DC and authenticate against it. I can see domain users and groups with getent. The mounts have the uid and the user's default domain group as ownership. Not really sure how to make it so I can chgrp dirs./files on the Linux boxes. Any help is appreciated. Thanks.