param: Add default for winbindd privileged socket directory to s3 loadparm
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jan 2014 00:45:33 +0000 (13:45 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:44 +0000 (17:26 +1300)
(note that this parameter is only used in the source4 winbindd code at this time)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/param/loadparm.c

index 46eec1dce03df01db4dc4d8607576165d87a36f5..5ec2c0010c194e76ce3e4d8113246ba936ae3772 100644 (file)
@@ -1055,6 +1055,8 @@ static void init_globals(bool reinit_globals)
 
        string_set(&Globals.ntp_signd_socket_directory, get_dyn_NTP_SIGND_SOCKET_DIR());
 
+       string_set(&Globals.winbindd_privileged_socket_directory, get_dyn_WINBINDD_PRIVILEGED_SOCKET_DIR());
+
        /* Now put back the settings that were set with lp_set_cmdline() */
        apply_lp_set_cmdline();
 }