summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-25 21:27:17 +1000
committerAndrew Tridgell <tridge@samba.org>2008-06-25 21:40:53 +1000
commit927621ba122d9c451bfaac4f2c8ba0e5acbfead3 (patch)
treec8edcd6abf1f81ed5cd4f58a4c9f331406202dd1
parentee35b50cad4a9901721a317a4241db9c077e0682 (diff)
downloadsamba-927621ba122d9c451bfaac4f2c8ba0e5acbfead3.tar.gz
samba-927621ba122d9c451bfaac4f2c8ba0e5acbfead3.tar.bz2
samba-927621ba122d9c451bfaac4f2c8ba0e5acbfead3.zip
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)
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
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(&param_key);
return data;
}