summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-08 18:22:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:21 -0500
commitc2339ff417b5715d2fa82cd500cceb6cf9965f3a (patch)
tree9b0cc40783d777dc506f635b048ac944a85abdb0 /source3
parent77460a90756dcaa54ec12bbcd30a5266286103d7 (diff)
downloadsamba-c2339ff417b5715d2fa82cd500cceb6cf9965f3a.tar.gz
samba-c2339ff417b5715d2fa82cd500cceb6cf9965f3a.tar.bz2
samba-c2339ff417b5715d2fa82cd500cceb6cf9965f3a.zip
r11580: fix an uninitialized variable that was causing winbindd to die in winbindd_dual_getsidaliases()
(This used to be commit c0c181826ea535adcbffb8790ad31356f7e9fc04)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_passdb.c b/source3/nsswitch/winbindd_passdb.c
index d7856b5ce9..238e80f31b 100644
--- a/source3/nsswitch/winbindd_passdb.c
+++ b/source3/nsswitch/winbindd_passdb.c
@@ -306,7 +306,7 @@ static NTSTATUS lookup_useraliases(struct winbindd_domain *domain,
uint32 *p_num_aliases, uint32 **rids)
{
BOOL result;
- size_t num_aliases;
+ size_t num_aliases = 0;
result = pdb_enum_alias_memberships(mem_ctx, &domain->sid,
sids, num_sids, rids, &num_aliases);