smbd: Move deadtime default to parameter definition and man page
authorChristof Schmitt <cs@samba.org>
Mon, 29 Apr 2019 18:01:44 +0000 (11:01 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 May 2019 03:12:07 +0000 (03:12 +0000)
commit5ac626e7b0565bf880d1b18a3b414bc67d8606df
tree3f92603bf938dacf5053d885b638cfc1a40b3775
parent2ee72cc6154370ed78bb1113ee0c9896d106d2f8
smbd: Move deadtime default to parameter definition and man page

The code has a default of one week (10080 minutes) if the parameter is
set to 0. Make this the public default of the parameter, instead of
hiding it in the code. This change also has the code match the
documentation that setting this parameter to 0 disables the check.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/smbdotconf/tuning/deadtime.xml
lib/param/loadparm.c
source3/include/local.h
source3/param/loadparm.c
source3/smbd/conn_idle.c