From 432e83bf5bebd9f4fadb98fcadb82a32eb1b88ed Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 7 Jan 2016 14:52:25 +0100 Subject: [PATCH] s4:auth: make use of lpcfg_sam_name() in authsam_get_user_info_dc_principal() This is more generic and matches all other places. As this is only used in the KDC it's not a real logic change. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source4/auth/sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/auth/sam.c b/source4/auth/sam.c index 32e48fb3f36..56b64e50093 100644 --- a/source4/auth/sam.c +++ b/source4/auth/sam.c @@ -629,7 +629,7 @@ NTSTATUS authsam_get_user_info_dc_principal(TALLOC_CTX *mem_ctx, nt_status = authsam_make_user_info_dc(tmp_ctx, sam_ctx, lpcfg_netbios_name(lp_ctx), - lpcfg_workgroup(lp_ctx), + lpcfg_sam_name(lp_ctx), domain_dn, msg, user_sess_key, lm_sess_key, -- 2.47.3