From 5d227007829f739ac444ab19602e37cfe6dbe9b4 Mon Sep 17 00:00:00 2001 From: "Gerald (Jerry) Carter" Date: Wed, 5 Dec 2007 11:52:35 -0600 Subject: Compile fix to the automount support. Patch from GlaDiaC. (This used to be commit 487ab6e75e8b8d15f2a37e4ba4129eb2475d4c86) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util.c b/source3/lib/util.c index f51761ad7a..f0ea6c8e33 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1384,7 +1384,7 @@ char *automount_lookup(TALLOC_CTX *ctx, const char *user_name) if ((nis_error = yp_get_default_domain(&nis_domain)) != 0) { DEBUG(3, ("YP Error: %s\n", yperr_string(nis_error))); - return last_value; + return NULL; } DEBUG(5, ("NIS Domain: %s\n", nis_domain)); -- cgit