summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/secrets.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/include/secrets.h b/source4/include/secrets.h
index 09cb0dda69..c2bd66ecf9 100644
--- a/source4/include/secrets.h
+++ b/source4/include/secrets.h
@@ -58,8 +58,10 @@ struct machine_acct_pass {
};
#define SECRETS_PRIMARY_DOMAIN_DN "cn=Primary Domains"
-
+#define SECRETS_PRINCIPALS_DN "cn=Principals"
#define SECRETS_PRIMARY_DOMAIN_FILTER "(&(flatname=%s)(objectclass=primaryDomain))"
#define SECRETS_PRIMARY_REALM_FILTER "(&(realm=%s)(objectclass=primaryDomain))"
+#define SECRETS_KRBTGT_SEARCH "(&((|(realm=%s)(flatname=%s))(samAccountName=krbtgt)))"
+#define SECRETS_PRINCIPAL_SEARCH "(&((|(realm=%s)(flatname=%s))(servicePrincipalName=%s)))"
#endif /* _SECRETS_H */