From: "Lan Yixun (dlan)" <dennis.yxun@xxxxxxxxx> automount[10812]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: parse_ldap_config) --- Gentoo Bugs: https://bugs.gentoo.org/show_bug.cgi?id=381315 Signed-off-by: Lan Yixun (dlan) <dennis.yxun@xxxxxxxxx> --- modules/lookup_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c index a2bfafd..b8970a6 100644 --- a/modules/lookup_ldap.c +++ b/modules/lookup_ldap.c @@ -1484,6 +1484,7 @@ int lookup_init(const char *mapfmt, int argc, const char *const *argv, void **co } } +#ifdef WITH_SASL /* * First, check to see if a preferred authentication method was * specified by the user. parse_ldap_config will return error @@ -1496,7 +1497,6 @@ int lookup_init(const char *mapfmt, int argc, const char *const *argv, void **co return 1; } -#ifdef WITH_SASL /* Init the sasl callbacks */ if (!autofs_sasl_client_init(LOGOPT_NONE)) { error(LOGOPT_ANY, "failed to init sasl client"); -- 1.8.2.1 -- 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