svn commit: samba r19394 - in branches/SAMBA_3_0/source/nsswitch: .
gd at samba.org
gd at samba.org
Wed Oct 18 16:09:43 GMT 2006
Author: gd
Date: 2006-10-18 16:09:42 +0000 (Wed, 18 Oct 2006)
New Revision: 19394
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19394
Log:
When we fail to get the list of trusted domains, make sure to return
WINBINDD_ERROR.
Guenther
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_misc.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_misc.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_misc.c 2006-10-18 16:08:22 UTC (rev 19393)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_misc.c 2006-10-18 16:09:42 UTC (rev 19394)
@@ -127,7 +127,7 @@
if (!NT_STATUS_IS_OK(result)) {
DEBUG(3, ("winbindd_dual_list_trusted_domains: trusted_domains returned %s\n",
nt_errstr(result) ));
- num_domains = 0;
+ return WINBINDD_ERROR;
}
extra_data = talloc_strdup(state->mem_ctx, "");
More information about the samba-cvs
mailing list