On Fri, Jul 11, 2008 at 04:43:50PM +0800, Jim Barber wrote:
> Thanks for that Steve.
> I've now installed the newer ldap packages like so:

>       ii  ldap-utils                  2.4.10-2                    OpenLDAP 
> utilities
>       ii  libldap-2.4-2               2.4.10-2                    OpenLDAP 
> libraries

> I've also added the following to the /etc/samba/smb.conf file and restarted 
> samba. Does it look right?

>       log level = winbind:4

> However I don't think I thought to check the log.winbind before...
> So here is what I've found with the default log level (which I guess is 0?)

>       winbindd: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)' 
> failed.

Aha, well, that handily answers the question of which of the three assert
statements in ldap_parse_result() is being hit.

And essentially, this points to a failure in ldap_search_ext_s(), because
this function isn't returning an error but is returning a NULL res value
which then fails this assert in ldap_parse_result().  I'm not sure yet how
that could happen; perhaps some more logs will make it clearer.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to