summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-19 20:09:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:56 -0500
commit8713bb2db74c37c5f4469fe8a726fa78868522b1 (patch)
tree4d26fef72ddfd984059c65827a64333578a6dc81 /source3/libgpo
parentf5ab9ddd760321ed983f0ef3354410e0a05decfc (diff)
downloadsamba-8713bb2db74c37c5f4469fe8a726fa78868522b1.tar.gz
samba-8713bb2db74c37c5f4469fe8a726fa78868522b1.tar.bz2
samba-8713bb2db74c37c5f4469fe8a726fa78868522b1.zip
r24550: Attempt to fix the non-LDAP build
For example host "bigboy" doesn't have it. Günther, please fix it properly and merge to 3_2_0 Thanks, Volker (This used to be commit 0d294267414b12c31afd316c39689984e5047865)
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_ini.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libgpo/gpo_ini.c b/source3/libgpo/gpo_ini.c
index 306d6f9bec..4e0bdf645a 100644
--- a/source3/libgpo/gpo_ini.c
+++ b/source3/libgpo/gpo_ini.c
@@ -145,8 +145,12 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
talloc_set_destructor(ctx, gp_inifile_free_context);
+#ifdef HAVE_LDAP
status = gp_find_file(mem_ctx, flags, unix_path, suffix,
&ini_filename);
+#else
+ status = NT_STATUS_NOT_IMPLEMENTED;
+#endif
if (!NT_STATUS_IS_OK(status)) {
goto failed;