From 85a44aafef12118d624484d40d5861f88533ea97 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 17 Mar 2006 14:31:05 +0000 Subject: r14514: Fixing last commit. Thanks Volker. Guenther (This used to be commit 345d2ab5d399a99f271148cf308271cb7fc2c0ca) --- source3/nsswitch/winbindd_pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 8b400fc1f1..a010d51caf 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -1657,7 +1657,7 @@ void winbindd_pam_chauthtok(struct winbindd_cli_state *state) got_info = True; /* only fallback when the chgpasswd3 call is not supported */ - } else if ((result.v == 0x1c010002) || + } else if ((NT_STATUS_EQUAL(result, NT_STATUS(0x1c010002))) || (NT_STATUS_EQUAL(result, NT_STATUS_NOT_SUPPORTED)) || (NT_STATUS_EQUAL(result, NT_STATUS_NOT_IMPLEMENTED))) { -- cgit