summaryrefslogtreecommitdiff
path: root/source3/libads/ads_status.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-21 23:49:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:49 -0500
commit8c395be5e514a28f13608a462c0c0e8417e21160 (patch)
tree2e3703e825b1e2b35225b7b7fd75b1e43f8b5438 /source3/libads/ads_status.c
parenta38b34aa3b239cb6037063787531b1dde9e414f2 (diff)
downloadsamba-8c395be5e514a28f13608a462c0c0e8417e21160.tar.gz
samba-8c395be5e514a28f13608a462c0c0e8417e21160.tar.bz2
samba-8c395be5e514a28f13608a462c0c0e8417e21160.zip
r21922: Fixed the build by rather horrid means. I really need
to restructure libsmb/smb_signing.c so it isn't in the base libs path but lives in libsmb instead (like smb_seal.c does). Jeremy. (This used to be commit 1b828f051d0782201f697de15ff973bd6b097d5b)
Diffstat (limited to 'source3/libads/ads_status.c')
-rw-r--r--source3/libads/ads_status.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c
index 017d38c600..d022e5b323 100644
--- a/source3/libads/ads_status.c
+++ b/source3/libads/ads_status.c
@@ -85,6 +85,10 @@ NTSTATUS ads_ntstatus(ADS_STATUS status)
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)
}
}
-
-