[Date Prev][Date Next]
RE: LDAP authentication using Radius
Aaron Richton wrote:
> On Thu, 16 Aug 2012, JET JETASIK wrote:
> > ionFro mPacket] > No NAS-IP or NAS-Identifier attribute found.
> > [2012/08/16|14:06:22.578125][MAJOR][ValidationTask::routePacket
> > ] > Rejecting RADIUS request due to missing NAS Location
> > I don't see there is option to define the NAS-IP or NAS-Identifier in
> > /etc/radius.conf Furthermore I dig into openldap's radius.c, only
> > RAD_USER_NAME and RAD_USER_PASSWORD(line 82, 86) attached into
> > request.
> > Please advise how to put NAS-IP/NAS-Identifier into the request, maybe
> > using
> > rad_put_addr() ?
> I would think it would be easier to reconfigure your radius server to
> queries in their existing form?
> With that said, if you want to send additional attributes, a modification
> radius.c is probably the right track. You'd probably be best inquiring to
> Radius community about how to do this -- I certainly don't know their API
> the top of my head and it's out of scope for openldap-technical.
It took me some times to find out that if a radius-request, like this
openldap-contrib's radius.c, does not include either a NAS-IP or a
NAS-Identifier, it complies with old Radius RFC standard(RFC 2138), "SHOULD
contain", but not the new one(RFC 2865) "MUST contain".