summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/krb5_init_context.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-01-31 13:28:04 -0500
committerSimo Sorce <idra@samba.org>2010-01-31 13:30:31 -0500
commitf77714c8874a5caaca74d8176259604bc8c32117 (patch)
tree49c44d1c141115a72a82a4103e4aeefbc4a41e60 /source4/auth/kerberos/krb5_init_context.h
parentb116d4e5b9ca402743c3ac8b6a37f9a8550f5505 (diff)
downloadsamba-f77714c8874a5caaca74d8176259604bc8c32117.tar.gz
samba-f77714c8874a5caaca74d8176259604bc8c32117.tar.bz2
samba-f77714c8874a5caaca74d8176259604bc8c32117.zip
s4:kdc streamline context initialization
Allow other plugins to init the context without having it try to grab sockets or set samba specific logging.
Diffstat (limited to 'source4/auth/kerberos/krb5_init_context.h')
-rw-r--r--source4/auth/kerberos/krb5_init_context.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.h b/source4/auth/kerberos/krb5_init_context.h
index 3f1425ea92..f9e88ceef8 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,