summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 6056187066..f6c5769718 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1878,6 +1878,11 @@ BOOL lp_do_parameter(int snum, char *pszParmName, char *pszParmValue)
return(True);
}
+ if (parm_table[parmnum].flags & FLAG_DEPRECATED) {
+ DEBUG(1,("WARNING: The \"%s\"option is deprecated\n",
+ pszParmName));
+ }
+
def_ptr = parm_table[parmnum].ptr;
/* we might point at a service, the default service or a global */