summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpo_ini.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-20 09:47:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:07 -0500
commit18e6f9c6aae5c63596a8d6d96bac1942290513fe (patch)
treecdf87155aee85e227da0240e60204102d9a743d9 /source3/libgpo/gpo_ini.c
parent987d7010f827464191a9f29cdc7a72591c6b806b (diff)
downloadsamba-18e6f9c6aae5c63596a8d6d96bac1942290513fe.tar.gz
samba-18e6f9c6aae5c63596a8d6d96bac1942290513fe.tar.bz2
samba-18e6f9c6aae5c63596a8d6d96bac1942290513fe.zip
r24573: Fix build without LDAP. Thanks Volker for pointing this out.
Guenther (This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
Diffstat (limited to 'source3/libgpo/gpo_ini.c')
-rw-r--r--source3/libgpo/gpo_ini.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/libgpo/gpo_ini.c b/source3/libgpo/gpo_ini.c
index 4e0bdf645a..306d6f9bec 100644
--- a/source3/libgpo/gpo_ini.c
+++ b/source3/libgpo/gpo_ini.c
@@ -145,12 +145,8 @@ 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;