Last change
on this file was 370, checked in by Herwig Bauernfeind, 16 years ago |
Update Samba 3.3 to 3.3.10 (source)
|
File size:
1.2 KB
|
Line | |
---|
1 | /*
|
---|
2 | * Unix SMB/CIFS implementation.
|
---|
3 | * libnet Support
|
---|
4 | * Copyright (C) Guenther Deschner 2008
|
---|
5 | *
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License as published by
|
---|
8 | * the Free Software Foundation; either version 3 of the License, or
|
---|
9 | * (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This program is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | * GNU General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU General Public License
|
---|
17 | * along with this program; if not, see <http://www.gnu.org/licenses/>.
|
---|
18 | */
|
---|
19 |
|
---|
20 | #include "smb_krb5.h"
|
---|
21 |
|
---|
22 | #ifdef HAVE_KRB5
|
---|
23 |
|
---|
24 | struct libnet_keytab_entry {
|
---|
25 | const char *name;
|
---|
26 | const char *principal;
|
---|
27 | DATA_BLOB password;
|
---|
28 | uint32_t kvno;
|
---|
29 | krb5_enctype enctype;
|
---|
30 | };
|
---|
31 |
|
---|
32 | struct libnet_keytab_context {
|
---|
33 | krb5_context context;
|
---|
34 | krb5_keytab keytab;
|
---|
35 | const char *keytab_name;
|
---|
36 | ADS_STRUCT *ads;
|
---|
37 | const char *dns_domain_name;
|
---|
38 | uint8_t zero_buf[16];
|
---|
39 | uint32_t count;
|
---|
40 | struct libnet_keytab_entry *entries;
|
---|
41 | bool clean_old_entries;
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif /* HAVE_KRB5 */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.