summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit7097597fd64353f023fae28124bae20e74fd18ed (patch)
treebd047f0e5e121adcb6f76709902aab2154b9d486 /source3/smbd
parentc65bcc26f7dbe608837eea200a99019aefa06a63 (diff)
downloadsamba-7097597fd64353f023fae28124bae20e74fd18ed.tar.gz
samba-7097597fd64353f023fae28124bae20e74fd18ed.tar.bz2
samba-7097597fd64353f023fae28124bae20e74fd18ed.zip
HPUX trusted systems need to use bigcrypt() not crypt()
(This used to be commit 979eaf9e9c4dd58f1371597585d4cd64841febd0)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 185fc68f5a..2176d5dafa 100644
--- a/source3/smbd/password.c
+++ b/source3/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);