more roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1637 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -70,6 +70,7 @@ RCSID("$Id$");
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <roken.h>
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "auth.h"
|
||||
|
@@ -48,6 +48,7 @@ RCSID("$Id$");
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "misc-proto.h"
|
||||
#include <roken.h>
|
||||
|
||||
#include <des.h>
|
||||
|
||||
|
@@ -69,6 +69,7 @@ RCSID("$Id$");
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <roken.h>
|
||||
|
||||
/*
|
||||
* These functions pointers point to the current routines
|
||||
|
@@ -307,7 +307,10 @@ kerberos4_is(Authenticator *ap, unsigned char *data, int cnt)
|
||||
struct passwd *pw = getpwnam(UserNameRequested);
|
||||
|
||||
if(pw){
|
||||
snprintf(ts, sizeof(ts), "%s%u", TKT_ROOT, pw->pw_uid);
|
||||
snprintf(ts, sizeof(ts),
|
||||
"%s%u",
|
||||
TKT_ROOT,
|
||||
(unsigned)pw->pw_uid);
|
||||
setenv("KRBTKFILE", ts, 1);
|
||||
}
|
||||
Data(ap, KRB_ACCEPT, NULL, 0);
|
||||
|
@@ -57,7 +57,7 @@ RCSID("$Id$");
|
||||
#include "externs.h"
|
||||
#include "types.h"
|
||||
#include "general.h"
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#define strip(x) ((my_want_state_is_wont(TELOPT_BINARY)) ? ((x)&0x7f) : (x))
|
||||
|
||||
|
@@ -59,6 +59,7 @@ RCSID("$Id$");
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <roken.h>
|
||||
|
||||
#include "general.h"
|
||||
|
||||
|
Reference in New Issue
Block a user