summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-09 15:36:07 +0000
committerGerald Carter <jerry@samba.org>2004-01-09 15:36:07 +0000
commit19e9a7e1b947d7f26b9923a9c89ab088d76e340d (patch)
tree24cb8807636deeb1275f9e3b8f0c3314957b74af /source3/nsswitch
parent5982f2c17b38ba865371d648976cdb1282cf61e7 (diff)
downloadsamba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.tar.gz
samba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.tar.bz2
samba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.zip
fix some warnings from the Sun compiler; also merge some of abartlet's error code changes form 3.0
(This used to be commit 2279e98cb81faaf8a4e971fec339955f14c23858)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index 90b83bccd0..ec93d494d0 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -67,7 +67,7 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain)
/* if we get ECONNREFUSED then it might be a NT4
server, fall back to MSRPC */
- if (status.error_type == ADS_ERROR_SYSTEM &&
+ if (status.error_type == ENUM_ADS_ERROR_SYSTEM &&
status.err.rc == ECONNREFUSED) {
DEBUG(1,("Trying MSRPC methods\n"));
if (domain->methods == &cache_methods) {