s3: winbind: Trust name2sid mappings from the PAC.
[metze/samba/wip.git] / source3 / winbindd / winbindd_pam.c
index da874c74a0a2a0e18d21c4725bbd89dcdac162df..8456876b20efd8e178f597e936694d5fa4de3c0b 100644 (file)
@@ -2598,7 +2598,7 @@ NTSTATUS winbindd_pam_auth_pac_send(struct winbindd_cli_state *state,
                                info3_copy->base.domain_sid,
                                info3_copy->base.rid);
 
-                       cache_name2sid(domain,
+                       cache_name2sid_trusted(domain,
                                info3_copy->base.logon_domain.string,
                                info3_copy->base.account_name.string,
                                SID_NAME_USER,