samba-cvs.cvs
[Top] [All Lists]

[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0

Subject: [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2990-gc10aad9
From: Andrew Tridgell
Date: Wed, 25 Jun 2008 06:41:15 -0500 CDT
The branch, v3-3-test has been updated
       via  c10aad9f136b7c2ef4809fd8558013ab2ee40cf6 (commit)
      from  ac5aaf29004584d0f1821689eb985d837cda1aa1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit c10aad9f136b7c2ef4809fd8558013ab2ee40cf6
Author: Andrew Tridgell <tridge@xxxxxxxxx>
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 Shared Repository

<Prev in Thread] Current Thread [Next in Thread>
  • [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2990-gc10aad9, Andrew Tridgell <=