summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-17 14:31:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:35 -0500
commit85a44aafef12118d624484d40d5861f88533ea97 (patch)
tree70ad54cfdda2d95e9cdb5a73cfd4e8d05a375d9a /source3/nsswitch
parenta22d8d987c2b6c373d5f7db6f1afa5e701ebfef2 (diff)
downloadsamba-85a44aafef12118d624484d40d5861f88533ea97.tar.gz
samba-85a44aafef12118d624484d40d5861f88533ea97.tar.bz2
samba-85a44aafef12118d624484d40d5861f88533ea97.zip
r14514: Fixing last commit. Thanks Volker.
Guenther (This used to be commit 345d2ab5d399a99f271148cf308271cb7fc2c0ca)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
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))) {