summaryrefslogtreecommitdiff
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
commit0d294267414b12c31afd316c39689984e5047865 (patch)
treeb29d7af9d2e8f8d34e83c87336acc8bf87e291eb
parentd4f442ed9b145990af4db26859663954ddd70926 (diff)
downloadsamba-0d294267414b12c31afd316c39689984e5047865.tar.gz
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
-rw-r--r--source/libgpo/gpo_ini.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/libgpo/gpo_ini.c b/source/libgpo/gpo_ini.c
index 306d6f9becb..4e0bdf645ac 100644
--- a/source/libgpo/gpo_ini.c
+++ b/source/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;