summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-20 03:55:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:01 -0500
commit24993869f064c61507aaca687a000db78b45df1a (patch)
tree85f51fab6b37f6d5a14aa77adda1f277e4988bd3 /source4
parent372ca26b2052e267711a45c8bf341f55505f3f8f (diff)
downloadsamba-24993869f064c61507aaca687a000db78b45df1a.tar.gz
samba-24993869f064c61507aaca687a000db78b45df1a.tar.bz2
samba-24993869f064c61507aaca687a000db78b45df1a.zip
r11201: New filters for searching in secrets.ldb
Andrew Bartlett (This used to be commit b48c6df60c15ee6134a49d163bed90ea8b85550b)
Diffstat (limited to 'source4')
-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 */