Add a standard filter for finding the LDAP secrets.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:09:32 +0000 (15:09 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:09:32 +0000 (15:09 +1000)
(This used to be commit 28c784966809d634e8497e0716b30bad018467b4)

source4/param/secrets.h

index fa162ea66a37707c1f6654d83fbb0c01a79f839a..83b6dc7fdc62937c9e9ca87da59de39cbb481e5d 100644 (file)
@@ -33,6 +33,7 @@ struct machine_acct_pass {
 #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))"
 #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))"
+#define SECRETS_LDAP_FILTER "(objectclass=ldapSecret)"
 
 /**
  * Use a TDB to store an incrementing random seed.
 
 /**
  * Use a TDB to store an incrementing random seed.