diff options
author | Jeremy Allison <jra@samba.org> | 1998-12-10 23:52:34 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-12-10 23:52:34 +0000 |
commit | bd61029e2ad2cec7751a251fccd2dbf709175fc9 (patch) | |
tree | 2de1a80e057dc126c004293642e713e3cd6fbce6 /source/auth | |
parent | 4f9d42ea67814387d9f3ee9c7b0a672ea000b70c (diff) | |
download | samba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.tar.gz samba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.tar.xz samba-bd61029e2ad2cec7751a251fccd2dbf709175fc9.zip |
HPUX fix. This looks like a big change but isn't actually, most of the
changes are bzero -> memset as the compiler on HPUX is very picky about
bzero (probably a strange define).
The significant changes are in configure.in, to fix the HPUX shadow.h
problem and also move the large file support to the correct place.
passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf.
tests/trapdoor.c: Fix to use setresuid and setresgid if defined.
The rest of the changes are bzero -> memset.
Jeremy.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/pass_check.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c index f6cfdae6c11..377638cf4c1 100644 --- a/source/auth/pass_check.c +++ b/source/auth/pass_check.c @@ -136,6 +136,10 @@ static BOOL pam_auth(char *user,char *password) #ifdef WITH_AFS + +#include <afs/stds.h> +#include <afs/kautils.h> + /******************************************************************* check on AFS authentication ********************************************************************/ @@ -165,6 +169,9 @@ static BOOL afs_auth(char *user,char *password) #ifdef WITH_DFS +#include <dce/dce_error.h> +#include <dce/sec_login.h> + /***************************************************************** This new version of the DFS_AUTH code was donated by Karsten Muuss <muuss@or.uni-bonn.de>. It fixes the following problems with the @@ -467,6 +474,9 @@ void dfs_unlogin(void) #endif #ifdef KRB5_AUTH + +#include <krb5.h> + /******************************************************************* check on Kerberos authentication ********************************************************************/ |