This will be used by the namespace filtering part of
sid filtering...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
return false;
}
+
+bool trust_forest_info_match_tln_namespace(
+ const struct lsa_ForestTrustInformation2 *info,
+ const char *tln)
+{
+ bool match;
+
+ match = trust_forest_info_tln_ex_match(info, tln);
+ if (match) {
+ return false;
+ }
+
+ match = trust_forest_info_tln_match(info, tln);
+ if (!match) {
+ return false;
+ }
+
+ return true;
+}
bool trust_forest_info_tln_ex_match(
const struct lsa_ForestTrustInformation2 *info,
const char *tln);
+bool trust_forest_info_match_tln_namespace(
+ const struct lsa_ForestTrustInformation2 *info,
+ const char *tln);
+
#endif /* _LIBCLI_AUTH_UTIL_LSARPC_H_ */