diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-24 14:57:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:02:27 -0500 |
commit | 40c5a1d99fba2144fc3b5d4d8ed5959a269600ca (patch) | |
tree | 886aeb4afd4ed010aa3f562d3b6b90909054ea3c /source4/param | |
parent | 62e58ea7180e265ffe79b998e7488f20909d3fa0 (diff) | |
download | samba-40c5a1d99fba2144fc3b5d4d8ed5959a269600ca.tar.gz samba-40c5a1d99fba2144fc3b5d4d8ed5959a269600ca.tar.bz2 samba-40c5a1d99fba2144fc3b5d4d8ed5959a269600ca.zip |
r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: transports.
ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets.
(This used to be commit b15cfbe2512961a199ecb069730d9a19787579f5)
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 397d131d75..59e6fa911a 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -93,6 +93,7 @@ typedef struct char **smb_ports; char *dos_charset; char *unix_charset; + char *ncalrpc_dir; char *display_charset; char *szPrintcapname; char *szLockDir; @@ -505,6 +506,7 @@ static struct parm_struct parm_table[] = { {"dos charset", P_STRING, P_GLOBAL, &Globals.dos_charset, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, {"unix charset", P_STRING, P_GLOBAL, &Globals.unix_charset, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, + {"ncalrpc dir", P_STRING, P_GLOBAL, &Globals.ncalrpc_dir, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, {"display charset", P_STRING, P_GLOBAL, &Globals.display_charset, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, {"comment", P_STRING, P_LOCAL, &sDefault.comment, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT | FLAG_DEVELOPER}, {"path", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT | FLAG_DEVELOPER}, @@ -916,6 +918,8 @@ static void init_globals(void) do_parameter("pid directory", dyn_PIDDIR); do_parameter("lock dir", dyn_LOCKDIR); + do_parameter("ncalrpc dir", dyn_NCALRPCDIR); + do_parameter("socket address", "0.0.0.0"); do_parameter_var("server string", "Samba %s", SAMBA_VERSION_STRING); @@ -1113,6 +1117,7 @@ FN_GLOBAL_STRING(lp_private_dir, &Globals.szPrivateDir) FN_GLOBAL_STRING(lp_serverstring, &Globals.szServerString) FN_GLOBAL_STRING(lp_printcapname, &Globals.szPrintcapname) FN_GLOBAL_STRING(lp_lockdir, &Globals.szLockDir) +FN_GLOBAL_STRING(lp_ncalrpc_dir, &Globals.ncalrpc_dir) FN_GLOBAL_STRING(lp_piddir, &Globals.szPidDir) FN_GLOBAL_LIST(lp_dcerpc_endpoint_servers, &Globals.dcerpc_ep_servers) FN_GLOBAL_LIST(lp_server_services, &Globals.server_services) |