summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-15 15:09:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-15 15:09:32 +1000
commit2b1f2712f18a6fa7dcd60e2ed54ac157e9c54889 (patch)
tree5d0269927729ac0968781d135051a444c5b88bcd /source4/param
parentab00b65dde3fad666425cd9b4b6e45dabc33b279 (diff)
downloadsamba-2b1f2712f18a6fa7dcd60e2ed54ac157e9c54889.tar.gz
samba-2b1f2712f18a6fa7dcd60e2ed54ac157e9c54889.tar.bz2
samba-2b1f2712f18a6fa7dcd60e2ed54ac157e9c54889.zip
Add a standard filter for finding the LDAP secrets.
(This used to be commit 28c784966809d634e8497e0716b30bad018467b4)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/secrets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/param/secrets.h b/source4/param/secrets.h
index fa162ea66a..83b6dc7fdc 100644
--- a/source4/param/secrets.h
+++ b/source4/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.