Re: something like huntgroups?

2013-07-02 Thread Phil Mayers
On 07/02/2013 02:30 AM, Matt Zagrabelny wrote: If a user is not in the secret group, then their login should fail if the Vendor-3076-Attr-146 = 0x554d44 pair is in the request. This is pretty easy: authorize { ... if (Vendor-3076-Attr-146 == 0x554d44) { if (SQL-Group == secret) {

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 07:18, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 02:30 AM, Matt Zagrabelny wrote: If a user is not in the secret group, then their login should fail if the Vendor-3076-Attr-146 = 0x554d44 pair is in the request. This is pretty easy: authorize { ...

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 07:41, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 2 Jul 2013, at 07:18, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 02:30 AM, Matt Zagrabelny wrote: If a user is not in the secret group, then their login should fail if the Vendor-3076-Attr-146

Re: something like huntgroups?

2013-07-02 Thread Alan Buxey
Hi I'll see if I can send through some dictionary file entries later today Alan This smartphone uses eduroam which gives me free WiFi around the world. Now thats what I call smart! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: something like huntgroups?

2013-07-02 Thread Phil Mayers
On 07/02/2013 07:52 AM, Arran Cudbard-Bell wrote: This may work for 2.x.x but definitely wont't work for 3.0 which uses direct DICT_ATTR pointer comparisons in some places (instead of comparing vendor/attribute number). So... what *can* you do with Vendor-X-Attr-Y? - List

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 08:53, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 07:52 AM, Arran Cudbard-Bell wrote: This may work for 2.x.x but definitely wont't work for 3.0 which uses direct DICT_ATTR pointer comparisons in some places (instead of comparing vendor/attribute number).

Re: something like huntgroups?

2013-07-02 Thread Phil Mayers
On 02/07/13 11:37, Arran Cudbard-Bell wrote: On 2 Jul 2013, at 08:53, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 07:52 AM, Arran Cudbard-Bell wrote: This may work for 2.x.x but definitely wont't work for 3.0 which uses direct DICT_ATTR pointer comparisons in some places

Re: something like huntgroups?

2013-07-02 Thread A . L . M . Buxey
Hi, We have a generic VPN profile that we'd like to allow *all* users to login to - this works well. When users login to the secret profile, then the following VPN attribute is included in the request: Vendor-3076-Attr-146 = 0x554d44 use/load the dictionary.cisoc.vpn3000 dictionary file

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 11:57, Phil Mayers p.may...@imperial.ac.uk wrote: On 02/07/13 11:37, Arran Cudbard-Bell wrote: On 2 Jul 2013, at 08:53, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 07:52 AM, Arran Cudbard-Bell wrote: This may work for 2.x.x but definitely wont't work for

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 12:15, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 2 Jul 2013, at 11:57, Phil Mayers p.may...@imperial.ac.uk wrote: On 02/07/13 11:37, Arran Cudbard-Bell wrote: On 2 Jul 2013, at 08:53, Phil Mayers p.may...@imperial.ac.uk wrote: On 07/02/2013 07:52 AM,

Re: something like huntgroups?

2013-07-02 Thread Arran Cudbard-Bell
On 2 Jul 2013, at 12:19, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 2 Jul 2013, at 12:15, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 2 Jul 2013, at 11:57, Phil Mayers p.may...@imperial.ac.uk wrote: On 02/07/13 11:37, Arran Cudbard-Bell wrote: On 2 Jul 2013,

something like huntgroups?

2013-07-01 Thread Matt Zagrabelny
Greetings! Our Cisco VPN concentrator is sending some RADIUS attributes in the request packet and if certain values appear, then I'd like to only allow a subset of users to login. I've looked at: http://wiki.freeradius.org/SQL-Huntgroup-HOWTO/dbeef165862fe9ba7ef6f7d011889d1f7212cf9b the SQL