summaryrefslogtreecommitdiff
path: root/source3/libads/ads_status.c
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:34:30 -0500
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:34:30 -0500
commite5a951325a6cac8567af3a66de6d2df577508ae4 (patch)
tree34da9fe59f3c2d7f8edb072144443a9704197831 /source3/libads/ads_status.c
parent57482469b32645250e92a7ffd003aeeb4a42235e (diff)
downloadsamba-e5a951325a6cac8567af3a66de6d2df577508ae4.tar.gz
samba-e5a951325a6cac8567af3a66de6d2df577508ae4.tar.bz2
samba-e5a951325a6cac8567af3a66de6d2df577508ae4.zip
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
Diffstat (limited to 'source3/libads/ads_status.c')
-rw-r--r--source3/libads/ads_status.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c
index 742304b6fc..3f0ab57638 100644
--- a/source3/libads/ads_status.c
+++ b/source3/libads/ads_status.c
@@ -84,10 +84,6 @@ 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 map_nt_error_from_gss(status.err.rc, status.minor_status);
-#endif
default:
break;
}
@@ -146,12 +142,3 @@ const char *ads_errstr(ADS_STATUS status)
}
}
-#ifdef HAVE_GSSAPI
-NTSTATUS gss_err_to_ntstatus(uint32 maj, uint32 min)
-{
- ADS_STATUS adss = ADS_ERROR_GSS(maj, min);
- DEBUG(10,("gss_err_to_ntstatus: Error %s\n",
- ads_errstr(adss) ));
- return ads_ntstatus(adss);
-}
-#endif