Red Hat Bugzilla – Bug 298171
Allows autofs to do automount lookups via nscd through LDAP
Last modified: 2008-05-21 10:37:55 EDT
*** Bug 306571 has been marked as a duplicate of this bug. ***
I've done about as much as I can on this now.
We need some customer testing.
Created attachment 300078 [details]
Patch to initialize sasl callbacks unconditionally on autofs LDAP library load
Setting bug back to assigned and blocker=?.
An issue with the change for this bug has been reported
upstream and in Fedora bug 438120. The upstream reporter
tested the patch above and verified that it fixed the
problem. Unfortunately, the reporter of 438120 has not
responded but I believe I understand the source of the
When the autofs LDAP lookup shared library is dlopened
and subsequently dlclosed the library may not actually be
unloaded prior to the next dlopen. If it also happens that
the dependent SASL library is unloaded between this dlcose
and the following dlopen the sasl library callback functions
are not initialized since the autofs LDAP lookup library thinks
this has already been done (the library data segment still
If the situation above happens a SEGV occurs when the SASL
library tries to use the callback functions.
Part of the changes made for the implementation of this bug
require that autofs be sensitive to configuration changes and
consequently the autofs LDAP lookup library can be closed and
re-opened as part of this process which leads to the situation
Correction committed and package built.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.