15 Apr
2008
15 Apr
'08
9:42 a.m.
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