svn commit: samba r24550 - in branches/SAMBA_3_2/source/libgpo: .

vlendec at samba.org vlendec at samba.org
Sun Aug 19 20:09:17 GMT 2007


Author: vlendec
Date: 2007-08-19 20:09:16 +0000 (Sun, 19 Aug 2007)
New Revision: 24550

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24550

Log:
Attempt to fix the non-LDAP build

For example host "bigboy" doesn't have it.

G?\195?\188nther, please fix it properly and merge to 3_2_0

Thanks,

Volker

Modified:
   branches/SAMBA_3_2/source/libgpo/gpo_ini.c


Changeset:
Modified: branches/SAMBA_3_2/source/libgpo/gpo_ini.c
===================================================================
--- branches/SAMBA_3_2/source/libgpo/gpo_ini.c	2007-08-19 20:00:43 UTC (rev 24549)
+++ branches/SAMBA_3_2/source/libgpo/gpo_ini.c	2007-08-19 20:09:16 UTC (rev 24550)
@@ -145,8 +145,12 @@
 
 	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;



More information about the samba-cvs mailing list