Serving AutoFS Maps from Active Directory (AD) to AD-Bound Linux Clients Using SSSD

Print Friendly and PDF


1 comment

  • Avatar
    Ken Carlile

    I prefer making the nisMap for the automount / rather than the fully qualified name, along with tacking on & at the end. And you can put mount options in the nisMapEntry , and you don't need -fstype=nfs necessarily. This way it mounts the subdirectories under the export separately.

    Sorry about the formatting... 

    name nisMapName nisMapEntry
    ---- ---------- -----------
    auto.share1 auto.share1
    / auto.share1 -rw,hard,bg,intr,nfsvers=3,nolock,tcp

    name nisMapName nisMapEntry
    ---- ---------- -----------
    auto.master auto.master
    /mnt/share2 auto.master auto.share2
    /mnt/share1 auto.master auto.share1
    Comment actions Permalink

Please sign in to leave a comment.