summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-02 23:27:40 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-02 23:27:40 +0000
commit979eaf9e9c4dd58f1371597585d4cd64841febd0 (patch)
tree0dc7d2230750c50e83766650943064a4b032ef2e
parentd55df52487ca6786f1635276b2787857a772219a (diff)
downloadsamba-979eaf9e9c4dd58f1371597585d4cd64841febd0.tar.gz
samba-979eaf9e9c4dd58f1371597585d4cd64841febd0.tar.xz
samba-979eaf9e9c4dd58f1371597585d4cd64841febd0.zip
HPUX trusted systems need to use bigcrypt() not crypt()
-rw-r--r--source/smbd/password.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 185fc68f5a3..2176d5dafaa 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -781,6 +781,10 @@ Hence we make a direct return to avoid a second chance!!!
return(linux_bigcrypt(password,this_salt,this_crypted));
#endif
+#ifdef HPUX_10_TRUSTED
+ return(bigcrypt(password,this_salt,this_crypted));
+#endif
+
#ifdef NO_CRYPT
DEBUG(1,("Warning - no crypt available\n"));
return(False);