diff options
author | Günther Deschner <gd@samba.org> | 2011-05-06 12:54:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-06 16:37:22 +0200 |
commit | 1e208a705718adb105d89093041c0ba5d51f2429 (patch) | |
tree | 5aa4d4936db2b3484d713049f19bf0cf3fa6e858 /source3/libads | |
parent | 675573d54b717ffc24cf3b49301ff649aecc259a (diff) | |
download | samba-1e208a705718adb105d89093041c0ba5d51f2429.tar.gz |
s3-includes: no need to globally include libads/ads_status.h.
Guenther
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ads_status.c | 1 | ||||
-rw-r--r-- | source3/libads/ads_status.h | 4 | ||||
-rw-r--r-- | source3/libads/kerberos_proto.h | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c index b99464118d..a9e59edadd 100644 --- a/source3/libads/ads_status.c +++ b/source3/libads/ads_status.c @@ -23,6 +23,7 @@ #include "includes.h" #include "smb_krb5.h" #include "smb_ldap.h" +#include "libads/ads_status.h" /* build a ADS_STATUS structure diff --git a/source3/libads/ads_status.h b/source3/libads/ads_status.h index 4c27e16f50..cc8d9a5c08 100644 --- a/source3/libads/ads_status.h +++ b/source3/libads/ads_status.h @@ -1,3 +1,5 @@ +#ifndef _LIBADS_ADS_STATUS_H_ +#define _LIBADS_ADS_STATUS_H_ /* there are 5 possible types of errors the ads subsystem can produce */ enum ads_error_type {ENUM_ADS_ERROR_KRB5, ENUM_ADS_ERROR_GSS, @@ -40,3 +42,5 @@ ADS_STATUS ads_build_nt_error(enum ads_error_type etype, NTSTATUS ads_ntstatus(ADS_STATUS status); const char *ads_errstr(ADS_STATUS status); NTSTATUS gss_err_to_ntstatus(uint32 maj, uint32 min); + +#endif /* _LIBADS_ADS_STATUS_H_ */ diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h index afd57fe220..f23346f709 100644 --- a/source3/libads/kerberos_proto.h +++ b/source3/libads/kerberos_proto.h @@ -1,5 +1,7 @@ struct PAC_LOGON_INFO; +#include "libads/ads_status.h" + /* The following definitions come from libads/kerberos_verify.c */ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx, |