[SSSD-users] AutoFS and variables

Jakub Hrozek jhrozek at redhat.com
Tue Feb 3 14:47:02 UTC 2015


On Tue, Feb 03, 2015 at 09:21:10AM -0500, Brendan Kearney wrote:
> On Mon, 2015-02-02 at 14:08 +0100, Jakub Hrozek wrote:
> > On Mon, Feb 02, 2015 at 06:50:12AM -0500, Dmitri Pal wrote:
> > > On 02/02/2015 01:52 AM, Jakub Hrozek wrote:
> > > >On Sun, Feb 01, 2015 at 11:17:02AM -0500, Brendan Kearney wrote:
> > > >>On Sat, 2015-01-31 at 19:01 -0500, Dmitri Pal wrote:
> > > >>>On 01/31/2015 12:23 PM, Brendan Kearney wrote:
> > > >>>>i want to have an automount configured so that
> > > >>>>nas.bpk2.com:/export/music is mounted on /home/<username>/Music.  i want
> > > >>>>to use the HOME variable, but several attempts have not gotten the job
> > > >>>>done.  i have tried $HOME/Music, ${HOME}/Music, and {$HOME}/Music, and
> > > >>>>none have worked.
> > > >>>>
> > > >>>>what is the correct way to use a variable with AutoFS and SSSD?  i have
> > > >>>>used the hard values to get things working for my id, but want to have
> > > >>>>this work for all users.
> > > >>>>
> > > >>>>dn:
> > > >>>>automountKey=/home/brendan/Music,automountMapName=auto.shares,cn=autofs,ou=Daemons,dc=bpk2,dc=com
> > > >>>>automountinformation: nas.bpk2.com:/export/music
> > > >>>>automountkey: /home/brendan/Music
> > > >>>>description: music
> > > >>>>objectclass: automount
> > > >>>>objectclass: top
> > > >>>>
> > > >>>>thanks,
> > > >>>>
> > > >>>>brendan
> > > >>>>
> > > >>>>_______________________________________________
> > > >>>>sssd-users mailing list
> > > >>>>sssd-users at lists.fedorahosted.org
> > > >>>>https://lists.fedorahosted.org/mailman/listinfo/sssd-users
> > > >>>I am not sure it is possible. Please file an RFE.
> > > >>>
> > > >>umm... how?  i dont see a sign-in link in the trac page.  do you have a
> > > >>link?
> > > >This would be an autofs RFE right? :-)
> > > 
> > > No it is more IPA and SSSD one(s).
> > > IPA to store the keys with macro
> > > and SSSD to expand the macro
> > > 
> > > No?
> > 
> > My understanding is that the expansion is done by the automounter
> > deamon. IIRC there is something like "&" for homedirs. I would advise to
> > ask on autofs lists first.
> > 
> > Please note I'm not saying we don't have any bugs in sssd, chances are
> > we do, but so far I think we sholdn't touch the variables..
> > _______________________________________________
> > sssd-users mailing list
> > sssd-users at lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/sssd-users
> 
> so where does this leave me?  i have a SSSD with AutoFS implementation
> that does not provide all the functionality i want, and indecision
> around who should be doing what leaves me no option to request the
> features

I've CC-ed the RHEL/Fedora autofs maintainer..

Ian, could you help us out with this thread? I'm afraid our autofs-fu is
not strong enough. Here is a link to the archives so you don't have to
hunt the thread in the archive:
    https://lists.fedorahosted.org/pipermail/sssd-users/2015-January/002611.html

Thank you very much for your time.


More information about the sssd-users mailing list