I've been getting the message about the := condition being deprecated soon. I was wondering if there's going to be another alternative way to accomplish the following: In my users file I have this: DEFAULT Airespace-Wlan-Id == 3, Auth-Type := ldap DEFAULT Essentially what this accomplishes is that if that attribute is 3, then they're trying to authenticate through one of our ssids which has web authentication. When it's web authentication it comes through as PAP, and I have this line to tell it to use LDAP authentication. The clients on the other SSID (Which would have the number 4) authenticate via 802.1x so those will come through as PEAP-MSCHAPv2. I just want to know an alternative way I can accomplish this once the ":=" conditional goes away. Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College (413) 572-8245 Red Hat Certified Technician (RHCT)
Casartello, Thomas wrote:
I’ve been getting the message about the := condition being deprecated soon.
What's that message?
In my users file I have this:
DEFAULT Airespace-Wlan-Id == 3, Auth-Type := ldap
DEFAULT
What does that last line do? Nothing?
Essentially what this accomplishes is that if that attribute is 3, then they’re trying to authenticate through one of our ssids which has web authentication. When it’s web authentication it comes through as PAP, and I have this line to tell it to use LDAP authentication. The clients on the other SSID (Which would have the number 4) authenticate via 802.1x so those will come through as PEAP-MSCHAPv2. I just want to know an alternative way I can accomplish this once the “:=” conditional goes away.
I have no idea why the ":=" will go away. Alan DeKok.
Hi,
Are you sure it's ":=" and not ":-". You have new syntax for conditional expansions in man unlang.
yes, without the debug log (radiusd -X - as mentioned on the web site and one of the things you need to supply to get help on the users mailing list) - we cannot be sure what you mean. i suspect its :- and i suspect its from one of the modules you are calling that may have that as the default call.... eg user-name and stripped user-name parsing alan
You're absolutely right. My apologies. It is the :- I read the errors wrong. It is the module that's causing it. Sorry to disturb everyone with this, that explains why the unlang man page was confusing me. Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College Red Hat Certified Technician (RHCT) -----Original Message----- From: freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org [mailto:freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org ] On Behalf Of Alan Buxey Sent: Sunday, November 29, 2009 1:23 PM To: FreeRadius users mailing list Subject: Re: := Condition deprecated Hi,
Are you sure it's ":=" and not ":-". You have new syntax for conditional expansions in man unlang.
yes, without the debug log (radiusd -X - as mentioned on the web site and one of the things you need to supply to get help on the users mailing list) - we cannot be sure what you mean. i suspect its :- and i suspect its from one of the modules you are calling that may have that as the default call.... eg user-name and stripped user-name parsing alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Just to confirm, this was the error:
WARNING: Deprecated conditional expansion ":-". See "man unlang" for details
Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College Red Hat Certified Technician (RHCT) -----Original Message----- From: freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org [mailto:freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org ] On Behalf Of Casartello, Thomas Sent: Sunday, November 29, 2009 7:03 PM To: FreeRadius users mailing list Subject: RE: := Condition deprecated You're absolutely right. My apologies. It is the :- I read the errors wrong. It is the module that's causing it. Sorry to disturb everyone with this, that explains why the unlang man page was confusing me. Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College Red Hat Certified Technician (RHCT) -----Original Message----- From: freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org [mailto:freeradius-users-bounces+tcasartello=wsc.ma.edu@lists.freeradius.org ] On Behalf Of Alan Buxey Sent: Sunday, November 29, 2009 1:23 PM To: FreeRadius users mailing list Subject: Re: := Condition deprecated Hi,
Are you sure it's ":=" and not ":-". You have new syntax for conditional expansions in man unlang.
yes, without the debug log (radiusd -X - as mentioned on the web site and one of the things you need to supply to get help on the users mailing list) - we cannot be sure what you mean. i suspect its :- and i suspect its from one of the modules you are calling that may have that as the default call.... eg user-name and stripped user-name parsing alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan Buxey -
Alan DeKok -
Casartello, Thomas -
tnt@kalik.net