mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
make parametic options case insensitive
This is needed as some options are uppercased internally in Samba, such as the idmap config option Without this change it is not possible to set these options via net conf which lowercases options
This commit is contained in:
parent
ac5aaf2900
commit
c10aad9f13
@ -5380,7 +5380,7 @@ static param_opt_struct *get_parametrics(int snum, const char *type, const char
|
||||
}
|
||||
|
||||
while (data) {
|
||||
if (strcmp(data->key, param_key) == 0) {
|
||||
if (strcasecmp(data->key, param_key) == 0) {
|
||||
string_free(¶m_key);
|
||||
return data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user