git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r21922: Fixed the build by rather horrid means. I really need
[samba.git]
/
source3
/
libads
/
ads_status.c
diff --git
a/source3/libads/ads_status.c
b/source3/libads/ads_status.c
index 017d38c6001b021c0b0d56ef9f47078c53babbe8..d022e5b323582befc4bdb4667f2fab869c9554d3 100644
(file)
--- a/
source3/libads/ads_status.c
+++ b/
source3/libads/ads_status.c
@@
-84,6
+84,10
@@
NTSTATUS ads_ntstatus(ADS_STATUS status)
#ifdef HAVE_KRB5
case ENUM_ADS_ERROR_KRB5:
return krb5_to_nt_status(status.err.rc);
+#endif
+#ifdef HAVE_GSSAPI
+ case ENUM_ADS_ERROR_GSS:
+ return NT_STATUS_UNSUCCESSFUL;
#endif
default:
break;
@@
-143,5
+147,3
@@
const char *ads_errstr(ADS_STATUS status)
}
}
-
-