All of lore.kernel.org
 help / color / mirror / Atom feed
* patch: fix for dynamic logging breaking non-sasl build
@ 2007-11-17 12:22 Guillaume Rousse
  2007-11-18  2:21 ` Ian Kent
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Rousse @ 2007-11-17 12:22 UTC (permalink / raw)
  To: autofs

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

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
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

[-- Attachment #2: autofs-5.0.2-dynamic-logging-fixes2.patch --]
[-- Type: text/x-patch, Size: 514 bytes --]

diff -Naur --exclude '*~' autofs-5.0.2/modules/lookup_ldap.c autofs-5.0.2-dynamic-logging-fixes2.patch/modules/lookup_ldap.c
--- autofs-5.0.2/modules/lookup_ldap.c	2007-11-17 12:02:24.000000000 +0100
+++ autofs-5.0.2-dynamic-logging-fixes2.patch/modules/lookup_ldap.c	2007-11-17 12:03:32.000000000 +0100
@@ -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);

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch: fix for dynamic logging breaking non-sasl build
  2007-11-17 12:22 patch: fix for dynamic logging breaking non-sasl build Guillaume Rousse
@ 2007-11-18  2:21 ` Ian Kent
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Kent @ 2007-11-18  2:21 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs

On Sat, 2007-11-17 at 13:22 +0100, Guillaume Rousse wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-18  2:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-17 12:22 patch: fix for dynamic logging breaking non-sasl build Guillaume Rousse
2007-11-18  2:21 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.