From b3409c7a44c07883c9bf8804fb51d88bbabca875 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 1 Jul 2004 20:04:55 +0000 Subject: The default "ldap filter" is (uid=%u), not (&(uid=%u)(objectclass=sambaAccount)) (This used to be commit 7f3cca4841112af21209de78ea817d301dfe5520) --- docs/Samba-HOWTO-Collection/Passdb.xml | 2 +- docs/smbdotconf/ldap/ldapfilter.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Samba-HOWTO-Collection/Passdb.xml b/docs/Samba-HOWTO-Collection/Passdb.xml index 42742db6bd..53767e9272 100644 --- a/docs/Samba-HOWTO-Collection/Passdb.xml +++ b/docs/Samba-HOWTO-Collection/Passdb.xml @@ -1122,7 +1122,7 @@ userPassword: {SSHA}c3ZM9tBaBo9autm1dL3waDS21+JSfQVz ldap suffixdc=quenya,dc=org generally the default ldap search filter is ok -ldap filter(&(uid=%u)(objectclass=sambaSamAccount)) +ldap filter(uid=%u) diff --git a/docs/smbdotconf/ldap/ldapfilter.xml b/docs/smbdotconf/ldap/ldapfilter.xml index eba6a76f95..0d2a187e13 100644 --- a/docs/smbdotconf/ldap/ldapfilter.xml +++ b/docs/smbdotconf/ldap/ldapfilter.xml @@ -6,9 +6,9 @@ This parameter specifies the RFC 2254 compliant LDAP search filter. The default is to match the login name with the uid - attribute for all entries matching the sambaAccount - objectclass. Note that this filter should only return one entry. + attribute. Note that this filter should only return one entry. -(&(uid=%u)(objectclass=sambaAccount)) +(uid=%u) +(&(uid=%u)(objectclass=sambaSamAccount)) -- cgit