Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
return NT_STATUS_INVALID_PARAMETER;
}
+bool samba_kdc_entry_is_trust(const struct samba_kdc_entry *entry)
+{
+ return entry != NULL && entry->is_trust;
+}
+
/*
* Return true if this entry has an associated PAC issued or signed by a KDC
* that our KDC trusts. We trust the main krbtgt account, but we don’t trust any
SAMBA_KDC_FLAG_DELEGATED_PROXY_IS_TRUSTED = 0x00000040,
};
+bool samba_kdc_entry_is_trust(const struct samba_kdc_entry *entry);
+
struct samba_kdc_entry_pac {
struct samba_kdc_entry *entry;
krb5_const_pac pac; /* NULL indicates that no PAC is present. */