1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r10688: Fix from Volker for bugid #3068 - winbindd crash with

alt_names.
Jeremy.
(This used to be commit 35dda6920c)
This commit is contained in:
Jeremy Allison 2005-10-03 17:33:43 +00:00 committed by Gerald (Jerry) Carter
parent 75a29f80eb
commit 3d081be06b

View File

@ -127,7 +127,8 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *
if (num_domains > 0)
extra_data = talloc_asprintf(state->mem_ctx, "%s\\%s\\%s",
names[0], alt_names[0],
names[0],
alt_names[0] ? alt_names[0] : names[0],
sid_string_static(&sids[0]));
for (i=1; i<num_domains; i++)