diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-13 11:23:15 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-13 04:41:05 +0100 |
commit | 4a0d1b5ac6c2a42fd5df969acf91bb8e60af06e1 (patch) | |
tree | 00631dc0bf2a552e7da505cb44c5dcff8d8130b2 /source3/libads/ads_status.c | |
parent | 310cf9857491e23678657598739d77520e7afcda (diff) | |
download | samba-4a0d1b5ac6c2a42fd5df969acf91bb8e60af06e1.tar.gz samba-4a0d1b5ac6c2a42fd5df969acf91bb8e60af06e1.tar.bz2 samba-4a0d1b5ac6c2a42fd5df969acf91bb8e60af06e1.zip |
s3-libads: Move to using only the HAVE_KRB5 define
HAVE_KRB5 already implies that GSSAPI is present as well.
Andrew Bartlett
Diffstat (limited to 'source3/libads/ads_status.c')
-rw-r--r-- | source3/libads/ads_status.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c index a9e59edadd..919e5d34dc 100644 --- a/source3/libads/ads_status.c +++ b/source3/libads/ads_status.c @@ -112,8 +112,6 @@ const char *ads_errstr(ADS_STATUS status) #ifdef HAVE_KRB5 case ENUM_ADS_ERROR_KRB5: return error_message(status.err.rc); -#endif -#ifdef HAVE_GSSAPI case ENUM_ADS_ERROR_GSS: { char *ret; @@ -144,7 +142,7 @@ const char *ads_errstr(ADS_STATUS status) } } -#ifdef HAVE_GSSAPI +#ifdef HAVE_KRB5 NTSTATUS gss_err_to_ntstatus(uint32 maj, uint32 min) { ADS_STATUS adss = ADS_ERROR_GSS(maj, min); |