On Thu, 2013-06-27 at 22:42 -0300, Leonardo Chiquitto wrote: > Hi, > > I'm investigating one segmentation fault report (multiple occurrences) > in automount where the OpenSSL context (using LDAP with TLS) is > clearly corrupted. Reading OpenSSL documentation I found that the > the library needs to be correctly initialized in order to run in a multi- > threaded environment. I also found that *only* the reentrant build of > the OpenLDAP libraries (libldap_r) initialize openssl for multi-threading. > > By default (since commit 04dfd15590a) automount is linked against > libldap (non-reentrant), but I failed to find the reason behind the change. > Could you help me understand why it shouldn't be linked against > libldap_r? That was a long time ago, Jan 2008. Sorry, I don't remember why I committed that change. TBH I always thought the re-entrant version of the library should be used so there must have been a case to justify not using it, I just can't remember what it was. Not a good change log entry either ..... Ian -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html