diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-25 20:13:09 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-29 19:29:37 +0200 |
commit | 71dcb84e61443df3f149693486fde40315d7503d (patch) | |
tree | a3c371758ef97f5ad35d4bff5413a0e933b64c0b /source3 | |
parent | 498e32bbac6445875d8f0cb653bab428bb864f8c (diff) | |
download | samba-71dcb84e61443df3f149693486fde40315d7503d.tar.gz samba-71dcb84e61443df3f149693486fde40315d7503d.tar.bz2 samba-71dcb84e61443df3f149693486fde40315d7503d.zip |
s3: Fix getent group if trusted domains are not reachable
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/wb_group_members.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/winbindd/wb_group_members.c b/source3/winbindd/wb_group_members.c index e6efcabfad..8776a8c7dd 100644 --- a/source3/winbindd/wb_group_members.c +++ b/source3/winbindd/wb_group_members.c @@ -209,8 +209,13 @@ static void wb_groups_members_done(struct tevent_req *subreq) * and just continue if an error occured. */ - if (tevent_req_nterror(req, status)) { - return; + if (!NT_STATUS_IS_OK(status)) { + if (!NT_STATUS_EQUAL( + status, NT_STATUS_TRUSTED_DOMAIN_FAILURE)) { + tevent_req_nterror(req, status); + return; + } + num_members = 0; } num_all_members = talloc_array_length(state->all_members); |