the fields: partnerRealm, netbiosName, partnerSid, type, partnerTrustRealm, attributes, suffixes, enctypes, incoming, outgoing, enabled
Optionalexisting: any
the record being replaced, with its secrets, or null for a new one
{ ok, record, secrets, shown, errors }
Checks a record as it would be written, against the ambient realm.