The branch, v3-2-ctdb has been updated
       via  3d3c6b769f88448fc0ea9697ab424de21c66652f (commit)
      from  2e501de00f4b7415a0cfbfc7993096be8e585ca7 (commit)

http://gitweb.samba.org/?p=tridge/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 3d3c6b769f88448fc0ea9697ab424de21c66652f
Author: Andrew Tridgell <[EMAIL PROTECTED]>
Date:   Wed Jun 25 21:27:17 2008 +1000

    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

-----------------------------------------------------------------------

Summary of changes:
 source/param/loadparm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 8f6af68..9698feb 100644
--- a/source/param/loadparm.c
+++ b/source/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;
                }


-- 
SAMBA-CTDB repository

Reply via email to