From b053652d490c8b37084797a64f14cdd44ff82578 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 26 Sep 1998 03:30:15 +0000 Subject: Added Kerberos4 support patches from Johan Hedin Jeremy. (This used to be commit 548634915f21f774b7efb06f138c8fb7bc089daa) --- source3/passdb/pass_check.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/passdb') diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c index edb4c97290..d847407bbb 100644 --- a/source3/passdb/pass_check.c +++ b/source3/passdb/pass_check.c @@ -542,6 +542,8 @@ static BOOL krb5_auth(char *user,char *password) #endif /* KRB5_AUTH */ #ifdef KRB4_AUTH +#include + /******************************************************************* 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, -- cgit