[Freeipa-users] ipa automount bug?

Standa Laznicka slaznick at redhat.com
Thu Oct 27 10:15:23 UTC 2016


Hello,

I am no automount expert so I will leave answering those questions to 
those but see my comment inline.

On 10/27/2016 06:16 AM, William Muriithi wrote:
> Evening,
>
> I am trying to import some autos map from a file to FreeIPA LDAP and
> have noticed two problems that can be considered a bug in my humble
> opinion.  This is on:
>
> ipa-server-4.2.0-15.0.1.el7
>
> 1.  This either is a documentation bug that suggest one can specify a
> parent map while thats actually not the case or ipa I am running has a
> bug and can't handle parent map. Below is what I get when I try to
> specify parent map:
>
> [root at hydrogen ~]# ipa automountmap-add-indirect default
> auto.projects-prs1013 –-mount=/projects/prs1013
> --parentmap=auto.projects
Is this a direct copy-paste from the terminal? If so and your e-mail 
client did not do any reformatting then the first character in the 
"–-mount=/projects/prs1013" is not a dash, which results in it being 
recognized as a third argument, thus the warning about at most 2 arguments.
>
> ipa: ERROR: command 'automountmap_add_indirect' takes at most 2 arguments
>
>   I had got the idea that this is possible from the documentation below:
>
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Identity_Management_Guide/configuring-maps.html
>
> According to the document, I should be able to specify an automap
> parent.  However, it don’t look like that’s actually supported.
>
>
>
> 2. How would one import an existing maps to ipa auto.home map.  Import
> seem to be only capable of importing to auto.master, which make its
> utility doubtful
>
> [root at hydrogen ~]# ipa automountlocation-import  default
> /tmp/2016-10-26/auto.home
>
> Imported maps:
> Imported keys:
>
> Added adam to auto.master
> ......
>
> I think we should have a flag that allow importation of key to other
> other maps other than auto.master
>
> Regards,
> William
>




More information about the Freeipa-users mailing list