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

Rob Crittenden rcritten at redhat.com
Mon Nov 7 14:30:55 UTC 2016


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




More information about the Freeipa-users mailing list