override ldap reply attribute

Kostas Kalevras kkalev at noc.ntua.gr
Mon Apr 23 15:57:45 CEST 2007


O/H Chaos Commander έγραψε:
> 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?
>   
Run in debug mode (radiusd -X) and POST the output.

>   
>>> 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
>>     
>
>   


-- 
Kostas Kalevras - Network Operations Center
National Technical University of Athens
http://kkalev.wordpress.com




More information about the Freeradius-Users mailing list