diff options
author | Karolin Seeger <kseeger@samba.org> | 2008-02-19 11:53:36 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-19 12:35:54 +0100 |
commit | cdb88dcf6b65cc2261a5dbec06fc4534c708128d (patch) | |
tree | 786f9beeb0c641ec820bf71e016f1f38362d7275 /source3/passdb | |
parent | ebdc59ca395db408c0a39cb4560a02ff1ac05623 (diff) | |
download | samba-cdb88dcf6b65cc2261a5dbec06fc4534c708128d.tar.gz samba-cdb88dcf6b65cc2261a5dbec06fc4534c708128d.tar.bz2 samba-cdb88dcf6b65cc2261a5dbec06fc4534c708128d.zip |
Change ldap search filter. This function is also used to search machine accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72.
Karolin
(This used to be commit e5cc8b683cba3f2f3a84b1636b3d5bee1bfc0dda)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index da2f9f30da..ce79dce668 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -2683,7 +2683,7 @@ static NTSTATUS ldapsam_enum_group_members(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, sid_attrs, 0, &result); @@ -2739,7 +2739,7 @@ static NTSTATUS ldapsam_enum_group_members(struct pdb_methods *methods, LDAP_OBJ_SAMBASAMACCOUNT, gidstr); - rc = smbldap_search(conn, lp_ldap_user_suffix(), + rc = smbldap_search(conn, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter, sid_attrs, 0, &result); |