diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c index 6f87302050..4759a17aca 100644 --- a/source3/winbindd/winbindd_misc.c +++ b/source3/winbindd/winbindd_misc.c @@ -200,7 +200,7 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain * if (state->request->data.list_all_domains && !have_own_domain) { extra_data = talloc_asprintf_append_buffer( extra_data, "%s\\%s\\%s\n", domain->name, - domain->alt_name ? domain->alt_name : domain->name, + domain->alt_name[0] ? domain->alt_name : domain->name, sid_string_talloc(state->mem_ctx, &domain->sid)); } |