Created attachment 285139 [details] Output of emerge --info I built autofs-5.0.6-r1 with USE="ldap -hesiod -sasl". When I start the automount daemon, I get the following error in messages: automount[10812]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: parse_ldap_config) The automounting of directories didn't work, as the mount information is located in an ldap repository. I downgraded to autofs-5.0.5-r4 and everything worked again.
/etc/conf.d/autofs: TIMEOUT=300 BROWSE_MODE="no" MOUNT_NFS_DEFAULT_PROTOCOL=3 MAP_OBJECT_CLASS="automountMap" ENTRY_OBJECT_CLASS="automount" MAP_ATTRIBUTE="ou" ENTRY_ATTRIBUTE="cn" VALUE_ATTRIBUTE="automountInformation" AUTH_CONF_FILE="/etc/autofs/autofs_ldap_auth.conf" USE_MISC_DEVICE="yes" OPTIONS="-O vers=3,tcp" /etc/autofs/autofs_ldap_auth.conf: <?xml version="1.0" ?> <autofs_ldap_sasl_conf usetls="no" tlsrequired="no" authrequired="no" />
I'm having the same problem here after updating to autofs-5.0.6-r1 After Downgrading to 5.0.5-r4 it works again. Our autofs config file doesn't specify _CLASSes, instead it lets automount auto-detect the format (autmountMap too)
(In reply to comment #2) > I'm having the same problem here after updating to autofs-5.0.6-r1 > After Downgrading to 5.0.5-r4 it works again. > Our autofs config file doesn't specify _CLASSes, instead it lets automount > auto-detect the format (autmountMap too) I have not access to a LDAP system, so I cannot test this myself. I am sorry that you got hit by this. Would you please test whether autofs-5.0.5-r5 is still working or wheter this version is already broken and report back?
(In reply to comment #3) > (In reply to comment #2) > > I have not access to a LDAP system, so I cannot test this myself. I am sorry > that you got hit by this. Would you please test whether autofs-5.0.5-r5 is > still working or wheter this version is already broken and report back? I have found the cause for this so you do not need to test autofs-5.0.5-r5. If I have made a patch, Iwill attach it here to be tested.
Created attachment 285765 [details, diff] Revert upstream patch introducing this breakage I've sent an email to upstream's mailing list about this. @Peter: please let me know about how to proceed with this.
This just bit one of my old contacts too. dustin: Does your patch still allow it to work for the SASL users as well as the non-SASL users? stefaan: can we get this into the tree meanwhile?
(In reply to comment #6) > This just bit one of my old contacts too. > > dustin: > Does your patch still allow it to work for the SASL users as well as the > non-SASL users? SASL users are not affected by this because then no code is excluded by #ifdef WITH_SASL wrappings. The patch does only revert an upstream patch applied later than 5.0.5-r4, which has been reported to be working. I think reverting this patch is a "hotfix" until upstream comes up with a full patch for this. My email to upstream seems to got lost (it was to kernel.org which was down soon after sending), I will resend it today.
Ok, I've commited fix. Martin could you check 5.0.6-r2 and if it works for you we'll start fast stabilization. Thanks.
Hello, This may not be adding anything useful to dicussion but I am having the issue with autofs on gentoo amd64, Installed versions: 5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl) If you are waiting for someone to test this patch, I will be happy to test it but I am not aware how to do it. If you can give me exact instructions I promise I will get back to you as soon as possible.
(In reply to comment #9) > Hello, > > This may not be adding anything useful to dicussion but I am having the issue > with autofs on gentoo amd64, > > Installed versions: 5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl) > > If you are waiting for someone to test this patch, I will be happy to test it > but I am not aware how to do it. If you can give me exact instructions I > promise I will get back to you as soon as possible. Wait one hour until autofs-5.0.6-r2 hits the rsync servers and then sync. Just install autofs-5.0.6 afterwards and see whether this issue is gone and report back. Thank you for your help.
(In reply to comment #10) > (In reply to comment #9) > > Hello, > > > > This may not be adding anything useful to dicussion but I am having the issue > > with autofs on gentoo amd64, > > > > Installed versions: 5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl) > > > > If you are waiting for someone to test this patch, I will be happy to test it > > but I am not aware how to do it. If you can give me exact instructions I > > promise I will get back to you as soon as possible. > Wait one hour until autofs-5.0.6-r2 hits the rsync servers and then sync. Just > install autofs-5.0.6 afterwards and see whether this issue is gone and report > back. > Thank you for your help. Thanks. You said one hour but it still isn't there.
(In reply to comment #11) > Thanks. You said one hour but it still isn't there. It should be now. Remote console hanged due to networking and I've noticed this morning.
(In reply to comment #8) > Ok, I've commited fix. Martin could you check 5.0.6-r2 and if it works for you > we'll start fast stabilization. Thanks. It works here. Thanks!
Thank you! Resolved. Stabilization will be handled in bug 379569.