2 Unix SMB/CIFS implementation.
4 PAC Glue between Samba and the KDC
6 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 struct hdb_ldb_private {
25 struct ldb_context *samdb;
26 struct ldb_message *msg;
27 struct ldb_message *realm_ref_msg;
28 hdb_entry_ex *entry_ex;
31 krb5_error_code hdb_ldb_authz_data_as_req(krb5_context context, struct hdb_entry_ex *entry_ex,
32 METHOD_DATA* pa_data_seq,
34 EncryptionKey *tgtkey,
35 EncryptionKey *sessionkey,
36 AuthorizationData **out);
38 krb5_error_code hdb_ldb_authz_data_tgs_req(krb5_context context, struct hdb_entry_ex *entry_ex,
39 krb5_principal client,
40 AuthorizationData *in,
42 EncryptionKey *tgtkey,
43 EncryptionKey *servicekey,
44 EncryptionKey *sessionkey,
45 AuthorizationData **out);
46 krb5_error_code hdb_ldb_check_client_access(krb5_context context, hdb_entry_ex *entry_ex,
47 HostAddresses *addresses);