new include files.
new fields in `POP' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2826 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <protos.h>
|
|
||||||
#define UIDL
|
#define UIDL
|
||||||
#define XOVER
|
#define XOVER
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
@@ -83,6 +82,9 @@
|
|||||||
#ifdef HAVE_SYS_SELECT_H
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
|
#include <sys/param.h>
|
||||||
|
#endif
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#ifdef SOCKS
|
#ifdef SOCKS
|
||||||
@@ -91,11 +93,13 @@
|
|||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <roken.h>
|
#include <roken.h>
|
||||||
|
#include <getarg.h>
|
||||||
|
|
||||||
#define KERBEROS
|
#define KERBEROS
|
||||||
|
|
||||||
#ifdef KERBEROS
|
#ifdef KRB4
|
||||||
#include <krb.h>
|
#include <krb.h>
|
||||||
|
#include <prot.h>
|
||||||
#else
|
#else
|
||||||
/* Portable file locking */
|
/* Portable file locking */
|
||||||
#define k_flock(fd, operation) flock((fd), (operation))
|
#define k_flock(fd, operation) flock((fd), (operation))
|
||||||
@@ -104,6 +108,7 @@
|
|||||||
#define K_LOCK_NB LOCK_NB /* Don't block when locking */
|
#define K_LOCK_NB LOCK_NB /* Don't block when locking */
|
||||||
#define K_LOCK_UN LOCK_UN /* Unlock */
|
#define K_LOCK_UN LOCK_UN /* Unlock */
|
||||||
#endif
|
#endif
|
||||||
|
#include <krb5.h>
|
||||||
|
|
||||||
#define MAXUSERNAMELEN 65
|
#define MAXUSERNAMELEN 65
|
||||||
#define MAXDROPLEN 64
|
#define MAXDROPLEN 64
|
||||||
@@ -240,9 +245,12 @@ typedef struct { /* POP parameter block */
|
|||||||
int parm_count; /* Number of parameters in
|
int parm_count; /* Number of parameters in
|
||||||
parsed list */
|
parsed list */
|
||||||
int kerberosp; /* Using KPOP? */
|
int kerberosp; /* Using KPOP? */
|
||||||
#ifdef KERBEROS
|
#ifdef KRB4
|
||||||
AUTH_DAT kdata;
|
AUTH_DAT kdata;
|
||||||
#endif
|
#endif
|
||||||
|
krb5_context context;
|
||||||
|
krb5_principal principal; /* principal auth as */
|
||||||
|
int version; /* 4 or 5? */
|
||||||
int auth_level; /* Dont allow cleartext */
|
int auth_level; /* Dont allow cleartext */
|
||||||
OtpContext otp_ctx; /* OTP context */
|
OtpContext otp_ctx; /* OTP context */
|
||||||
} POP;
|
} POP;
|
||||||
|
Reference in New Issue
Block a user