define in ldap.attrmap.. define as check item...


checkItem Connection-Type radiusConnectionType

The situation is I've to check both attribute.. one from RAS (NAS-Port-Type) .. and one from LDAP (Connection-Type) before i can reject it..
As suggested by Kostas... I've to map the Connection-Type (my-own) attribute... and put "files" that reading users file after LDAP in authorize section...


--haizam

----- Original Message ----- From: "Dustin Doris" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 05, 2005 23:15
Subject: Re: Block group of ISDN connection





On Wed, 5 Jan 2005, Rohaizam Abu Bakar wrote:


YES... it is on one line until "Reject"... just breaking up while pasting...

DEFAULT         NAS-Port-Type == "ISDN" ,Connection-Type == "UNLIMITED",
Auth-Type := Reject
                Reply-Message = "Your account has been disabled."

but still giving the same trailing coma problem..

/usr/local/etc/raddb/users[42]: Unexpected trailing comma in check item list
for entry DEFAULT


--haizam


I believe the error you are receiving is because freeradius doesn't understand what Connection-Type is. I can't find connection-type in any of the dictionary files. Where did you define connection-type?



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


[ Scanned by JARING E-Mail Virus Scanner ( http://www.jaring.my ) ]




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

Reply via email to