1
0
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:
Andrew Tridgell 2008-06-25 21:27:17 +10:00
parent ac5aaf2900
commit c10aad9f13

View File

@ -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(&param_key);
return data;
}