RE: 802.1x authentication

2006-07-07 Thread Jin Fan
Hi, all:
 
To further describe my challenge, here is debugging output from freeradius.  
One line says, "rlm_eap: Failed in EAP select".  I must have set up eap wrong.  
Could anyone help me out here?  Btw, in the following example, user 
"TRPZEDU\\jfan" tries to authenticate through 802.1x.  Thanks.
 
Jin
 
rad_recv: Access-Request packet from host 192.168.3.26:2, id=89, length=157
NAS-Port-Id = "1/1"
Calling-Station-Id = "00-0B-BE-D4-50-46"
Called-Station-Id = "00-0B-0E-13-74-C0:hotspot"
Service-Type = Framed-User
User-Name = "TRPZEDU\\jfan"
State = 0xdcfe3f22dc8680c7b0e05b3d498b6090
EAP-Message = 0x020200060319
NAS-Identifier = "Trapeze"
NAS-Port-Type = Wireless-802.11
NAS-IP-Address = 192.168.3.26
Message-Authenticator = 0xc846da111c9f48b4a5570fff318767a2
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 6
  modcall[authorize]: module "preprocess" returns ok for request 6
  modcall[authorize]: module "chap" returns noop for request 6
  modcall[authorize]: module "mschap" returns noop for request 6
rlm_realm: No '@' in User-Name = "TRPZEDU\jfan", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 6
  rlm_eap: EAP packet type response id 2 length 6
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 6
users: Matched entry DEFAULT at line 152
users: Matched entry DEFAULT at line 171
users: Matched entry TRPZEDU\jfan at line 228
  modcall[authorize]: module "files" returns ok for request 6
radius_xlat:  'TRPZEDU\\jfan'
rlm_sql (sql): sql_set_user escaped user --> 'TRPZEDU\\jfan'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE 
Username = 'TRPZEDU=5C=5C=5C=5Cjfan' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 3
rlm_sql (sql): User TRPZEDU\\jfan not found in radcheck
radius_xlat:  'SELECT 
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
  FROM radgroupcheck,usergroup WHERE usergroup.Username = 
'TRPZEDU=5C=5C=5C=5Cjfan' AND usergroup.GroupName = radgroupcheck.GroupName 
ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT 
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
  FROM radgroupreply,usergroup WHERE usergroup.Username = 
'TRPZEDU=5C=5C=5C=5Cjfan' AND usergroup.GroupName = radgroupreply.GroupName 
ORDER BY radgroupreply.id'
rlm_sql (sql): User TRPZEDU\\jfan not found in radgroupcheck
rlm_sql (sql): User not found
rlm_sql (sql): Released sql socket id: 3
  modcall[authorize]: module "sql" returns notfound for request 6
modcall: group authorize returns updated for request 6
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 6
  rlm_eap: Request found, released from the list
  rlm_eap: EAP NAK
 rlm_eap: EAP-NAK asked for EAP-Type/peap
 rlm_eap: No such EAP type peap
  rlm_eap: Failed in EAP select
  modcall[authenticate]: module "eap" returns invalid for request 6
modcall: group authenticate returns invalid for request 6
auth: Failed to validate the user.
Delaying request 6 for 1 seconds
Finished request 6
Going to the next request
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 89 to 192.168.3.26:2
EAP-Message = 0x04020004
Message-Authenticator = 0x
Trapeze-VLAN-Name = "vlan10"
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 5 ID 88 with timestamp 44ae6d5d
Cleaning up request 6 ID 89 with timestamp 44ae6d5d
Nothing to do.  Sleeping until we see a request.




From: [EMAIL PROTECTED] on behalf of Jin Fan
Sent: Thu 7/6/2006 5:22 PM
To: FreeRadius users mailing list
Subject: 802.1x authentication



Hi, All:

I need some pointers on how to set up 802.1x (PEAP/MSCHAP v.2)
authentication in freeradius.  Generating certificates? Modifying
configurations?   

Jin 

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


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

802.1x authentication

2006-07-06 Thread Jin Fan
Hi, All:

I need some pointers on how to set up 802.1x (PEAP/MSCHAP v.2)
authentication in freeradius.  Generating certificates? Modifying
configurations?

Jin  

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


RE: freeradius-mysql rpm

2006-06-19 Thread Jin Fan
Please read below.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Abul Monsur Mannan
Sent: Monday, June 19, 2006 10:29 AM
To: FreeRadius users mailing list
Subject: Re: freeradius-mysql rpm


First of all Thank U Jin Fan very much for the detail email.

Can U clarify something more !

1. Where(path) u unzip the rpm file ?
You can unzip the rpm anywhere you want.  I unzipped it in
WINDOW using 7-zip, then scp. Lol.
2. Would u please tell me about ur advice" Then load the first file "
- load means what ? copy or move ?
Yes, you COPY the file to /usr/lib/ directory.

Please light on me .

On 6/19/06, Jin Fan <[EMAIL PROTECTED]> wrote:
> I am using an older version of freeradius 1.0.2 and Fedora 4.
>
> My way to solve the missing rlm_sql_mysql.so problem is the following.
>
> 1.  I download the freeradius-mysql rpm package from this website. 
> http://rpmfind.net/linux/RPM/fedora/updates/1/i386/freeradius-mysql-0.
> 9.
> 3-1.1.i386.html
>
> 2.  Then I used 7-Zip to extract rlm_sql_mysql.so from the rpm.  There

> are two files in the rpm, rlm_sql_mysql-1.0.2.so and rlm_sql_mysql.so.

> The second file is the link file to the first file.
>
> 3.  Then load the first file into /use/lib/ folder, which contains all

> the link library files.  Make a link to the file and name it 
> rlm_sql_mysql.so.  You also need to use chmod command to change the 
> file permission.
>
> 4.  Restart freeradius server and it might run.
>
> You might need to find the correct rpm package for your system.
>
> Jin Fan
- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

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


RE: freeradius-mysql rpm

2006-06-19 Thread Jin Fan
It didn't work for me.  If you look closely, the rpm is for freeradius 1.0.2-2. 
 I am using freeradius 1.0.2.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leandro Pereira 
de Lima e Silva - ViaLink
Sent: Monday, June 19, 2006 10:03 AM
To: FreeRadius users mailing list
Subject: Re: freeradius-mysql rpm


Why don't just rpm -i freeradius-mysql-0.9.3-1.1.i386.rpm ?

Best regards, Leandro.
 
Jin Fan escreveu:
> I am using an older version of freeradius 1.0.2 and Fedora 4.
>
> My way to solve the missing rlm_sql_mysql.so problem is the following.
>
> 1.  I download the freeradius-mysql rpm package from this website. 
> http://rpmfind.net/linux/RPM/fedora/updates/1/i386/freeradius-mysql-0.
> 9.
> 3-1.1.i386.html
>
> 2.  Then I used 7-Zip to extract rlm_sql_mysql.so from the rpm.  There 
> are two files in the rpm, rlm_sql_mysql-1.0.2.so and rlm_sql_mysql.so. 
> The second file is the link file to the first file.
>
> 3.  Then load the first file into /use/lib/ folder, which contains all 
> the link library files.  Make a link to the file and name it 
> rlm_sql_mysql.so.  You also need to use chmod command to change the 
> file permission.
>
> 4.  Restart freeradius server and it might run.
>
> You might need to find the correct rpm package for your system.
>
> Jin Fan   
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Abul Monsur Mannan
> Sent: Monday, June 19, 2006 8:45 AM
> To: FreeRadius users mailing list
> Subject: Re: freeradius-mysql rpm
>
>
> First of all Thank You for your response.
>
> Actuallu I'm using Redhat Linux Enterprise 4 .I've 4 cds.After 
> installation, I've got Mysql_devel,mysql_client and mysql_server.But I 
> don't get any rlm_mysql.so file in any directory.
>
> In the meantime, I found the freeradius_mysql rpm from web and want to 
> install it. But my Q. is where should I install the file.I want your 
> Help...
>
> Please help me out of this problem.
> Thank You again.
>
> On 6/19/06, Kofi Adusei Koduah-Sarpong <[EMAIL PROTECTED]> wrote:
>   
>> It's on the one of cds I can't remember which one which version are
>> you using? Dvd or cds? Just look through the cds. I actually saw it 
>> this week while looking for it to make a package for a cobalt RaQ550 
>> box. It has the mysql rpm too. I'll try see which cd it's on when I 
>> get home. Hope this helped
>>
>> -Original Message-
>> From: Abul Monsur Mannan [mailto:[EMAIL PROTECTED]
>> Sent: 18 June 2006 14:56
>> To: FreeRadius users mailing list
>> Subject: freeradius-mysql rpm
>>
>> Dear FR users
>>
>> I've an enquiry.Please response.
>>
>> I'm using RHEL 4.It has no rlm_mysql.so files and I found that it has
>> no freeradius-mysql rpm either.
>>
>> So, can anyone help me providing the info. that where I find that rpm
>> for redhat linux enterprise 4 to use with freeradius-1.1.2?
>>
>> I'm looking fr ur response soon.
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>> 
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   


-- 
Leandro Pereira de Lima e Silva
http://www.vialink.com.br/
"A verdadeira medida do caráter de um homem é o que ele faria se soubesse que 
nunca seria descoberto." -- Thomas B. Macaulay

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

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


RE: freeradius-mysql rpm

2006-06-19 Thread Jin Fan
I am using an older version of freeradius 1.0.2 and Fedora 4.

My way to solve the missing rlm_sql_mysql.so problem is the following.

1.  I download the freeradius-mysql rpm package from this website.
http://rpmfind.net/linux/RPM/fedora/updates/1/i386/freeradius-mysql-0.9.
3-1.1.i386.html

2.  Then I used 7-Zip to extract rlm_sql_mysql.so from the rpm.  There
are two files in the rpm, rlm_sql_mysql-1.0.2.so and rlm_sql_mysql.so.
The second file is the link file to the first file.  

3.  Then load the first file into /use/lib/ folder, which contains all
the link library files.  Make a link to the file and name it
rlm_sql_mysql.so.  You also need to use chmod command to change the file
permission.

4.  Restart freeradius server and it might run.

You might need to find the correct rpm package for your system.

Jin Fan   

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Abul Monsur Mannan
Sent: Monday, June 19, 2006 8:45 AM
To: FreeRadius users mailing list
Subject: Re: freeradius-mysql rpm


First of all Thank You for your response.

Actuallu I'm using Redhat Linux Enterprise 4 .I've 4 cds.After
installation, I've got Mysql_devel,mysql_client and mysql_server.But I
don't get any rlm_mysql.so file in any directory.

In the meantime, I found the freeradius_mysql rpm from web and want to
install it. But my Q. is where should I install the file.I want your
Help...

Please help me out of this problem.
Thank You again.

On 6/19/06, Kofi Adusei Koduah-Sarpong <[EMAIL PROTECTED]> wrote:
> It's on the one of cds I can't remember which one which version are 
> you using? Dvd or cds? Just look through the cds. I actually saw it 
> this week while looking for it to make a package for a cobalt RaQ550 
> box. It has the mysql rpm too. I'll try see which cd it's on when I 
> get home. Hope this helped
>
> -Original Message-
> From: Abul Monsur Mannan [mailto:[EMAIL PROTECTED]
> Sent: 18 June 2006 14:56
> To: FreeRadius users mailing list
> Subject: freeradius-mysql rpm
>
> Dear FR users
>
> I've an enquiry.Please response.
>
> I'm using RHEL 4.It has no rlm_mysql.so files and I found that it has 
> no freeradius-mysql rpm either.
>
> So, can anyone help me providing the info. that where I find that rpm 
> for redhat linux enterprise 4 to use with freeradius-1.1.2?
>
> I'm looking fr ur response soon.
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
>
- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

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