freeradius 3 ldap

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Oct 28 12:12:10 CET 2013


On 28 Oct 2013, at 10:19, Davide Garofalo <davide.garofalo at gmail.com> wrote:

> in ldap.c before rad_assert(handle == conn->handle);
> i've put this debug line
> DEBUG("rlm_ldap (%s): Rebinding to URL %s", conn->inst->xlat_name, url);
> 
> and the result is
> 
> (0) Performing search in 'dc=intra,dc=ismaa,dc=it' with filter '(&(objectCategory=person)(objectClass=user)(sAMAccountName=garofalod))'
> (0) Waiting for search result...
> rlm_ldap ((null)): Rebinding to URL ldap://ForestDnsZones.intra.ismaa.it/DC=ForestDnsZones,DC=intra,DC=ismaa,DC=it
> ASSERT FAILED src/modules/rlm_ldap/ldap.c[1030]: handle == conn->handle
> Annullato

Fixed. Somehow inst (module configuration) was being passed as the ctx argument to the rebind function. The assert was valid.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list