diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-22 08:35:33 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-22 17:15:12 +0100 |
commit | 752240ccdc4dcdce7a2270ee5544e007c44bcf4d (patch) | |
tree | ffc1326fd18f381a24732b7c6a65e5f1e9ecfe0d /source3/param | |
parent | b2c107ffbcd067ccc42f81a2d0969f7f88b63ae7 (diff) | |
download | samba-752240ccdc4dcdce7a2270ee5544e007c44bcf4d.tar.gz |
s3:param: add "async smb echo handler" option
This will enable an extra forked process that will reply
to SMBecho requests, while the main process is blocked by another
request.
metze
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e94c2702470..76b0d350662 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -360,6 +360,7 @@ struct global { int cups_connection_timeout; char *szSMBPerfcountModule; bool bMapUntrustedToDomain; + bool bAsyncSMBEchoHandler; }; static struct global Globals; @@ -4353,6 +4354,15 @@ static struct parm_struct parm_table[] = { .flags = FLAG_ADVANCED | FLAG_GLOBAL, }, { + .label = "async smb echo handler", + .type = P_BOOL, + .p_class = P_GLOBAL, + .ptr = &Globals.bAsyncSMBEchoHandler, + .special = NULL, + .enum_list = NULL, + .flags = FLAG_ADVANCED | FLAG_GLOBAL, + }, + { .label = "panic action", .type = P_STRING, .p_class = P_GLOBAL, @@ -5701,6 +5711,7 @@ FN_LOCAL_BOOL(lp_dos_filemode, bDosFilemode) FN_LOCAL_BOOL(lp_dos_filetimes, bDosFiletimes) FN_LOCAL_BOOL(lp_dos_filetime_resolution, bDosFiletimeResolution) FN_LOCAL_BOOL(lp_fake_dir_create_times, bFakeDirCreateTimes) +FN_GLOBAL_BOOL(lp_async_smb_echo_handler, &Globals.bAsyncSMBEchoHandler) FN_LOCAL_BOOL(lp_blocking_locks, bBlockingLocks) FN_LOCAL_BOOL(lp_inherit_perms, bInheritPerms) FN_LOCAL_BOOL(lp_inherit_acls, bInheritACLS) |