Fw: copy from LDAP after map new attributes

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

Fw: copy from LDAP after map new attributes

Rohaizam Abu Bakar
Dear all,

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

thanks..

--haizam

----- Original Message -----
From: "haizam" <[hidden email]>
To: "FreeRadius users mailing list" <[hidden email]>
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" <[hidden email]>
> To: "FreeRadius users mailing list"
> <[hidden email]>
> Sent: Saturday, August 27, 2005 07:44
> Subject: Re: usage of exec to get LDAP value..
>
>
>> "haizam" <[hidden email]> 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
>


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html