diff options
author | Simo Sorce <idra@samba.org> | 2012-04-20 13:14:30 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-04-23 16:40:05 -0400 |
commit | 110dad8c9eb95e6729e589b52ef204d369803bdb (patch) | |
tree | 89703746eb0c7f86efbd70c92d18acd6b7b3b5d9 /source4/kdc/kdc.c | |
parent | 090f9072da6974b506901547c0091e3e1b8a11cc (diff) | |
download | samba-110dad8c9eb95e6729e589b52ef204d369803bdb.tar.gz samba-110dad8c9eb95e6729e589b52ef204d369803bdb.tar.xz samba-110dad8c9eb95e6729e589b52ef204d369803bdb.zip |
Make krb5 context initialization not heimdal specific
Turn the logging data to an opaque pointer.
Ifdef code and use MIT logging function when built against system MIT.
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r-- | source4/kdc/kdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index d1ce527b24..5424d213e8 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -932,7 +932,7 @@ static void kdc_task_init(struct task_server *task) return; } - kdc->config->logf = kdc->smb_krb5_context->logf; + kdc->config->logf = (krb5_log_facility *)kdc->smb_krb5_context->pvt_log_data; kdc->config->db = talloc(kdc, struct HDB *); if (!kdc->config->db) { task_server_terminate(task, "kdc: out of memory", true); |