Static IP Address allocation database - Active Directory?
duckeo
duckeo at gmail.com
Mon Oct 30 04:07:56 CET 2006
On 10/30/06, duckeo <duckeo at gmail.com> wrote:
> > > On 10/27/06, Jonathan De Graeve <Jonathan.De.Graeve at imelda.be> wrote:
> > > > > Has anyone experimented with using Active Directory as a database for
> > > > > Static IP Addressing?
> > > > Yes, just assign a static ip in the AD dial-in properties for that user and adapt the ldap.attrmap accordingly, this works perfectly. There is no need to make a user member of a 'radius_staticip' Group.
> > >
>
> Some digging shows me I have in Active Directory 2003 the ldap
> attribute "msRadiusFramedIPAddress" corresponding to the entry in the
> Dial In tab. It's a string in LONGIP format at the moment, hoping I
> can work with that.
Okay it's simpler than I thought. I commented out the replyItem for
Framed-IP-Address and changed the last attribute to
msRADIUSFramedIPAddress and it works, if the static IP is defined in
AD it is returned, else 255.255.255.254 is returned as usual.
More information about the Freeradius-Users
mailing list