Re: radeapclient + EAP/TLS testing

2005-08-30 Thread Josh Howlett
Ben, You're easiest option is probably eapol_test from wpa_supplicant. josh. Ben Walding wrote: Has anyone ever tried (or succeeded) in getting the radeapclient to work with an EAP-TLS configured FreeRADIUS server? We have two requirements at hand: 1) Load testing the RADIUS servers (two

assign an ip pool for a user

2005-08-30 Thread dinhan
Hello all ! I've just setup a radius server and it's working very good. thanks...god I have a question : can I assign an IP Pool to a user ? .Of course, I can do that by ACS server , but I have a lot users , and I want to set some policy for users... thanks and best regard

Re: How to configure freeradius to answer on two IP addresses

2005-08-30 Thread Nicolas Baradakis
Stefan A. wrote: How may I advice freeradius, to bind to two IP addresses? I tried the Listen option and the bind_address by separating my ip addresses with an whitespace, a colon or a semicolon... Delete bind_address and port from radiusd.conf, and use multiple listen {} stanzas for each IP

Re: multiple threads

2005-08-30 Thread Artur Hecker
hi Alan context: on a Fedora Core 3 system (linux 2.6.9) I configured n=5 but FR would not start but one instance. also in the radiusd -X there is no notice of thread-pool config being read. FC4 uses a newer Linux kernel, which *correctly* shows only one process via ps, even when

how to run sql query on radius startup

2005-08-30 Thread Sergey Pariev
Hi All. I'm currently setting up freeeradius 1.0.4 with pgsql (8.0.3) backend, and I need to run an SQL query on radius server startup. Id like to know is it possible at all ? I've read the docs and *.sql config files but haven't found anything like this. Any suggestions ? I know I can run a

New checkItem from LDAP

2005-08-30 Thread Joe H
I am trying to create a new checkItem using an attribute stored in LDAP. I would like radius to check ldap to see if the attribute exists for a user and if it does, not assign a radiusPoolName. I have a radiusSNSEnable attribute setup in ldap and in the dictionary files as a check item. I

concurrent TTLS and PEAP usage

2005-08-30 Thread Artur Hecker
hi we have a Wifi 802.1X network with both TTLS and PEAP users (TTLS/PAP mostly for non-windows machines, PEAP/MSCHAPv2 for windows machines). (we also have TLS users, but that's out of scope). both work like a charm. however, we'd like to prevent PEAP accounts to log in with TTLS and

Re: assign an ip pool for a user

2005-08-30 Thread Alan DeKok
dinhan [EMAIL PROTECTED] wrote: I've just setup a radius server and it's working very good. thanks...god I have a question : can I assign an IP Pool to a user ? Yes. See radiusd.conf. but I have a lot users , and I want to set some policy for users... You can do that, too. Alan

Re: multiple threads

2005-08-30 Thread Alan DeKok
Artur Hecker [EMAIL PROTECTED] wrote: ok, no i meant the daemon mode. sorry, my comment was a bit misleading. it's just that i would expect FR to show every configuration token it has read. and thread pool seems to be ignored in the debug. It prints out the configuration it *uses*. It

Re: New checkItem from LDAP

2005-08-30 Thread Alan DeKok
Joe H [EMAIL PROTECTED] wrote: Correct me if I'm wrong but that should mean, if the SNS-Enable attribute does not equal 1, assign the USR-Framed_IP_Address_Pool_Name and Idle-Timeout. I have SNS-Enable as a checkItem mapped to radiusSNSEnable in the ldap.attrmap. That should be OK.

FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Hello, I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also is the authentication method, for example if I

Re: concurrent TTLS and PEAP usage

2005-08-30 Thread Stefan . Neis
Artur Hecker schrieb: we naively try to specify EAP-Type == PEAP for user_peap and == TTLS for user_ttls but that breaks both methods (which seems normal since this EAP-Type definition is not correct for the internal EAP method which however uses the same user name). Why not almost

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Alan DeKok
Jason Carr [EMAIL PROTECTED] wrote: I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also is the

Re: concurrent TTLS and PEAP usage

2005-08-30 Thread Artur Hecker
hi [EMAIL PROTECTED] wrote: we naively try to specify EAP-Type == PEAP for user_peap and == TTLS for user_ttls but that breaks both methods (which seems normal since this EAP-Type definition is not correct for the internal EAP method which however uses the same user name). Why not almost

Re: multiple threads

2005-08-30 Thread Artur Hecker
hi Alan ok, no i meant the daemon mode. sorry, my comment was a bit misleading. it's just that i would expect FR to show every configuration token it has read. and thread pool seems to be ignored in the debug. It prints out the configuration it *uses*. It reads pretty much anything from

Re: how to run sql query on radius startup

2005-08-30 Thread Thor Spruyt
Sergey Pariev wrote: Hi All. I'm currently setting up freeeradius 1.0.4 with pgsql (8.0.3) backend, and I need to run an SQL query on radius server startup. Id like to know is it possible at all ? I've read the docs and *.sql config files but haven't found anything like this. Any

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Alan DeKok wrote: Jason Carr [EMAIL PROTECTED] wrote: I'm attempting to use a FreeRadius server for authentication of wireless using 802.1x. I would also like to use a SQL database for authorization. I've done some limited testing without success. It looks like the authorization method also

Re: how to run sql query on radius startup

2005-08-30 Thread Sergey Pariev
Hello. I'm implementing my own db-based auth setup, and I want to check stale sessions, which can be caused by power outage, improper NAS shutdown, etc, on radius server startup. Basically I'd just like to have some sql query hook which would be executed on startup - to check the DB state .

Re: New checkItem from LDAP

2005-08-30 Thread Joe H
I have changed the order in which the files are processed and it didn't change anything. I can see in the debug that it finds the attributes: rlm_ldap: performing search in ou=people,dc=test,dc=com, with filter (uid=test) rlm_ldap: looking for check items in directory... rlm_ldap: Adding

Re: concurrent TTLS and PEAP usage

2005-08-30 Thread Alan DeKok
Artur Hecker [EMAIL PROTECTED] wrote: user_ttls EAP-Type != PEAP that however only prohibits the usage of PEAP for user_ttls while i would like to only enable TTLS for this specific user (which is not quite the same). user_ttls EAP-Type != TTLS, Auth-Type := Reject See the

Re: multiple threads

2005-08-30 Thread Alan DeKok
Artur Hecker [EMAIL PROTECTED] wrote: you know I remember a lot of users having _major_ problems with SCSI because it was too forgiving for simple setups... The server enforces sanity on what it needs. What it doesn't need it ignores. why not at least mentioning that the server has just

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Alan DeKok
Jason Carr [EMAIL PROTECTED] wrote: I grepped for local in the raddb directory, and I'm not seeing anything related to Auth-Type := Local in any config file. Did you set it in the SQL database? I saw that I'm not supposed to explicitly define Auth-Type := EAP, but perhaps this is what I

Re: how to run sql query on radius startup

2005-08-30 Thread Alan DeKok
Sergey Pariev [EMAIL PROTECTED] wrote: So I'd like to clarify if such a query hook exists at all, and if not, how it can be done. No query hook. As for how it could be done, edit src/modules/rlm_sql/rlm_sql.c. Also I would appreciate any freeradius-related suggestions or best practices

Re: FreeRadius different authorization and authentication methods

2005-08-30 Thread Jason Carr
Alan DeKok wrote: Jason Carr [EMAIL PROTECTED] wrote: I grepped for local in the raddb directory, and I'm not seeing anything related to Auth-Type := Local in any config file. Did you set it in the SQL database? I saw that I'm not supposed to explicitly define Auth-Type := EAP, but

Re: how to run sql query on radius startup

2005-08-30 Thread Sergey Pariev
Hello. Thanks for quick reply, Alan. Alan DeKok пишет: Sergey Pariev [EMAIL PROTECTED] wrote: So I'd like to clarify if such a query hook exists at all, and if not, how it can be done. No query hook. As for how it could be done, edit src/modules/rlm_sql/rlm_sql.c. Ok, I'll look into

Re: 16 bit attr decoding..

2005-08-30 Thread Alan DeKok
Wesley Spadola [EMAIL PROTECTED] wrote: However I use radiusd in its radrelay mode, having copied the detail file I have to location radiusd expects, radiusd does start to read its detail file, but does not decode the lines, it only shows through its accounting SQL statements that

Re: ntlm_auth multiple nt4 domains peap xp

2005-08-30 Thread Alan DeKok
Jamie Crawford [EMAIL PROTECTED] wrote: I guess I am needing to setup realms for each domain. How do I setup DOMAINA users to go to the DOMAINA domain controllers, and how do I setup DOMAINB users to go to DOMAINB domain controllers. I shouldn't really have to setup to go do different domain

Re: New checkItem from LDAP

2005-08-30 Thread Alan DeKok
Joe H [EMAIL PROTECTED] wrote: lines. lines 2 and 11 are other DEFAULT entries in the users file with fall-through set to yes. It skips right over the SNS-Enable checkItem. Ah. The users file isn't set up to do comparisons on check items. So I don't think it will work. Alan DeKok.

Re: how to run sql query on radius startup

2005-08-30 Thread Alan DeKok
Sergey Pariev [EMAIL PROTECTED] wrote: I probably haven't phrased my question clear enough. I wanted to ask about preferred strategies of dealing with data consistency at the db-level of the radius-based setup What DB consistency problems are you worried about? I can't think of any. is

Re: how to run sql query on radius startup

2005-08-30 Thread Sergey Pariev
Alan DeKok пишет: Sergey Pariev [EMAIL PROTECTED] wrote: I probably haven't phrased my question clear enough. I wanted to ask about preferred strategies of dealing with data consistency at the db-level of the radius-based setup What DB consistency problems are you worried about? I can't

RE: How to configure freeradius to answer on two IP addresses

2005-08-30 Thread Stefan A.
Nicolas, It Works like you've described. Thanks Stefan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Baradakis Sent: Tuesday, August 30, 2005 1:13 PM To: FreeRadius users mailing list Subject: Re: How to configure freeradius to

TTLS-PAP only option for LDAP backend?

2005-08-30 Thread Cian Phillips
Thanks to Alan, Thor and Vladmir for getting me this far. grin I have TTLS-PAP working and authenticating against our OSX LDAP server. I was wondering if anyone has had any success getting Microsoft clients to use TTLS-PAP without installing additional software as suggested in this