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@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Saturday, August 27, 2005 07:44 Subject: Re: usage of exec to get LDAP value..
"haizam" <haizam@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