The Samba-Bugzilla – Attachment 4686 Details for
Bug 6715
pdb_ldap group membership searches in possibly wrong DN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch that works around the issue for us
samba-ldaplookup.diff (text/plain), 808 bytes, created by
Jan Engelhardt
on 2009-09-12 08:41:35 UTC
(
hide
)
Description:
Patch that works around the issue for us
Filename:
MIME Type:
Creator:
Jan Engelhardt
Created:
2009-09-12 08:41:35 UTC
Size:
808 bytes
patch
obsolete
> >If there is a referral somewhere outside of ou=users in the LDAP tree >that points to the ou=users subtree, Samba thinks there are two >posixAccounts of the same name. Fix this by making smbd not actually >search the entire tree, but just the users subtree. > >--- > source/passdb/pdb_ldap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >Index: samba-3.2.7/source/passdb/pdb_ldap.c >=================================================================== >--- samba-3.2.7.orig/source/passdb/pdb_ldap.c >+++ samba-3.2.7/source/passdb/pdb_ldap.c >@@ -2835,7 +2835,7 @@ static NTSTATUS ldapsam_enum_group_membe > goto done; > } > >- rc = smbldap_search(conn, lp_ldap_suffix(), >+ rc = smbldap_search(conn, lp_ldap_user_suffix(), > LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result); > > if (rc != LDAP_SUCCESS)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6715
: 4686