diff options
author | Günther Deschner <gd@samba.org> | 2007-06-08 10:32:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:53:13 -0500 |
commit | eb9ae52981d0275d3830fb533a06472aef3508db (patch) | |
tree | e112491567769b78f1856c9fcdd9976e6cffd3ab /source4/torture/rpc | |
parent | 3cc5429b46c7a3c3902525af57899c0256284886 (diff) | |
download | samba-eb9ae52981d0275d3830fb533a06472aef3508db.tar.gz samba-eb9ae52981d0275d3830fb533a06472aef3508db.tar.bz2 samba-eb9ae52981d0275d3830fb533a06472aef3508db.zip |
r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.
Guenther
(This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 2c566d38ce..ec4ee5d18c 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -839,8 +839,8 @@ static BOOL test_GetDcName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) printf("Testing GetDcName\n"); status = dcerpc_netr_GetDcName(p, mem_ctx, &r); - if (!NT_STATUS_IS_OK(status)) { - printf("GetDcName - %s\n", nt_errstr(status)); + if (!NT_STATUS_IS_OK(status) || !W_ERROR_IS_OK(r.out.result)) { + printf("GetDcName - %s/%s\n", nt_errstr(status), win_errstr(r.out.result)); return False; } |