fixes for krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3609 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -117,7 +117,9 @@
|
||||
#define K_LOCK_UN LOCK_UN /* Unlock */
|
||||
#endif
|
||||
#endif
|
||||
#ifdef KRB5
|
||||
#include <krb5.h>
|
||||
#endif
|
||||
|
||||
#define MAXUSERNAMELEN 65
|
||||
#define MAXDROPLEN 64
|
||||
@@ -258,9 +260,11 @@ typedef struct { /* POP parameter block */
|
||||
#ifdef KRB4
|
||||
AUTH_DAT kdata;
|
||||
#endif
|
||||
#ifdef KRB5
|
||||
krb5_context context;
|
||||
krb5_principal principal; /* principal auth as */
|
||||
krb5_log_facility* logf;
|
||||
#endif
|
||||
int version; /* 4 or 5? */
|
||||
int auth_level; /* Dont allow cleartext */
|
||||
OtpContext otp_ctx; /* OTP context */
|
||||
|
Reference in New Issue
Block a user