summaryrefslogtreecommitdiffstats
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2007-12-05 11:52:35 -0600
committerGerald (Jerry) Carter <jerry@samba.org>2007-12-05 11:52:35 -0600
commit5d227007829f739ac444ab19602e37cfe6dbe9b4 (patch)
treea8aac9ae0d3fd55d0ba4a396dadc9f9163c8a0eb /source3/lib/util.c
parentbf13b9f180caf95d88a6c282cbd12c73a9cbe338 (diff)
downloadsamba-5d227007829f739ac444ab19602e37cfe6dbe9b4.tar.gz
samba-5d227007829f739ac444ab19602e37cfe6dbe9b4.tar.xz
samba-5d227007829f739ac444ab19602e37cfe6dbe9b4.zip
Compile fix to the automount support. Patch from GlaDiaC.
(This used to be commit 487ab6e75e8b8d15f2a37e4ba4129eb2475d4c86)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index f51761ad7a6..f0ea6c8e333 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));