diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-26 03:30:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-26 03:30:15 +0000 |
commit | 548634915f21f774b7efb06f138c8fb7bc089daa (patch) | |
tree | bea0130227b51f2413f570fb959cc306f6503f3f /source/auth | |
parent | b46f1024c939ee9ecb8deb9c844acbd4b5f109c6 (diff) | |
download | samba-548634915f21f774b7efb06f138c8fb7bc089daa.tar.gz |
Added Kerberos4 support patches from Johan Hedin <johanh@fusion.kth.se>
Jeremy.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/pass_check.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c index edb4c972904..d847407bbb4 100644 --- a/source/auth/pass_check.c +++ b/source/auth/pass_check.c @@ -542,6 +542,8 @@ static BOOL krb5_auth(char *user,char *password) #endif /* KRB5_AUTH */ #ifdef KRB4_AUTH +#include <krb.h> + /******************************************************************* check on Kerberos authentication ********************************************************************/ @@ -555,7 +557,7 @@ static BOOL krb4_auth(char *user,char *password) } (void) slprintf(tkfile, sizeof(tkfile) - 1, "/tmp/samba_tkt_%d", - getpid()); + (int)getpid()); krb_set_tkt_string(tkfile); if (krb_verify_user(user, "", realm, |