Rob Verduijn wrote: > Hello, > > I'm trying to figure out how to use automounts in freeipa with offsets. > > currently I have this: > the default location containing 3 maps > auto.direct > auto.home > auto.master > > auto.direct is empty > auto.home contains: > key : * mount information : -rw nfs.example.com:/homes/& > auto.master contains > key : /- mount-information : auto.direct > key: /home mount information : auto.home > > in autofs file this would be : > auto.master : > /- /etc/auto.direct > /home /etc/auto.home > > and auto.home would contain: > test -rw nfs.example.com:/homes/& > > now I would like to do the automount indirect offset like this : > test / -rw nfs.example.com:/homes/test \ > /newfolder nfs2.example.com:/newfolder \ > /anotherfolder nfs3.example.com:/anotherfolder \ > /anotherfolder/2deep nfs4.example.com:/2deep > > which would automount the newfolder like this : > /home/test/newfolder > and anotherfolder like this > /home/test/anotherfolder > and 2deep like this > /home/test/anotherfolder/2deep > > is this possible in freeipa ? > Rob >
If it's possible with LDAP-stored autofs it should be possible with IPA. I've typically used much simpler configurations with automount. Theoreticaly it should work just the way you'd set it in a file, as you've posted. Did you try it? You'd set --key=test --info='/ -rw ...' rob -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project