From 24993869f064c61507aaca687a000db78b45df1a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 20 Oct 2005 03:55:35 +0000 Subject: r11201: New filters for searching in secrets.ldb Andrew Bartlett (This used to be commit b48c6df60c15ee6134a49d163bed90ea8b85550b) --- source4/include/secrets.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4') 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 */ -- cgit