diff options
author | Günther Deschner <gd@samba.org> | 2009-11-27 15:52:57 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-27 16:36:00 +0100 |
commit | 04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15 (patch) | |
tree | 5ec206577ccfe1626198427d757b993c3a21f475 /source3/libsmb | |
parent | 23d77be6cb8847cbdad859269faf59fea30b27b8 (diff) | |
download | samba-04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15.tar.gz samba-04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15.tar.bz2 samba-04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15.zip |
s3-kerberos: only use krb5 headers where required.
This seems to be the only way to deal with mixed heimdal/MIT setups during
merged build.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 1 | ||||
-rw-r--r-- | source3/libsmb/clikrb5.c | 4 | ||||
-rw-r--r-- | source3/libsmb/clispnego.c | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 2535de2847..112143ca96 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -21,6 +21,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" #include "../libcli/auth/spnego.h" +#include "smb_krb5.h" static const struct { int prot; diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 3dc8c64ba9..0839b434c1 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -20,10 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */ -/* this file uses DEPRECATED interfaces! */ - #include "includes.h" +#include "smb_krb5.h" #ifdef HAVE_KRB5 diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c index 3789fbf6b8..264743b2a6 100644 --- a/source3/libsmb/clispnego.c +++ b/source3/libsmb/clispnego.c @@ -21,6 +21,7 @@ #include "includes.h" #include "../libcli/auth/spnego.h" +#include "smb_krb5.h" /* generate a negTokenInit packet given a GUID, a list of supported |