[Freeipa-users] Re: IPa and automount

2017-12-10 Thread Tony Brian Albers via FreeIPA-users
Have you done ipa-client-automount on the client?

/tony


On 12/08/2017 11:03 PM, Miguel Angel Coa M. via FreeIPA-users wrote:
> Hello Tony,
> I dont undertand, i setting the auto.master and auto.home with the new 
> values but not found:
> 
> ipa automountlocation-add userhome
> ipa automountmap-add userhome auto.home
> ipa automountkey-add userhome --key "/home/remote" --info auto.home 
> auto.master
> ipa automountkey-add userhome --key "*" --info "-fstype=-fstype=nfs 
> ipa.example.local:/autohome/&" auto.home
> ipa automountlocation-tofiles  userhome
> 
> But connect to remote machine, reconfigure service, login with user but 
> nothing (no automap mount)
> 
> 
> 
> Thanks
> 
> 
> 
> 
> Saludos.
> ---
> Miguel Coa M.
> 
> 2017-12-08 5:36 GMT-03:00 Tony Brian Albers via FreeIPA-users 
>  >:
> 
> On 12/07/2017 10:55 PM, Miguel Angel Coa M. via FreeIPA-users wrote:
>  > Hello,
>  > I'm configure automount/nfs in my IPA server but a have a
> question for
>  > change the remote mount point. For example, now the when user login
>  > automount "mount" the home under /home/ , but i need change this
>  > directory, for example /home/remote/
>  >
>  > Example:
>  >
>  > [.]
>  > su - foo
>  > df -h
>  > ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77% /home/foo
>  > [.]
>  >
>  >
>  > But i need
>  >
>  > [.]
>  > su - foo
>  > df -h
>  > ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77%
> /home/remote/foo
>  > [.]
>  >
>  >
>  > My setting are:
>  >
>  > ipa automountlocation-add ipauserhome
>  > ipa automountmap-add ipauserhome auto.home
>  > ipa automountkey-add ipauserhome auto.home --key="*"
> --info="-fstype=nfs
>  > ipa.example.local:/autohome/&"
>  > ipa automountlocation-tofiles ipauserhome
>  >
>  > Thanks
>  >
>  > Saludos.
>  > ---
>  > Miguel Coa M.
>  >
>  >
> 
> Good morning Miguel,
> 
> You need to set your auto.master map to tell autofs that auto.home
> should use /remote/home as mountpoint.
> 
> /tony
> 
> --
> Tony Albers
> Systems administrator, IT-development
> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 2566 2383  / +45 8946 2316
> 
> ___
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> 
> To unsubscribe send an email to
> freeipa-users-le...@lists.fedorahosted.org
> 
> 
> 
> 
> 
> ___
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
> 


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316
___
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org


[Freeipa-users] Re: IPa and automount

2017-12-08 Thread Miguel Angel Coa M. via FreeIPA-users
Hello Tony,
I dont undertand, i setting the auto.master and auto.home with the new
values but not found:

ipa automountlocation-add userhome
ipa automountmap-add userhome auto.home
ipa automountkey-add userhome --key "/home/remote" --info auto.home
auto.master
ipa automountkey-add userhome --key "*" --info "-fstype=-fstype=nfs
ipa.example.local:/autohome/&" auto.home
ipa automountlocation-tofiles  userhome

But connect to remote machine, reconfigure service, login with user but
nothing (no automap mount)



Thanks




Saludos.
---
Miguel Coa M.

2017-12-08 5:36 GMT-03:00 Tony Brian Albers via FreeIPA-users <
freeipa-users@lists.fedorahosted.org>:

> On 12/07/2017 10:55 PM, Miguel Angel Coa M. via FreeIPA-users wrote:
> > Hello,
> > I'm configure automount/nfs in my IPA server but a have a question for
> > change the remote mount point. For example, now the when user login
> > automount "mount" the home under /home/ , but i need change this
> > directory, for example /home/remote/
> >
> > Example:
> >
> > [.]
> > su - foo
> > df -h
> > ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77% /home/foo
> > [.]
> >
> >
> > But i need
> >
> > [.]
> > su - foo
> > df -h
> > ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77% /home/remote/foo
> > [.]
> >
> >
> > My setting are:
> >
> > ipa automountlocation-add ipauserhome
> > ipa automountmap-add ipauserhome auto.home
> > ipa automountkey-add ipauserhome auto.home --key="*" --info="-fstype=nfs
> > ipa.example.local:/autohome/&"
> > ipa automountlocation-tofiles  ipauserhome
> >
> > Thanks
> >
> > Saludos.
> > ---
> > Miguel Coa M.
> >
> >
>
> Good morning Miguel,
>
> You need to set your auto.master map to tell autofs that auto.home
> should use /remote/home as mountpoint.
>
> /tony
>
> --
> Tony Albers
> Systems administrator, IT-development
> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 2566 2383 / +45 8946 2316
> ___
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
>
___
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org


[Freeipa-users] Re: IPa and automount

2017-12-08 Thread Tony Brian Albers via FreeIPA-users
On 12/07/2017 10:55 PM, Miguel Angel Coa M. via FreeIPA-users wrote:
> Hello,
> I'm configure automount/nfs in my IPA server but a have a question for 
> change the remote mount point. For example, now the when user login 
> automount "mount" the home under /home/ , but i need change this 
> directory, for example /home/remote/
> 
> Example:
> 
> [.]
> su - foo
> df -h
> ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77% /home/foo
> [.]
> 
> 
> But i need
> 
> [.]
> su - foo
> df -h
> ipa.example.local:/autohome/foo  8.0G  6.2G  1.9G  77% /home/remote/foo
> [.]
> 
> 
> My setting are:
> 
> ipa automountlocation-add ipauserhome
> ipa automountmap-add ipauserhome auto.home
> ipa automountkey-add ipauserhome auto.home --key="*" --info="-fstype=nfs 
> ipa.example.local:/autohome/&"
> ipa automountlocation-tofiles  ipauserhome
> 
> Thanks
> 
> Saludos.
> ---
> Miguel Coa M.
> 
>

Good morning Miguel,

You need to set your auto.master map to tell autofs that auto.home 
should use /remote/home as mountpoint.

/tony

-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316
___
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org