1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Add a standard filter for finding the LDAP secrets.

This commit is contained in:
Andrew Bartlett 2008-07-15 15:09:32 +10:00
parent 72e52a3011
commit 28c7849668

View 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_LDAP_FILTER "(objectclass=ldapSecret)"
/**
* Use a TDB to store an incrementing random seed.