1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/winbindd
Jeremy Allison 1db2dc1931 Bugfix noticed by Herb. On using the again: tag as a
goto target we were not reinitializing the array counts.

From Herb:

This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236

We have a label again: where we keep trying to find the name of the DC
from the list of IPs returned by get_dcs. If we fail to figure out the
name we do a goto again at the end of the function. The problem is we
don't reset the num_dcs, num_addrs, etc and free the memory in the
various arrays. This seems wrong to me. I have a winbindd core where
I have 9 IPs returned for the DCs but at the time of the crash num_dcs
is 87 and if I look through the array dcs it keeps repeating entries
from the same group of 9

Jerry, Volker and Guenther please check.

Jeremy.
(This used to be commit 15f464321a)
2008-06-08 14:19:44 -07:00
..
idmap_ad.c Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
idmap_cache.c Make some fns static 2008-03-28 13:44:30 +01:00
idmap_ldap.c Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
idmap_nss.c nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros 2008-02-13 10:44:52 +01:00
idmap_passdb.c r25154: move winbindd code into winbindd/ 2007-10-10 12:30:46 -05:00
idmap_rid.c Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
idmap_tdb2.c Convert old sid-string handling in idmap_tdb2 to a new one 2008-01-16 16:50:46 +03:00
idmap_tdb.c s/sid_to_string/sid_to_fstring/ 2007-12-15 22:47:30 +01:00
idmap_util.c Fix valgrind bug in debug statement. Don't reference uninitialized memory. 2008-05-30 17:53:16 -07:00
idmap.c Fix trusted users on a DC that uses the old idmap syntax. There was no default backend therefore on IDs were mapped by default. 2008-04-03 00:26:35 +02:00
nss_info_template.c r25154: move winbindd code into winbindd/ 2007-10-10 12:30:46 -05:00
nss_info.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
winbindd_ads.c Make WINBINDD_LIST_GROUPS handler asynchronous. 2008-05-22 13:55:57 -05:00
winbindd_async.c Fix two c++ warnings 2008-05-25 13:53:45 +02:00
winbindd_cache.c Split the winbindd_passdb backend into a 'builtin' and a 'sam' 2008-05-30 23:49:36 -07:00
winbindd_ccache_access.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
winbindd_cm.c Bugfix noticed by Herb. On using the again: tag as a 2008-06-08 14:19:44 -07:00
winbindd_cred_cache.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
winbindd_creds.c Use netr_SamInfo3 everywhere in winbindd. 2008-02-17 02:12:00 +01:00
winbindd_domain.c Make WINBINDD_LIST_GROUPS handler asynchronous. 2008-05-22 13:55:57 -05:00
winbindd_dual.c Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain child 2008-06-02 15:26:37 -07:00
winbindd_group.c Fix two c++ warnings 2008-05-25 13:53:45 +02:00
winbindd_idmap.c s/sid_to_string/sid_to_fstring/ 2007-12-15 22:47:30 +01:00
winbindd_locator.c libwbclient: Abstract the DS_XXX flags for DsGetDcName(). 2008-05-13 12:58:52 -05:00
winbindd_misc.c Mark a domain offline in the wbcDomainInfo structure using the domain_flags. 2008-04-23 08:47:50 -05:00
winbindd_ndr.c Split the winbindd_passdb backend into a 'builtin' and a 'sam' 2008-05-30 23:49:36 -07:00
winbindd_pam.c Get rid of "shadowed local var" warnings with gcc. 2008-05-22 14:19:14 -07:00
winbindd_passdb.c Split the winbindd_passdb backend into a 'builtin' and a 'sam' 2008-05-30 23:49:36 -07:00
winbindd_proto.h Fix bug #5504. winbindd children and parent were handing SIGTERM in the same way - deleting the socket! 2008-05-30 17:52:54 -07:00
winbindd_reconnect.c Use rpccli_samr_QueryDomainInfo() in winbindd. 2008-02-06 02:09:44 +01:00
winbindd_rpc.c Introduce rpccli_set_timeout() 2008-04-20 00:14:26 +02:00
winbindd_sid.c s/sid_to_string/sid_to_fstring/ 2007-12-15 22:47:30 +01:00
winbindd_user.c Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
winbindd_util.c Split the winbindd_passdb backend into a 'builtin' and a 'sam' 2008-05-30 23:49:36 -07:00
winbindd_wins.c This is a large patch (sorry). Migrate from struct in_addr 2007-10-24 14:16:54 -07:00
winbindd.c Fix bug #5504. winbindd children and parent were handing SIGTERM in the same way - deleting the socket! 2008-05-30 17:52:54 -07:00
winbindd.h libwbclient: Abstract the DS_XXX flags for DsGetDcName(). 2008-05-13 12:58:52 -05:00