override ldap reply attribute

Chaos Commander tschaos at gmx.net
Mon Apr 23 14:36:53 CEST 2007


Kostas Kalevras wrote:

> O/H tschaos at gmx.net έγραψε:
> > Hi Guys,
> >
> > I have maybe a quite simple question:
> >
> > is there any way to override the default ldap-reply attribute with an
> other value than there is in ldap.
> >
> > i.e.:
> >
> > users-file:
> >
> > Default Called-Station-Id = "00-1A-30-2F-11-50:Test",
> Airespace-Interface-Name := 777
> >
> > ldap.attrmap:
> >
> > replyItem       Airespace-Interface-Name        radiusCallingStationId
> >
> > wanted result:
> >
> > if the users-file doesnt match, use vlaue of ldap-attribute:
> radiusCallingStationId,  otherwise use vlaue: 777
> >
> >
> > in this type of configuration it seems i cant override the ldap-reply
> attribute-value with the users-file.
> >   
> Check the order in which the files and ldap module appear in the 
> authorize section. If you want to override an ldap value then you need 
> to have the files moduel after the ldap module.
> 

unfortunately the problem still persists, also if i change the order :-(

any other ideas?

> > is there any possible way to do this?
> >
> > thanks in advance :-)
> >
> > freeradiusver: 1.1.4
> >
> >
> >   
> 
> 
> -- 
> Kostas Kalevras - Network Operations Center
> National Technical University of Athens
> http://kkalev.wordpress.com
> 
> - 
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail



More information about the Freeradius-Users mailing list