mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
added a warning when loading a parameter that is deprecated
This commit is contained in:
parent
e162819054
commit
c8b0041570
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user