From 8713bb2db74c37c5f4469fe8a726fa78868522b1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 19 Aug 2007 20:09:16 +0000 Subject: r24550: Attempt to fix the non-LDAP build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- source3/libgpo/gpo_ini.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/libgpo/gpo_ini.c') 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; -- cgit