Sorry Arran,
but now starting radius i've this error:

rlm_ldap (ldap): Opening additional connection (0)
rlm_ldap (ldap): Connecting to 10.0.0.19:389
ASSERT FAILED src/modules/rlm_ldap/ldap.c[526]: *pconn && (*pconn)->handle

Thank you very much for your support!!


2013/10/28 Arran Cudbard-Bell <a.cudbardb@freeradius.org>

On 28 Oct 2013, at 10:19, Davide Garofalo <davide.garofalo@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@freeradius.org>
FreeRADIUS Development Team

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



--
Davide Garofalo