All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
To: autofs@linux.kernel.org
Subject: patch: fix for dynamic logging breaking non-sasl build
Date: Sat, 17 Nov 2007 13:22:39 +0100	[thread overview]
Message-ID: <473EDD0F.3070705@inria.fr> (raw)

[-- 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

             reply	other threads:[~2007-11-17 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-17 12:22 Guillaume Rousse [this message]
2007-11-18  2:21 ` patch: fix for dynamic logging breaking non-sasl build Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473EDD0F.3070705@inria.fr \
    --to=guillaume.rousse@inria.fr \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.