s3:libsmb/ntlmssp: an empty string should mean no password
[Samba/gebeck_regimport.git] / lib / replace / system / kerberos.h
blob7762d4be46910f7b9d285c9da8b7da6d0f738a29
1 #ifndef _system_kerberos_h
2 #define _system_kerberos_h
4 /*
5 Unix SMB/CIFS implementation.
7 kerberos system include wrappers
9 Copyright (C) Andrew Tridgell 2004
11 ** NOTE! The following LGPL license applies to the replace
12 ** library. This does NOT imply that all of Samba is released
13 ** under the LGPL
15 This library is free software; you can redistribute it and/or
16 modify it under the terms of the GNU Lesser General Public
17 License as published by the Free Software Foundation; either
18 version 3 of the License, or (at your option) any later version.
20 This library is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 Lesser General Public License for more details.
25 You should have received a copy of the GNU Lesser General Public
26 License along with this library; if not, see <http://www.gnu.org/licenses/>.
30 #ifdef HAVE_KRB5
32 #if HAVE_KRB5_H
33 #include <krb5.h>
34 #endif
36 #if HAVE_COM_ERR_H
37 #include <com_err.h>
38 #endif
40 #ifdef HAVE_GSSAPI_GSSAPI_EXT_H
41 #include <gssapi/gssapi_ext.h>
42 #elif HAVE_GSSAPI_GSSAPI_H
43 #include <gssapi/gssapi.h>
44 #elif HAVE_GSSAPI_GSSAPI_GENERIC_H
45 #include <gssapi/gssapi_generic.h>
46 #elif HAVE_GSSAPI_H
47 #include <gssapi.h>
48 #endif
50 #if HAVE_GSSAPI_GSSAPI_KRB5_H
51 #include <gssapi/gssapi_krb5.h>
52 #endif
54 #endif
55 #endif