summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-18 13:55:20 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-20 09:17:14 +1000
commit52b28ec813ff3696606fc8f3a6bf4759a1a104e5 (patch)
treeac253be07d5e7b58ab9b67414ac75f74d4d3fee0 /source4/auth/gensec
parent03b153ce54fdae77694577f33453a19928225d00 (diff)
downloadsamba-52b28ec813ff3696606fc8f3a6bf4759a1a104e5.tar.gz
samba-52b28ec813ff3696606fc8f3a6bf4759a1a104e5.tar.bz2
samba-52b28ec813ff3696606fc8f3a6bf4759a1a104e5.zip
auth: Split out make_user_info_SamBaseInfo and add authenticated argument
This will allow the source3 auth code to call this without needing to double-parse the SIDs Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/gensec_krb5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index c3e3b98f74..d47bc7709c 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -714,6 +714,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
nt_status = make_user_info_dc_netlogon_validation(mem_ctx,
NULL,
3, &validation,
+ true, /* This user was authenticated */
&user_info_dc);
if (!NT_STATUS_IS_OK(nt_status)) {
free(principal_string);