summaryrefslogtreecommitdiff
path: root/source3
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
commitcd50bc575e59517b53a1c8d0f273775b1ce85bac (patch)
treecd56e9f9408900db0484447a69d42f5051ed7143 /source3
parent485cb23b16e62a37180b95bd5c409de6ee162084 (diff)
downloadsamba-cd50bc575e59517b53a1c8d0f273775b1ce85bac.tar.gz
samba-cd50bc575e59517b53a1c8d0f273775b1ce85bac.tar.bz2
samba-cd50bc575e59517b53a1c8d0f273775b1ce85bac.zip
Change ldap search filter. This function is also used to search machine accounts which may be organized in a different ou.
Karolin (This used to be commit e71a48bb80cee85afcccacbce2884c0d600f4d72)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 90a6ff011b..da2f9f30da 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/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)