Use krb5_log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3311 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -24,7 +24,11 @@ pop_log(POP *p, int stat, char *format, ...) | ||||
|         fprintf(p->trace,"%s\n",msgbuf); | ||||
|         fflush(p->trace); | ||||
|     } else { | ||||
| #ifdef KERBEROS | ||||
| 	krb5_log(p->context, p->logf, stat, "%s", msgbuf); | ||||
| #else | ||||
|         syslog (stat,"%s",msgbuf); | ||||
| #endif | ||||
|     } | ||||
|     va_end(ap); | ||||
|  | ||||
|   | ||||
| @@ -253,6 +253,7 @@ typedef struct  {                               /*  POP parameter block */ | ||||
| #endif | ||||
|     krb5_context	context; | ||||
|     krb5_principal	principal;              /*  principal auth as */ | ||||
|     krb5_log_facility*  logf; | ||||
|     int			version;                /*  4 or 5? */ | ||||
|     int			auth_level;		/*  Dont allow cleartext */ | ||||
|     OtpContext		otp_ctx;		/*  OTP context */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson