summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-12 14:26:50 +0000
committerGerald Carter <jerry@samba.org>2004-01-12 14:26:50 +0000
commit31a3842644d341906fcfeb57169ab9e6a021a48c (patch)
treee60d37b1b7c8db88f8a6612ba5d61fae69ea547f /source3/utils
parentb75b755a2ba78ad323d6a87fdbee78b1829f864f (diff)
downloadsamba-31a3842644d341906fcfeb57169ab9e6a021a48c.tar.gz
samba-31a3842644d341906fcfeb57169ab9e6a021a48c.tar.bz2
samba-31a3842644d341906fcfeb57169ab9e6a021a48c.zip
fixing compile problems due to my recent ads.h changes
(This used to be commit d7b6298b9e4e7f83deaa2c6f3d711c390ff9cefd)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 9ee2f3c093..24ae9a8811 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -688,7 +688,7 @@ int net_ads_join(int argc, const char **argv)
rc = ads_search_dn(ads, &res, dn, NULL);
ads_msgfree(ads, res);
- if (rc.error_type == ADS_ERROR_LDAP && rc.err.rc == LDAP_NO_SUCH_OBJECT) {
+ if (rc.error_type == ENUM_ADS_ERROR_LDAP && rc.err.rc == LDAP_NO_SUCH_OBJECT) {
d_printf("ads_join_realm: organizational unit %s does not exist (dn:%s)\n",
org_unit, dn);
return -1;