diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-01-07 15:13:09 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-06-30 03:30:26 +0200 |
commit | b8068e01999b2c1b5a13baea458f60f999cc6564 (patch) | |
tree | 7d712d4156829c2c2a88431045378cadda364cf4 /auth/wbc_auth_util.c | |
parent | 5ddf5add81ac8d1c989c578e2dcbf7b0b4e6714e (diff) | |
download | samba-b8068e01999b2c1b5a13baea458f60f999cc6564.tar.gz |
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>
Diffstat (limited to 'auth/wbc_auth_util.c')
-rw-r--r-- | auth/wbc_auth_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/wbc_auth_util.c b/auth/wbc_auth_util.c index 1c50b183f23..bce28175504 100644 --- a/auth/wbc_auth_util.c +++ b/auth/wbc_auth_util.c @@ -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); |