From f77714c8874a5caaca74d8176259604bc8c32117 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 31 Jan 2010 13:28:04 -0500 Subject: s4:kdc streamline context initialization Allow other plugins to init the context without having it try to grab sockets or set samba specific logging. --- source4/auth/kerberos/krb5_init_context.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source4/auth/kerberos/krb5_init_context.h') diff --git a/source4/auth/kerberos/krb5_init_context.h b/source4/auth/kerberos/krb5_init_context.h index 3f1425ea92a..f9e88ceef8e 100644 --- a/source4/auth/kerberos/krb5_init_context.h +++ b/source4/auth/kerberos/krb5_init_context.h @@ -24,10 +24,16 @@ struct smb_krb5_context { struct tevent_context; struct loadparm_context; + +krb5_error_code +smb_krb5_init_context_basic(TALLOC_CTX *tmp_ctx, + struct tevent_context *ev, + struct loadparm_context *lp_ctx, + krb5_context *_krb5_context); + krb5_error_code smb_krb5_init_context(void *parent_ctx, struct tevent_context *ev, struct loadparm_context *lp_ctx, struct smb_krb5_context **smb_krb5_context); -void smb_krb5_free_context(struct smb_krb5_context *smb_krb5_context); krb5_error_code smb_krb5_send_and_recv_func(krb5_context context, void *data, -- cgit