1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

fix handling of parametric smb.conf parms with embedded spaces

(This used to be commit dad7d285ab)
This commit is contained in:
Andrew Tridgell 2003-08-15 19:09:52 +00:00
parent de10237719
commit dbe7b0c402

View File

@ -3011,10 +3011,13 @@ static BOOL lp_do_parameter_parametric(int snum, const char *pszParmName, const
struct param_opt *paramo, *data;
char *name;
while (isspace(*pszParmName)) {
pszParmName++;
}
name = strdup(pszParmName);
if (!name) return False;
string_sub(name, " ", "", 0);
strlower(name);
if (snum < 0) {