diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-12-11 08:31:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:16 -0500 |
commit | 172a8b477eec45b016ddcf0d4b74eba220eaf30b (patch) | |
tree | b9dbdcd90bcdb1cf0a3ccd8d14f07efade45a1f4 /source4/kdc/kdc.h | |
parent | f4f1d37b4843f1c529d72a4d0bb3df71c0e47dcb (diff) | |
download | samba-172a8b477eec45b016ddcf0d4b74eba220eaf30b.tar.gz samba-172a8b477eec45b016ddcf0d4b74eba220eaf30b.tar.xz samba-172a8b477eec45b016ddcf0d4b74eba220eaf30b.zip |
r12179: Allow our KDC to use LDAP to get to the backend database.
To avoid a circular depenency, it is not allowed to use Krb5 as an
authentication mechanism, so this must be removed from the list. An
extension to the credentials system allows this function.
Also remove proto.h use for any of the KDC, and use NTSTATUS returns
in more places.
Andrew Bartlett
(This used to be commit 5f9dddd02c9c821675d2ccd07561a55edcd7f5b4)
Diffstat (limited to 'source4/kdc/kdc.h')
-rw-r--r-- | source4/kdc/kdc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h index 99c419d4d9c..0cf3199c522 100644 --- a/source4/kdc/kdc.h +++ b/source4/kdc/kdc.h @@ -27,8 +27,14 @@ #include "heimdal/lib/hdb/hdb.h" #include "kdc/pac-glue.h" -krb5_error_code hdb_ldb_create(TALLOC_CTX *mem_ctx, - krb5_context context, struct HDB **db, const char *arg); +NTSTATUS hdb_ldb_create(TALLOC_CTX *mem_ctx, + krb5_context context, struct HDB **db, const char *arg); +BOOL kpasswdd_process(struct kdc_server *kdc, + TALLOC_CTX *mem_ctx, + DATA_BLOB *input, + DATA_BLOB *reply, + const char *from, + int src_port); /* top level context structure for the kdc server |