diff options
author | Günther Deschner <gd@samba.org> | 2012-09-28 18:04:07 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-10-02 09:04:55 +0200 |
commit | 6d184c07438328ff88b7de942b0c39ce44a20d0a (patch) | |
tree | ef32ad61de8cd63cf0fcad3a0f3051dc188d4ab4 | |
parent | 9525921d8d5a6d2e51e55171d26908fd1d6d7503 (diff) | |
download | samba-6d184c07438328ff88b7de942b0c39ce44a20d0a.tar.gz |
s3-winbindd: Adjust error code loop logic in rpc_trusted_domains().
Guenther
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Sat Sep 29 00:34:04 CEST 2012 on sn-devel-104
Fix bug #9185 - Winbind cannot resolve AD DC in a different subnet.
-rw-r--r-- | source3/winbindd/winbindd_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c index a580b796c35..a3faf422fce 100644 --- a/source3/winbindd/winbindd_rpc.c +++ b/source3/winbindd/winbindd_rpc.c @@ -987,7 +987,7 @@ NTSTATUS rpc_trusted_domains(TALLOC_CTX *mem_ctx, &dom_list_ex, (uint32_t) -1, &result); - if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(result) && + if (NT_STATUS_IS_OK(status) && !NT_STATUS_IS_ERR(result) && dom_list_ex.count > 0) { count += dom_list_ex.count; has_ex = true; |