diff options
-rw-r--r-- | nsswitch/libwbclient/tests/wbclient.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/tests/wbclient.c b/nsswitch/libwbclient/tests/wbclient.c index f3f45be561..e2b3794d06 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); |