summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-02-08 11:58:03 +0100
committerVolker Lendecke <vl@samba.org>2008-02-11 10:03:47 +0100
commite71a48bb80cee85afcccacbce2884c0d600f4d72 (patch)
tree3f79d2db9ac4a13f23dba1e8970f57137a0285fc /source/passdb
parent55c74832f3a4052d8b15f01b233aab97f7001bbe (diff)
downloadsamba-e71a48bb80cee85afcccacbce2884c0d600f4d72.tar.gz
samba-e71a48bb80cee85afcccacbce2884c0d600f4d72.tar.xz
samba-e71a48bb80cee85afcccacbce2884c0d600f4d72.zip
Change ldap search filter. This function is also used to search machine accounts which may be organized in a different ou.
Karolin
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index 90a6ff011b3..da2f9f30da5 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -2823,7 +2823,7 @@ static NTSTATUS ldapsam_enum_group_memberships(struct pdb_methods *methods,
goto done;
}
- rc = smbldap_search(conn, lp_ldap_user_suffix(),
+ rc = smbldap_search(conn, lp_ldap_suffix(),
LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result);
if (rc != LDAP_SUCCESS)