diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-01-07 14:52:25 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-06-30 03:30:26 +0200 |
commit | 432e83bf5bebd9f4fadb98fcadb82a32eb1b88ed (patch) | |
tree | c1613b599a506239284bac812c90ac0ed50db040 /source4/auth | |
parent | b6c4c0853633ce0090c3d5d9eecedb4c77b7d9cb (diff) | |
download | samba-432e83bf5bebd9f4fadb98fcadb82a32eb1b88ed.tar.gz |
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 <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |