The following macros are supplied to check the semantics of schema entry fields. In the macros, S is a pointer to sec_attr_schema_entry_t and its equivalent dce_attr_sch data type.
#define SA_TRG_BND_AUTH_INFO_TYPE_VALID(S) \
(SA_BND_AUTH_INFO_TYPE_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_PROT_LEV_VALID(S) \
(SA_BND_AUTH_PROT_LEV_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHN_SVC_VALID(S) \
(SA_BND_AUTH_AUTHN_SVC_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHZ_SVC_VALID(S) \
(SA_BND_AUTH_AUTHZ_SVC_VALID(SA_TRG_BND_INFO_P(S))