HPUX trusted systems need to use bigcrypt() not crypt()
authorAndrew Tridgell <tridge@samba.org>
Tue, 2 Dec 1997 23:27:40 +0000 (23:27 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 2 Dec 1997 23:27:40 +0000 (23:27 +0000)
(This used to be commit 979eaf9e9c4dd58f1371597585d4cd64841febd0)

source3/smbd/password.c

index 185fc68f5a36cbb19a150efbd3aa73c4597311b6..2176d5dafaa250384163b3d83ac6401cc3c22655 100644 (file)
@@ -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);