From 927621ba122d9c451bfaac4f2c8ba0e5acbfead3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 25 Jun 2008 21:27:17 +1000 Subject: 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 used to be commit c10aad9f136b7c2ef4809fd8558013ab2ee40cf6) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8f6af68325..9698feb060 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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; } -- cgit