summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Samba-HOWTO-Collection/Passdb.xml2
-rw-r--r--docs/smbdotconf/ldap/ldapfilter.xml6
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
<smbconfoption><name>ldap suffix</name><value>dc=quenya,dc=org</value></smbconfoption>
<smbconfcomment> generally the default ldap search filter is ok</smbconfcomment>
-<smbconfoption><name>ldap filter</name><value>(&amp;(uid=%u)(objectclass=sambaSamAccount))</value></smbconfoption>
+<smbconfoption><name>ldap filter</name><value>(uid=%u)</value></smbconfoption>
</smbconfexample>
</para>
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 @@
<description>
<para>This parameter specifies the RFC 2254 compliant LDAP search filter.
The default is to match the login name with the <constant>uid</constant>
- attribute for all entries matching the <constant>sambaAccount</constant>
- objectclass. Note that this filter should only return one entry.
+ attribute. Note that this filter should only return one entry.
</para>
</description>
-<value type="default">(&amp;(uid=%u)(objectclass=sambaAccount))</value>
+<value type="default">(uid=%u)</value>
+<value type="example">(&amp;(uid=%u)(objectclass=sambaSamAccount))</value>
</samba:parameter>