From e425a17cb4d05d7f98dac9d9ab868bab76eced98 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 11 Oct 2011 15:38:43 +0200 Subject: lib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaults If lpcfg_dns_update_command() returns NULL 'samba' segfaults on startup. metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue Oct 11 17:25:19 CEST 2011 on sn-devel-104 --- lib/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 54ef0404da..880b5217f4 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -3369,7 +3369,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "winbind separator", "\\"); lpcfg_do_global_parameter(lp_ctx, "winbind sealed pipes", "True"); lpcfg_do_global_parameter(lp_ctx, "winbindd socket directory", dyn_WINBINDD_SOCKET_DIR); -#if _SAMBA_BUILD >= 4 +#if _SAMBA_BUILD_ >= 4 lpcfg_do_global_parameter(lp_ctx, "winbindd privileged socket directory", dyn_WINBINDD_PRIVILEGED_SOCKET_DIR); lpcfg_do_global_parameter(lp_ctx, "ntp signd socket directory", dyn_NTP_SIGND_SOCKET_DIR); lpcfg_do_global_parameter_var(lp_ctx, "dns update command", "%s/samba_dnsupdate", dyn_SCRIPTSBINDIR); -- cgit