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

[SCM] Samba Shared Repository - branch master updated

Subject: [SCM] Samba Shared Repository - branch master updated
From: Matthias Dieter Wallnöfer
Date: Fri, 5 Mar 2010 02:42:28 -0600 CST
The branch, master has been updated
       via  12ae059... s4:torture/rpc/samr.c - add some decision possibility 
constants to some switch
       via  ce82f91... s4:torture/rpc/samr.c - make some argument of function 
"test_SamLogon_with_creds" constant
       via  bfd31db... s4:torture/winbind/struct_based.c - fix up 
(un)signedness of a function argument
      from  2e16378... s4-pvfs: log more error conditions in NTVFS backend

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 12ae05939ff681b3d11b8eea85adf47a49766bd1
Author: Matthias Dieter Wallnöfer <mwallnoefer@xxxxxxxx>
Date:   Fri Mar 5 08:50:08 2010 +0100

    s4:torture/rpc/samr.c - add some decision possibility constants to some 
switch
    
    At the moment nothing is done when the enumeration variable is set to one of
    those constants as before. This is only to quite nasty warnings.

commit ce82f91614c569c3e9349ba877de326f3e78fb3b
Author: Matthias Dieter Wallnöfer <mwallnoefer@xxxxxxxx>
Date:   Fri Mar 5 08:49:25 2010 +0100

    s4:torture/rpc/samr.c - make some argument of function 
"test_SamLogon_with_creds" constant
    
    This to quiet warnings.

commit bfd31db9a9ea167650b109362f3a03cb64ff774e
Author: Matthias Dieter Wallnöfer <mwallnoefer@xxxxxxxx>
Date:   Fri Mar 5 08:47:48 2010 +0100

    s4:torture/winbind/struct_based.c - fix up (un)signedness of a function 
argument
    
    Otherwise always a warning is generated.

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

Summary of changes:
 source4/torture/rpc/samr.c             |    5 ++++-
 source4/torture/winbind/struct_based.c |    3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 13a56f0..7fa08d7 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -2855,7 +2855,7 @@ static bool test_SamLogon_with_creds(struct 
torture_context *tctx,
                                     struct dcerpc_pipe *p,
                                     struct cli_credentials *machine_creds,
                                     const char *acct_name,
-                                    char *password,
+                                    const char *password,
                                     NTSTATUS expected_samlogon_result,
                                     bool interactive)
 {
@@ -4695,6 +4695,9 @@ static bool test_user_ops(struct dcerpc_pipe *p,
                break;
        }
        case TORTURE_SAMR_OTHER:
+       case TORTURE_SAMR_MANY_ACCOUNTS:
+       case TORTURE_SAMR_MANY_GROUPS:
+       case TORTURE_SAMR_MANY_ALIASES:
                /* We just need the account to exist */
                break;
        }
diff --git a/source4/torture/winbind/struct_based.c 
b/source4/torture/winbind/struct_based.c
index 5a621bc..99b0828 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -636,7 +636,8 @@ static bool torture_winbind_struct_list_users(struct 
torture_context *torture)
        return true;
 }
 
-static bool get_group_list(struct torture_context *torture, int *num_entries,
+static bool get_group_list(struct torture_context *torture,
+                          unsigned int *num_entries,
                           char ***groups)
 {
        struct winbindd_request req;


-- 
Samba Shared Repository

<Prev in Thread] Current Thread [Next in Thread>