summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-01-07 14:55:07 +0100
committerAndrew Bartlett <abartlet@samba.org>2016-06-30 03:30:26 +0200
commit6257003dff558f5736eb89fc909b623aadd121c9 (patch)
tree59f0ac33fbf3140bb0bb9b288b030816f72c1166 /source4/kdc
parent432e83bf5bebd9f4fadb98fcadb82a32eb1b88ed (diff)
downloadsamba-6257003dff558f5736eb89fc909b623aadd121c9.tar.gz
s4:auth: fill user_principal_* and dns_domain_name in authsam_make_user_info_dc()
This is required in order to support netr_SamInfo6 and PAC_UPN_DNS_INFO correctly. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/pac-glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c
index 04d516329da..af77fd4ec64 100644
--- a/source4/kdc/pac-glue.c
+++ b/source4/kdc/pac-glue.c
@@ -241,6 +241,7 @@ NTSTATUS samba_kdc_get_pac_blob(TALLOC_CTX *mem_ctx,
nt_status = authsam_make_user_info_dc(mem_ctx, p->kdc_db_ctx->samdb,
lpcfg_netbios_name(p->kdc_db_ctx->lp_ctx),
lpcfg_sam_name(p->kdc_db_ctx->lp_ctx),
+ lpcfg_sam_dnsname(p->kdc_db_ctx->lp_ctx),
p->realm_dn,
p->msg,
data_blob(NULL, 0),