diff options
author | Tim Potter <tpot@samba.org> | 2003-01-13 03:45:31 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-13 03:45:31 +0000 |
commit | cf17d012e67e632ddc2f83f498486d6ac766a752 (patch) | |
tree | d2d107c88a18f42eb241b5ecd8e5559e0d492d1e /source3/nsswitch/winbindd_misc.c | |
parent | fd88966c470ec125476c9c8d4cb68678ac249e47 (diff) | |
download | samba-cf17d012e67e632ddc2f83f498486d6ac766a752.tar.gz samba-cf17d012e67e632ddc2f83f498486d6ac766a752.tar.bz2 samba-cf17d012e67e632ddc2f83f498486d6ac766a752.zip |
Merge of remove "winbindd holding pattern" from appliance. It's a bit
simpler as the rescanning of trusted domains helps us out a bit.
(This used to be commit 089729c02cb2088e85f0e7f8ec79afb58fe98be7)
Diffstat (limited to 'source3/nsswitch/winbindd_misc.c')
-rw-r--r-- | source3/nsswitch/winbindd_misc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c index d656c3ca4d..74748f1aed 100644 --- a/source3/nsswitch/winbindd_misc.c +++ b/source3/nsswitch/winbindd_misc.c @@ -113,7 +113,11 @@ enum winbindd_result winbindd_list_trusted_domains(struct winbindd_cli_state have changed since we last looked. There may be a sequence number or something we should use but I haven't found it yet. */ - init_domain_list(); + if (!init_domain_list()) { + DEBUG(1, ("winbindd_list_trusted_domains: could not " + "refresh trusted domain list\n")); + return WINBINDD_ERROR; + } for(domain = domain_list(); domain; domain = domain->next) { |