[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Thu Jul 8 08:00:20 MDT 2010


The branch, master has been updated
       via  309ad2b... s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
      from  10c60f2... Added a test to prove by default users can change each other's pass if the old is known

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


- Log -----------------------------------------------------------------
commit 309ad2b08f2964c30fd71af027b7c94f5d761e4a
Author: Günther Deschner <gd at samba.org>
Date:   Thu Jul 8 15:58:12 2010 +0200

    s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
    
    Guenther

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

Summary of changes:
 nsswitch/libwbclient/tests/wbclient.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/libwbclient/tests/wbclient.c b/nsswitch/libwbclient/tests/wbclient.c
index f3f45be..e2b3794 100644
--- a/nsswitch/libwbclient/tests/wbclient.c
+++ b/nsswitch/libwbclient/tests/wbclient.c
@@ -601,6 +601,11 @@ static bool test_wbc_change_password(struct torture_context *tctx)
 
 	struct wbcChangePasswordParams params;
 
+	if (oldpass == NULL) {
+		torture_skip(tctx,
+			"skipping wbcChangeUserPassword test as old password cannot be retrieved\n");
+	}
+
 	ZERO_STRUCT(params);
 
 	E_md4hash(oldpass, old_nt_hash);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list