1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

[s3]winbindd_rpc: add domain prefix to username in lookup_groupmem().

This makes the output of "getent group" of a domain group show the
domain prefix with "security = domain".

Michael
This commit is contained in:
Michael Adam 2008-09-21 01:20:32 +02:00
parent 1b9c2ccb1f
commit 1f8a7739ac

View File

@ -854,7 +854,10 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
}
for (r=0; r<tmp_names.count; r++) {
(*names)[i+r] = CONST_DISCARD(char *, tmp_names.names[r].string);
(*names)[i+r] = fill_domain_username_talloc(mem_ctx,
domain->name,
tmp_names.names[r].string,
true);
(*name_types)[i+r] = tmp_types.ids[r];
}