I've run into a rather frustrating problem with autofs' documentation, or rather a lack thereof. I can't see any reason at all that autofs/automount/automountd can't work with mount_smbfs. But I can't find any documentation or examples of anyone doing this.
So a bit on the exact details of the setup. FreeBSD client is running security/sssd (I need to fix that obviously, ports version is way behind.) AD is fully integrated with pam - when a user logs in, it hits AD to authenticate and also gets their krb5 token. It also gets their home directory, their shell, etcetera.
The NAS then proceeds to aggravate me by not mapping SID to UID correctly. So if I mount as MACHINE$@DOMAIN.LAN, login as user DEMO@DOMAIN.LAN with UID 719601112, and try to write out a file? The NAS promptly says "nope, that UID doesn't have access!" It only works right with
Edit: to clarify, the specific intent is to mount the share *as* the user. e.g. NFSv4 would be roughly:
So does anyone out there have a working example of autofs with mount_smbfs that they can share? Optimally I'd love a one-liner like my NFS setup, but I'll take what I can get. @trasz, if one is found, can you maybe add it to the examples in /etc/autofs?
So a bit on the exact details of the setup. FreeBSD client is running security/sssd (I need to fix that obviously, ports version is way behind.) AD is fully integrated with pam - when a user logs in, it hits AD to authenticate and also gets their krb5 token. It also gets their home directory, their shell, etcetera.
The NAS then proceeds to aggravate me by not mapping SID to UID correctly. So if I mount as MACHINE$@DOMAIN.LAN, login as user DEMO@DOMAIN.LAN with UID 719601112, and try to write out a file? The NAS promptly says "nope, that UID doesn't have access!" It only works right with
mount_smbfs. Edit: to clarify, the specific intent is to mount the share *as* the user. e.g. NFSv4 would be roughly:
Code:
* -fstype=nfs,vers=4,hard,intr,gssname=&,sec=krb5p,rsize=32768,wsize=32768 nas10:/volume1/homes/&
So does anyone out there have a working example of autofs with mount_smbfs that they can share? Optimally I'd love a one-liner like my NFS setup, but I'll take what I can get. @trasz, if one is found, can you maybe add it to the examples in /etc/autofs?