diff options
author | Tim Potter <tpot@samba.org> | 2002-03-17 04:36:35 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-03-17 04:36:35 +0000 |
commit | ab13654dc9ac23872e4d1384e1c54e336f113009 (patch) | |
tree | ce8b9a4b295bc256395b709b068eeb512c4936fb /source3/rpc_client/cli_netlogon.c | |
parent | 0bb16f1d01a911aafe585fc558fbc473eddc4065 (diff) | |
download | samba-ab13654dc9ac23872e4d1384e1c54e336f113009.tar.gz samba-ab13654dc9ac23872e4d1384e1c54e336f113009.tar.bz2 samba-ab13654dc9ac23872e4d1384e1c54e336f113009.zip |
Renamed get_nt_error_msg() to nt_errstr().
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
Diffstat (limited to 'source3/rpc_client/cli_netlogon.c')
-rw-r--r-- | source3/rpc_client/cli_netlogon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c index 5b59e5b543..90c8a34c21 100644 --- a/source3/rpc_client/cli_netlogon.c +++ b/source3/rpc_client/cli_netlogon.c @@ -91,7 +91,7 @@ BOOL cli_net_logon_ctrl2(struct cli_state *cli, NTSTATUS status_level) if (ok && r_l.status != 0) { /* report error code */ - DEBUG(0,("do_net_logon_ctrl2: Error %s\n", get_nt_error_msg(r_l.status))); + DEBUG(0,("do_net_logon_ctrl2: Error %s\n", nt_errstr(r_l.status))); cli->nt_error = r_l.status; ok = False; } @@ -153,7 +153,7 @@ NTSTATUS cli_net_auth2(struct cli_state *cli, uint16 sec_chan, if (ok && !NT_STATUS_IS_OK(result)) { /* report error code */ - DEBUG(0,("cli_net_auth2: Error %s\n", get_nt_error_msg(result))); + DEBUG(0,("cli_net_auth2: Error %s\n", nt_errstr(result))); ok = False; } @@ -242,7 +242,7 @@ BOOL cli_net_req_chal(struct cli_state *cli, DOM_CHAL *clnt_chal, DOM_CHAL *srv_ if (ok && !NT_STATUS_IS_OK(r_c.status)) { /* report error code */ - DEBUG(0,("cli_net_req_chal: Error %s\n", get_nt_error_msg(r_c.status))); + DEBUG(0,("cli_net_req_chal: Error %s\n", nt_errstr(r_c.status))); ok = False; } @@ -332,7 +332,7 @@ static NTSTATUS cli_net_sam_logon_internal(struct cli_state *cli, NET_ID_INFO_CT if (!NT_STATUS_IS_OK(retval)) { /* report error code */ - DEBUG(0,("cli_net_sam_logon_internal: %s\n", get_nt_error_msg(r_s.status))); + DEBUG(0,("cli_net_sam_logon_internal: %s\n", nt_errstr(r_s.status))); goto out; } @@ -447,7 +447,7 @@ BOOL cli_net_sam_logoff(struct cli_state *cli, NET_ID_INFO_CTR *ctr) if (ok && !NT_STATUS_IS_OK(r_s.status)) { /* report error code */ - DEBUG(0,("cli_net_sam_logoff: %s\n", get_nt_error_msg(r_s.status))); + DEBUG(0,("cli_net_sam_logoff: %s\n", nt_errstr(r_s.status))); ok = False; } |