The test was performed in Fedora 17 OS, i386 version.
when use wildcard: * & to create indirect map in IPA as following: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ autofs configuration for location [ipa_indirect_4174] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /etc/auto.master: /- /etc/auto.direct /ipashare27656 /etc/auto.share --------------------------- /etc/auto.direct: --------------------------- /etc/auto.share: * -rw,soft,rsize=8192,wsize=8192 f17apple.yzhang.redhat.com:/share/& maps not connected to /etc/auto.master: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The actual autofs mount is wrong. Let's say there is a sub-directory named "pub" under "/share" on NFS server. Based on above autofs configuration, the NFS server directory "/share/pub" suppose to be mounted on autofs client "/ipashare27656/pub". However, the actual mounted structure is "/share/pub/pub"
I have tried configure an autofs client that has no ipa client and ipa sssd involved. The directory : [NFS server:/share/pub] does map to: [Autofs client: /ipashare27656/pub]
Build tested:
ipa server:
[root@f17apple (Fedora17-i386) share] rpm -qi freeipa-server Name : freeipa-server Version : 2.99.0 Release : 0.20121016T0712Zgit92331c0.fc17 Architecture: i686 Install Date: Tue 16 Oct 2012 09:34:59 AM PDT Group : System Environment/Base Size : 4335775 License : GPLv3+ Signature : (none) Source RPM : freeipa-2.99.0-0.20121016T0712Zgit92331c0.fc17.src.rpm Build Date : Tue 16 Oct 2012 12:45:44 AM PDT ipa client: [root@f17banana (Fedora17-i386) pub] rpm -qi freeipa-client Name : freeipa-client Version : 2.99.0 Release : 0.20121016T0712Zgit92331c0.fc17 Architecture: i686 Install Date: Tue 16 Oct 2012 09:33:13 AM PDT Group : System Environment/Base Size : 281002 License : GPLv3+ Signature : (none) Source RPM : freeipa-2.99.0-0.20121016T0712Zgit92331c0.fc17.src.rpm Build Date : Tue 16 Oct 2012 12:45:44 AM PDT ipa sssd: [root@f17banana (Fedora17-i386) pub] rpm -qi sssd Name : sssd Version : 1.9.90 Release : 0.20121018T1819Zgit66318df.fc17 Architecture: i686 Install Date: Fri 19 Oct 2012 07:31:01 AM PDT Group : Applications/System Size : 12636413 License : GPLv3+ Signature : (none) Source RPM : sssd-1.9.90-0.20121018T1819Zgit66318df.fc17.src.rpm Build Date : Thu 18 Oct 2012 03:29:56 PM PDT
Did you try this with ipa-client-automount --no-sssd? Based on the fact that this worked on an unconfigured client machine I suspect it will work with IPA client configured as well. I suspect that this is an sssd automount bug.
very good point, testing it now
when use "--no-sssd", the automount works fine. it looks like this is sssd automount bug. how can i change the ticket to make it against sssd?
Yi
You'll need to open a new ticket against sssd.
You can leave this one open so we can add a Requires on the fixed version of sssd.
sssd ticket has been filed
https://fedorahosted.org/sssd/ticket/1598
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=869649
Jakub figured it out. If the autofs service wasn't registered in SSSD then the activation failed.
This was reported by the client but not in the bug report:
Unable to activate the autofs service in SSSD config.
master: 5e79743
ipa-3-0: b58b518
Metadata Update from @yizhangid: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)
Login to comment on this ticket.