On Fri, Jun 09, 2017 at 01:58:25PM -0400, Fred Smith wrote: > On Fri, Jun 09, 2017 at 08:45:26AM -0700, Akemi Yagi wrote: > > On Fri, Jun 9, 2017 at 6:18 AM, Fred Smith > > <fredex at fcshome.stoneham.ma.us> wrote: > > > On Fri, Jun 09, 2017 at 08:25:31AM -0400, Jonathan Billings wrote: > > >> On Thu, Jun 08, 2017 at 04:02:05PM -0700, Kenneth Porter wrote: > > >> > Automounting is now done through systemd. > > >> > > >> In my use, we continue to use autofs for automounts of CIFS volumes, > > >> because as best I can tell, systemd doesn't support using the > > >> request-key infrastructure to use a user's kerberos ticket to set up > > >> the automount. > > > > > > Glad to know it still works. > > > > > > Could any of you look back at my first post and give me a hint > > > what I'm doing wrong? (I can repost if necessary.) > > > > Your current setup does not agree with the instructions. May I suggest > > you follow the example in the wiki exactly as it is written? If you > > confirm that works, you can replace the name etc to fit your > > situation. > > > > Akemi > > Akemi: > > thanks for the reply! > > I was struggling with the instructions because some things are not > defined, and left to the reader to figure out. Not blaming you, all the > other instructions I saw have the same issue. but if, for example, there > was a clear statement of how/where the name of the local mount point > was defined I might have gotten it right, but as it is I had to guess. > > But I'll go do what you suggest and see what happens. > > thanks again! > OK, I've got it working, and Akemi's suggestion helped me figure it out. This is in /etc/auto.master: /mnt /etc/auto.mnt and this is in /etc/auto.mnt: # # mounts public and home shares on the NasBox. # . syno-public -fstype=cifs,rw,credentials=/root/.smbcred,defaults,uid=fredex,gid=fredex,noauto,users,exec,vers=3.0 ://nasbox/public syno-fredex -fstype=cifs,rw,credentials=/root/.smbcred,defaults,uid=fredex,gid=fredex,noauto,users,exec,vers=3.0 ://nasbox/home trying to access /mnt/syno-fredex, then, mounts my home directory on the Nasbox there, and access of /mnt/syno-public mounts the public share from the Nasbox there. It all makes sense now. thanks Akemi! PS, would it be worth documenting the systemd automount feature in the same wiki article? -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- But God demonstrates his own love for us in this: While we were still sinners, Christ died for us. ------------------------------- Romans 5:8 (niv) ------------------------------