mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth/wbc_auth_util: fill in base.logon_domain in wbcAuthUserInfo_to_netr_SamInfo3()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
5ddf5add81
commit
b8068e0199
@ -145,6 +145,11 @@ struct netr_SamInfo3 *wbcAuthUserInfo_to_netr_SamInfo3(TALLOC_CTX *mem_ctx,
|
||||
talloc_strdup(info3, info->full_name);
|
||||
RET_NOMEM(info3->base.full_name.string);
|
||||
}
|
||||
if (info->domain_name) {
|
||||
info3->base.logon_domain.string =
|
||||
talloc_strdup(info3, info->domain_name);
|
||||
RET_NOMEM(info3->base.logon_domain.string);
|
||||
}
|
||||
if (info->logon_script) {
|
||||
info3->base.logon_script.string =
|
||||
talloc_strdup(info3, info->logon_script);
|
||||
|
Loading…
Reference in New Issue
Block a user