summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-10 06:01:11 +0000
committerTim Potter <tpot@samba.org>2001-08-10 06:01:11 +0000
commit62f7f6a022dea6fd4fbe514dcb3154bda334a07f (patch)
tree6e0c5d170098d48f91a8176abafa9618364c8d42 /source3/auth/auth_domain.c
parent2ccfea3de7b2b7dc0be2438c3adb3f7be82a2dfc (diff)
downloadsamba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.tar.gz
samba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.tar.bz2
samba-62f7f6a022dea6fd4fbe514dcb3154bda334a07f.zip
Use the new client error api.
(This used to be commit 688da3c41dd944f7f69083518d25e9edbc55406f)
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r--source3/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 4bf0a05d7f..e94ea13edc 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -360,7 +360,7 @@ uint32 domain_client_validate(const auth_usersupplied_info *user_info,
user_info->nt_resp.buffer, user_info->lm_resp.len,
&ctr, &info3);
- cli_error(&cli, NULL, NULL, &nt_status);
+ nt_status = cli_nt_error(&cli);
if (nt_status != NT_STATUS_NOPROBLEMO) {
DEBUG(0,("domain_client_validate: unable to validate password for user %s in domain \
%s to Domain controller %s. Error was %s.\n", user_info->smb_username.str, user_info->domain.str, remote_machine, cli_errstr(&cli)));