diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-03 11:23:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:27 -0500 |
commit | 51fc6842277edf25486a48a5318e3570c256ea4e (patch) | |
tree | 53290a88af3526e28d29368a7a39f648b957fda3 /source4/kdc/kdc.h | |
parent | 513d07a8d602053922036fd8137e4a36e44156ff (diff) | |
download | samba-51fc6842277edf25486a48a5318e3570c256ea4e.tar.gz samba-51fc6842277edf25486a48a5318e3570c256ea4e.tar.bz2 samba-51fc6842277edf25486a48a5318e3570c256ea4e.zip |
r7221: Add the start of a KDC service (to be built on a 'libkdc' from a to be
included Heimdal) to Samba4.
Andrew Bartlett
(This used to be commit 51ba3ea60c265b837821b6c3e031dfe229c10d6a)
Diffstat (limited to 'source4/kdc/kdc.h')
-rw-r--r-- | source4/kdc/kdc.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h new file mode 100644 index 0000000000..25b8745bce --- /dev/null +++ b/source4/kdc/kdc.h @@ -0,0 +1,48 @@ +/* + Unix SMB/CIFS implementation. + + KDC structures + + Copyright (C) Andrew Tridgell 2005 + Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#include "system/kerberos.h" +#include <kdc.h> + + +/* + top level context structure for the cldap server +*/ +struct kdc_server { + struct task_server *task; + struct krb5_kdc_configuration *config; +}; + +struct kdc_socket { + struct socket_context *sock; + struct event_context *event_ctx; + + struct kdc_server *kdc; + + /* the fd event */ + struct fd_event *fde; + + /* a queue of outgoing replies */ + struct kdc_reply *send_queue; + +}; |