LDAP module problem in 2.0.3
Jason Alderfer
jha2 at emu.edu
Tue Apr 15 15:42:52 CEST 2008
> Hi Jason,
> with the answer from Alan we have found the dn-information in the control
> item. You must use %{control:Ldap-UserDn} instead of %{Ldap-UserDn}
Perfect. Unlang works now. Thanks.
However, there is still the problem with postauth.
>> the function ldap_postauth in rlm_ldap.c still looks for Ldap-UserDn
>> in request->packet->vps.
The attached patch updates ldap_postauth to check the control items, which
solves the problem for me. I assume that's the best way to fix it.
Jason
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rlm_ldap.c.patch.txt
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080415/410303aa/attachment.txt>
More information about the Freeradius-Users
mailing list