[Samba] SuSE 9.3 and Latest Binaries - Library Conflict

Eric A. Hall ehall at ehsco.com
Tue Sep 13 14:45:41 GMT 2005

On 9/13/2005 4:43 AM, Guenther Deschner wrote:

> On Mon, Sep 12, 2005 at 07:39:05PM -0400, Eric A. Hall wrote:

>>binaries from ftp://ftp.suse.com/pub/projects/samba/3.0/i386/9.3/ work
>>fine here, other than guest access not working with ldap due to malformed
>>queries in ldapsmb
> could you give me more information where and how ldapsmb fails for you ?

I can't do anything that explicitly requires guest access (browse the
domain, login to the domain, etc). Stuff that requires an account works
just fine. Judging from these lines in the log.smbd file:

| [2005/09/01 01:00:02, 4] lib/smbldap.c:smbldap_open(869)
|   The LDAP server is succesfully connected
| [2005/09/01 01:00:02, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1335)
|   ldapsam_getsampwnam: Unable to locate user [] count=0

and the output from ldap log file:

| Sep  1 01:00:02 rhino slapd[8360]: conn=123 op=2 SRCH
| base="dc=labs,dc=ntrg,dc=com" scope=2 deref=0
| filter="(&(?=undefined)(objectClass=sambaSamAccount))"

it seems that lLDAP ookups for the guest account have a malformed LDAP
search filter "(?=undefined)" which is apparently generated by pdb_ldap.c

Regular users work fine; only the guest account lookups are broken.

I've attached the original message with full logs.

Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/

More information about the samba mailing list