From: Stefan Metzmacher Date: Thu, 7 Jan 2016 13:52:25 +0000 (+0100) Subject: s4:auth: make use of lpcfg_sam_name() in authsam_get_user_info_dc_principal() X-Git-Tag: tdb-1.3.10~593 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=432e83bf5bebd9f4fadb98fcadb82a32eb1b88ed;p=thirdparty%2Fsamba.git 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 --- 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,