I am trying to use AD as our identity server (corporate thing, not my choice) and since it sux as an LDAP server I figured I'd try their "Services for Unix." I'm using version 3 (the one that comes with Windows 2003 R2.)
I have their NIS service running and their NFS services exporting folders. I also have my NetWare/eDirectory as an NIS subordinate server, as well as NIS services on my SLES10 SP2 server, and am exporting NetWare home directories using NFAP/NFS. However, I can't use NIS, NFS and AutoFS as I should be able to, automatically mounting users' home directories, because Microsoft in their infinite wisdom chose to leave out the auto.master and auto.home NIS maps. I can manually mount the NetWare home directories on my Linux server (mount -t nfs server:<user home dir nfs share> /home/<userid> -rw) but I can't figure out how to use autofs to do it at user login time.
I don't want to use Samba because that adds yet another set of credentials and permissions, and adds more smb/cifs port traffic that I don't want, and I am trying to reduce user identity A/C/D steps, not add more. I don't want to use LDAP because then I also have to use Kerberos and try to make it all work together, because Microsoft in their infinite wisdom does not support secure LDAP authentication with PKIS.
NIS/NFS/autofs have been around forever and should work - provided you can have the requisite NIS maps in play.
Has anyone done this? If not, does anyone have an idea how I could either work around the shortcomings of Microsoft's NIS service or add the requisite autofs maps to their NIS service? You can add maps, but they don't tell you what's needed for what map type - the directions are very sketchy and generally not helpful - as one might expect from Microsoft's "interoperability" tools...
Additionally, any help on how to set permissions on the mounted NFS shares would be of great help. Perhaps some pointers on a shell script I can add to .profile? If they're getting their home directory via NIS/NFS, the .profile script would have to be on the exported share, right? How can that be forced to run after the autofs mount, or can it?