From: Michael Adam Date: Fri, 24 Apr 2015 08:24:17 +0000 (+0200) Subject: param:README: mention to explicitly initialize defaults for special values X-Git-Tag: tevent-0.9.25~631 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53840353e87fa8abf836d13b4a35443733724b7b;p=thirdparty%2Fsamba.git param:README: mention to explicitly initialize defaults for special values Signed-off-by: Michael Adam Reviewed-by: Ira Cooper --- diff --git a/lib/param/README b/lib/param/README index e0b590a44d8..6a53a455c24 100644 --- a/lib/param/README +++ b/lib/param/README @@ -12,6 +12,9 @@ Adding a parameter To add or change an smb.conf option, you only have to modify lib/param/param_table.c and add the documentation to docs-xml/smbdotconf. +If special defaults are needed, the functions loadparm_int() in +lib/param/loadparm.c and/or init_globals() in source3/param/loadparm.c +need to be adapted accordingly. The rest is generated for you.