Re: [Freeipa-users] query for key with hostname from automap

2016-11-07 Thread Rob Crittenden
William Muriithi wrote:
> Hello
> 
> I have a system using automount for home directories and the automount
> maps are on FreeIPA.
> 
> Is there a way I can query the username assigned to a certain host?
> Essentially, if I have a hostname xyz.example.com, what would be the
> process that I would need to query the keys living on that host?
> 
> Nothing under "ipa help automount" seem to meet my need and wonder if
> anybody has come across such a problem

The data is there but it isn't expected to be searchable like you want.

I seem to recall that autofs has a browse mode, you might try that. Or
perhaps you can cobble together what you want by looking at the NFS
sources using exportfs.

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


[Freeipa-users] query for key with hostname from automap

2016-11-05 Thread William Muriithi
Hello

I have a system using automount for home directories and the automount
maps are on FreeIPA.

Is there a way I can query the username assigned to a certain host?
Essentially, if I have a hostname xyz.example.com, what would be the
process that I would need to query the keys living on that host?

Nothing under "ipa help automount" seem to meet my need and wonder if
anybody has come across such a problem

Thanks

William

-- 
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