summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 48fd7cbe24..277e3a592e 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -961,7 +961,7 @@ Hence we make a direct return to avoid a second chance!!!
#endif
#ifdef HPUX_10_TRUSTED
- return(bigcrypt(password,this_salt,this_crypted));
+ return(strcmp(bigcrypt(password,this_salt),this_crypted) == 0);
#endif
#ifdef NO_CRYPT