summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-04-04 03:06:22 +0000
committerJim McDonough <jmcd@samba.org>2002-04-04 03:06:22 +0000
commitc0bf7d9db4c704fa43388dc7eb61f90ecdb7e974 (patch)
tree0d16b9f643ee53f9d671fb0ff17cb1669c2de554 /source3
parent464c1201978a2cd5abed8ea0d7bcb9486b1c92d8 (diff)
downloadsamba-c0bf7d9db4c704fa43388dc7eb61f90ecdb7e974.tar.gz
samba-c0bf7d9db4c704fa43388dc7eb61f90ecdb7e974.tar.bz2
samba-c0bf7d9db4c704fa43388dc7eb61f90ecdb7e974.zip
Correct error string function call to ads_errstr()
(This used to be commit d7317ca8da4b04804f4d01752cef56ec5a9c3418)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_ads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index fb9a2b8b02..722e5a8616 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -171,7 +171,7 @@ static int ads_user_add(int argc, const char **argv)
status = ads_find_user_acct(ads, &res, argv[0]);
if (!ADS_ERR_OK(status)) {
- d_printf("ads_user_add: %s\n", ads_err2string(status));
+ d_printf("ads_user_add: %s\n", ads_errstr(status));
goto done;
}
@@ -188,7 +188,7 @@ static int ads_user_add(int argc, const char **argv)
rc = 0;
} else {
d_printf("Could not add user %s: %s\n", argv[0],
- ads_err2string(status));
+ ads_errstr(status));
}
done:
@@ -264,7 +264,7 @@ static int ads_user_delete(int argc, const char **argv)
return 0;
}
d_printf("Error deleting user %s: %s\n", argv[0],
- ldap_err2string(rc.rc));
+ ads_errstr(rc));
return -1;
}