From: Andrew Bartlett Date: Tue, 15 Jul 2008 05:09:32 +0000 (+1000) Subject: Add a standard filter for finding the LDAP secrets. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28c784966809d634e8497e0716b30bad018467b4;p=thirdparty%2Fsamba.git Add a standard filter for finding the LDAP secrets. --- diff --git a/source/param/secrets.h b/source/param/secrets.h index fa162ea66a3..83b6dc7fdc6 100644 --- a/source/param/secrets.h +++ b/source/param/secrets.h @@ -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_LDAP_FILTER "(objectclass=ldapSecret)" /** * Use a TDB to store an incrementing random seed.