From 53840353e87fa8abf836d13b4a35443733724b7b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 24 Apr 2015 10:24:17 +0200 Subject: [PATCH] param:README: mention to explicitly initialize defaults for special values Signed-off-by: Michael Adam Reviewed-by: Ira Cooper --- lib/param/README | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.11.4.GIT