Skip to contentSkip to conversation

patch: fix for dynamic logging breaking non-sasl build

PATCH Guillaume Rousse 2 participants 2 messages Nov 17, 2007 – Nov 18, 2007 Kernel automounter

lore
Share & tools
lore
#0 lore raw

autofs-5.0.2-dynamic-logging.patch breaks non-sasl enabled build by calling autofs_sasl_done unconditonaly in lookup_ldap.c

Attached patch fix this issue

Signature · 3 lines
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62
modules/lookup_ldap.c +2 -0
diff -Naur --exclude '*~' autofs-5.0.2/modules/lookup_ldap.c autofs-5.0.2-dynamic-logging-fixes2.patch/modules/lookup_ldap.c
@@ -579,7 +579,9 @@
 		list_add_tail(&this->list, ctxt->uri);
 	}
 
+#ifdef WITH_SASL
 	autofs_sasl_done(ctxt);
+#endif
 
 	/* Current server failed connect, try the rest */
 	ldap = find_server(logopt, ctxt);

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

maintainer
#1 lore raw
Quoted 4 lines · Guillaume Rousse

autofs-5.0.2-dynamic-logging.patch breaks non-sasl enabled build by calling autofs_sasl_done unconditonaly in lookup_ldap.c

Attached patch fix this issue

Right you are.
Thanks Guillaume.
Ian