Fw: copy from LDAP after map new attributes

haizam haizam at myjaring.net
Thu Sep 1 02:35:40 CEST 2005


Dear all,

How can i copy data from LDAP after mapping new attributes... as below:-

thanks..

--haizam

----- Original Message ----- 
From: "haizam" <haizam at myjaring.net>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Monday, August 29, 2005 12:13
Subject: Re: usage of exec to get LDAP value..


>
> I just add in /usr/local/etc/raddb/dictionary as below:-
>
> ATTRIBUTE       Haizam-PSTN             3003    integer
> ATTRIBUTE       Haizam-ISDN             3004    integer
>
> and in ldap.attrmap
> replyItem       Haizam-PSTN                     TimeoutPSTN
> replyItem       Haizam-ISDN                     TimeoutISDN
>
> But problem with assigned those value to Session-Timeout... Is below users 
> entry correct?
>
>
> DEFAULT                 NAS-Port-Type == "Sync", Autz-Type := DIALUP, 
> Auth-Type := DIALUP
>                        Session-Timeout = %{Haizam-ISDN}
>
> --haizam
>
>
> ----- Original Message ----- 
> From: "Alan DeKok" <aland at ox.org>
> To: "FreeRadius users mailing list" 
> <freeradius-users at lists.freeradius.org>
> Sent: Saturday, August 27, 2005 07:44
> Subject: Re: usage of exec to get LDAP value..
>
>
>> "haizam" <haizam at myjaring.net> wrote:
>>> I've tried to map new attributes in ldap.attrmap but for every match in
>>> users file.. it will return both new attributes but the sessiontimeout 
>>> still
>>> ruturn no value..
>>
>>  Yes.  Did you read the rest of my response?
>>
>>  Alan DeKok.
>> -
>> List info/subscribe/unsubscribe? See 
>> http://www.freeradius.org/list/users.html
>>
>
>
> - List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 





More information about the Freeradius-Users mailing list