BUG: https://bugzilla.samba.org/show_bug.cgi?id=13300
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
+++ /dev/null
-^samba4.blackbox.trust_token.Test.token.with.kerberos
return NT_STATUS_UNSUCCESSFUL;
}
+ /*
+ * We need to expand group memberships within our local domain,
+ * as the token might be generated by a trusted domain.
+ */
+ nt_status = authsam_update_user_info_dc(mem_ctx,
+ krbtgt->kdc_db_ctx->samdb,
+ user_info_dc);
+ if (!NT_STATUS_IS_OK(nt_status)) {
+ return nt_status;
+ }
+
nt_status = samba_get_logon_info_pac_blob(mem_ctx,
user_info_dc, pac_blob);