diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-29 18:01:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:08 -0500 |
commit | 8bd19b15e3db1d7c4d96298182114ef15bde2f78 (patch) | |
tree | c7fb0596fae82c8d663dbb2079ca560023638456 /source3/nsswitch/winbindd_misc.c | |
parent | 8f0ea257b61f435060cfe6995e238c6d4b07de21 (diff) | |
download | samba-8bd19b15e3db1d7c4d96298182114ef15bde2f78.tar.gz samba-8bd19b15e3db1d7c4d96298182114ef15bde2f78.tar.bz2 samba-8bd19b15e3db1d7c4d96298182114ef15bde2f78.zip |
r16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.
Jeremy
(This used to be commit c4896b17faa6802f18cc1cec7fcc6168bde2eef0)
Diffstat (limited to 'source3/nsswitch/winbindd_misc.c')
-rw-r--r-- | source3/nsswitch/winbindd_misc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c index 6c6dc5b765..d43617f778 100644 --- a/source3/nsswitch/winbindd_misc.c +++ b/source3/nsswitch/winbindd_misc.c @@ -124,6 +124,12 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain * &num_domains, &names, &alt_names, &sids); + if (!NT_STATUS_IS_OK(result)) { + DEBUG(3, ("winbindd_dual_list_trusted_domains: trusted_domains returned %s\n", + nt_errstr(result) )); + num_domains = 0; + } + extra_data = talloc_strdup(state->mem_ctx, ""); if (num_domains > 0) |