diff options
author | Jim McDonough <jmcd@samba.org> | 2002-04-04 03:06:22 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-04-04 03:06:22 +0000 |
commit | c0bf7d9db4c704fa43388dc7eb61f90ecdb7e974 (patch) | |
tree | 0d16b9f643ee53f9d671fb0ff17cb1669c2de554 /source3/utils | |
parent | 464c1201978a2cd5abed8ea0d7bcb9486b1c92d8 (diff) | |
download | samba-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/utils')
-rw-r--r-- | source3/utils/net_ads.c | 6 |
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; } |