[Samba] Samba + OpenLDAP: LDAP server is running but could not respond to a search request

Beast beast at i6x.org
Sat Sep 10 04:22:37 GMT 2005


Steven Truong wrote:
> 
> If you looked at the log, the second line where BIND dn="", I don't know if 
> this is correct or an indication that something is missing.

It means bind anonymously, make sure you give suficient raed access for 
anon user.
What ldap * suffix in smb.conf? try searching from there, ie.

ldapsearch -xLLL -b "dc=sample,dc=com" uid=testuser


> However, 
> net groupmap list
> [2005/09/09 04:39:30, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2763)
> ldapsam_setsamgrent: LDAP search failed: No such object
> [2005/09/09 04:39:30, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2828)
> ldapsam_enum_group_mapping: Unable to open passdb

Did you already run net groupmap add?
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html

-- 

--beast



More information about the samba mailing list