Re: Preside RADIUS Export

2005-10-23 Thread Ilia Chipitsine

what is rif ? and how users are stored with Preside ?
I'm running samba+ldap+freeradius, so if You need MS Chap v2, and if You 
can export users with NT hashes, it can be done easily.



Hello,

We have an older NT 4 server running an installation of Preside RADIUS
with a multitude of users & profiles. I've exported the users to a .rif
file - is this something that can somehow be imported into a freeRADIUS
install? I'll search for the "how" if it is possible.

Many thanks!

-Samson

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


Re: accounting scripts ?

2005-10-23 Thread Ilia Chipitsine

that depend on what You want.
probably You'll find many things to parse dialup "details", and less for
VoIP accounting.

I'd suggest pgsql-voip if You need VoIP stuff



Hello

I'm searching for scripts that are able to parse the 
radacct/xxx.xxx.xxx.xxx/detail-xxx file to perform

some simple statistics ?

Thanks

- 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: return ALL the AVPs for a username that belongs multiple groups

2005-10-23 Thread Alex M
Probably yes...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Seferovic Edvin
Sent: Sunday, October 23, 2005 10:42 PM
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

Fall-Through ???

Regards,

Edvin Seferovic

PS: is a user is matched to one group because of his connection-specific
attributes, he wont be accepted as a member of another group ( to
differentiate between modem and vpn users for example )...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Montag, 24. Oktober 2005 04:37
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

In config file there should be a line that will allow you to go to the next
parameter despite the fact that it alredy found muching record... that's a
theory, that I remember from documentation

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Sunday, October 23, 2005 10:14 PM
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

Can anybody help me with this?

Thanks in advance,

Lenir

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Friday, October 21, 2005 12:53 AM
To: 'FreeRadius users mailing list'
Subject: return ALL the AVPs for a username that belongs multiple groups

Hello list,

I have a user that belongs to multiple groups, lets say in the usergroup
table, I have username Paul_S that belongs to Group1, Group2 and Group3
(using a different row for each group membership). In the radgroupreply
table, I have multiple different attributes for each group.

When I do radius authentication for that username, it only returns the AVPs
for the first group match in the radgroupreply table, instead of returning
ALL the AVPs that match ALL the groups that the user belongs to. 

How can I make this happen?

Im using freeradius 1.0.5 and using mysql as the database.

Thanks


Lenir


- 
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

- 
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: return ALL the AVPs for a username that belongs multiple groups

2005-10-23 Thread Seferovic Edvin
Fall-Through ???

Regards,

Edvin Seferovic

PS: is a user is matched to one group because of his connection-specific
attributes, he wont be accepted as a member of another group ( to
differentiate between modem and vpn users for example )...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Montag, 24. Oktober 2005 04:37
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

In config file there should be a line that will allow you to go to the next
parameter despite the fact that it alredy found muching record... that's a
theory, that I remember from documentation

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Sunday, October 23, 2005 10:14 PM
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

Can anybody help me with this?

Thanks in advance,

Lenir

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Friday, October 21, 2005 12:53 AM
To: 'FreeRadius users mailing list'
Subject: return ALL the AVPs for a username that belongs multiple groups

Hello list,

I have a user that belongs to multiple groups, lets say in the usergroup
table, I have username Paul_S that belongs to Group1, Group2 and Group3
(using a different row for each group membership). In the radgroupreply
table, I have multiple different attributes for each group.

When I do radius authentication for that username, it only returns the AVPs
for the first group match in the radgroupreply table, instead of returning
ALL the AVPs that match ALL the groups that the user belongs to. 

How can I make this happen?

Im using freeradius 1.0.5 and using mysql as the database.

Thanks


Lenir


- 
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

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


RE: return ALL the AVPs for a username that belongs multiple groups

2005-10-23 Thread Alex M
In config file there should be a line that will allow you to go to the next
parameter despite the fact that it alredy found muching record... that's a
theory, that I remember from documentation

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Sunday, October 23, 2005 10:14 PM
To: 'FreeRadius users mailing list'
Subject: RE: return ALL the AVPs for a username that belongs multiple groups

Can anybody help me with this?

Thanks in advance,

Lenir

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Friday, October 21, 2005 12:53 AM
To: 'FreeRadius users mailing list'
Subject: return ALL the AVPs for a username that belongs multiple groups

Hello list,

I have a user that belongs to multiple groups, lets say in the usergroup
table, I have username Paul_S that belongs to Group1, Group2 and Group3
(using a different row for each group membership). In the radgroupreply
table, I have multiple different attributes for each group.

When I do radius authentication for that username, it only returns the AVPs
for the first group match in the radgroupreply table, instead of returning
ALL the AVPs that match ALL the groups that the user belongs to. 

How can I make this happen?

Im using freeradius 1.0.5 and using mysql as the database.

Thanks


Lenir


- 
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


RE: return ALL the AVPs for a username that belongs multiple groups

2005-10-23 Thread Lenir
Can anybody help me with this?

Thanks in advance,

Lenir

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lenir
Sent: Friday, October 21, 2005 12:53 AM
To: 'FreeRadius users mailing list'
Subject: return ALL the AVPs for a username that belongs multiple groups

Hello list,

I have a user that belongs to multiple groups, lets say in the usergroup
table, I have username Paul_S that belongs to Group1, Group2 and Group3
(using a different row for each group membership). In the radgroupreply
table, I have multiple different attributes for each group.

When I do radius authentication for that username, it only returns the AVPs
for the first group match in the radgroupreply table, instead of returning
ALL the AVPs that match ALL the groups that the user belongs to. 

How can I make this happen?

Im using freeradius 1.0.5 and using mysql as the database.

Thanks


Lenir


- 
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: meed help on sering freeradius with MySQL

2005-10-23 Thread Alex M








Ok, THANKS people I got it working!!!

 

What I did was that I instaleed absolutely
clean copy oh Red Hat, w/o any SQL files, that I went on mysql.com and
downloaded latest client and libraryes RPM packages and then installed them,
and then I did regular freeradius install w/o any additional config, and then I
authorized use of SQL in radius config file….

 

Works perfect!

 

Thanks again!!!

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005
3:20 PM
To: 'FreeRadius users mailing
list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Install the header files
( which should be automatically placed in /usr/include/mysql ), and then run
the configure script like

 

. ./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=

 

Just as marco said... that shouldn’t
be a problem !

 

Regards,

 

Edvin Seferovic

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
19:40
To: [EMAIL PROTECTED];
'FreeRadius users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Ok, I just tested that mysql client is
working… gladly the commands here are the same as on windows…. And
its as appears installed by default in Red hat… 

Now what folders does Free Radius needs to
work with MySQl, because when I did whereis mysql I got only “bin”
and “lib” folder?

 

 

 

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005
1:27 PM
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Hi,

 

while installing RedHat (
again I suppose ).. search for any packages which contain mysql in their name..
and simply installl them all.. you will get mysql-server, mysql-client and
mysql-libraries installed...after installation just type “whereis
mysql” and that will give you ( when correctly installed ) the paths to
mysql-libraries and header files... you should use those directories when
running 

 

./configure ( of
freeradius )... sometimes ./configure will look for mysql it self ( of course in
default paths ), but you may want to tell the configure script where your mysql
libs are.. just like marco wrote !

 

If you want to test
mysql-client, you will need a server too... but when properly installed –
there is no need of testing it...

 

Regards,

 

Edvin Seferovic









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
18:45
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

I tried that but it doesn’t work L what can I do?

 

Let me try to start all over again, I will
do:


 Install
 Red Hat
 Install
 MySQL Client
 Test
 MySQL Clint (How?)
 Install
 FreeRadius
 Allow
 use of SQL in config
 Run
 radiusd –X
 It
 wont work so I’ll be screwed again


 

Is that correct? Or any other suggestions,
cause this my sql feature is driving me crazy…. Im a windows engineer and
lot linux L

 

 









From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To: FreeRadius
 users mailing list
Subject: Re: meed help on sering
freeradius with MySQL



 

Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 






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

RE: Still no answer

2005-10-23 Thread Alex M
It says that"auth: No authenticate method (Auth-Type) configuration
found   for the
request: Rejecting the user"

which mean for me that configs are not correct, so brobably because you need
some supplement to jrarius like use of eap too I don't really know what
jradius is though   try first to run it as regular CHAP see what
happanes?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hannibal
Sent: Sunday, October 23, 2005 9:31 PM
To: freeradius-users@lists.freeradius.org
Subject: Still no answer

hi. i use jradius as authorize module. when jradius sent Access-Reject 
to freeradius, i got the following logs:
rad_recv: Access-Request packet from host 127.0.0.1:32876, id=1, length=62
--- Walking the entire request list ---
Waking up in 31 seconds...   
// why in 31 seconds, that will take a long time 
to send Access-Reject
Thread 8 got semaphore
Thread 8 handling request 67, (7 handled so far)
   User-Name = "test"
   User-Password = "test"
   Message-Authenticator = 0x5cc77d6981e1386f5260a10691c9ce74
 Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 67
 modcall[authorize]: module "preprocess" returns ok for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 0 (attr length: 0)
rlm_jradius: sending 117 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=0 len=0
rlm_jradius: reading request: config_item: len=0
 modcall[authorize]: module "jradius" returns updated for request 67
modcall: group authorize returns updated for request 67
auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user
auth: Failed to validate the user.
 Processing the post-auth section of radiusd.conf
modcall: entering group Post-Auth-Type for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 3 (attr length: 0)
rlm_jradius: packing attribute Post-Auth-Type (type: 1014; len: 4)
rlm_jradius: sending 133 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=3 len=0
rlm_jradius: reading request: config_item: len=16
rlm_jradius: reading attribute: type=1014; len=4
 modcall[post-auth]: module "jradius" returns updated for request 67
modcall: group Post-Auth-Type returns updated for request 67
Delaying request 67 for 1 seconds
Finished request 67
Going to the next request
Thread 8 waiting to be assigned a request
--- Walking the entire request list ---
Sending Access-Reject of id 1 to 127.0.0.1:32876
Cleaning up request 67 ID 1 with timestamp 435b0861
Nothing to do.  Sleeping until we see a request.

is there something to configure to reduce the waking up time span??
thank you.
still no answer, anyone help me, thank you very much!!!
- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

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


Still no answer

2005-10-23 Thread hannibal
hi. i use jradius as authorize module. when jradius sent Access-Reject 
to freeradius, i got the following logs:

rad_recv: Access-Request packet from host 127.0.0.1:32876, id=1, length=62
--- Walking the entire request list ---
Waking up in 31 seconds...   
// why in 31 seconds, that will take a long time 
to send Access-Reject

Thread 8 got semaphore
Thread 8 handling request 67, (7 handled so far)
  User-Name = "test"
  User-Password = "test"
  Message-Authenticator = 0x5cc77d6981e1386f5260a10691c9ce74
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 67
modcall[authorize]: module "preprocess" returns ok for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 0 (attr length: 0)
rlm_jradius: sending 117 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=0 len=0
rlm_jradius: reading request: config_item: len=0
modcall[authorize]: module "jradius" returns updated for request 67
modcall: group authorize returns updated for request 67
auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user

auth: Failed to validate the user.
Processing the post-auth section of radiusd.conf
modcall: entering group Post-Auth-Type for request 67
rlm_jradius: packing attribute User-Name (type: 1; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4)
rlm_jradius: packing packet with code: 1 (attr length: 92)
rlm_jradius: packing packet with code: 3 (attr length: 0)
rlm_jradius: packing attribute Post-Auth-Type (type: 1014; len: 4)
rlm_jradius: sending 133 bytes to jradius server
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=92
rlm_jradius: reading attribute: type=1; len=4
rlm_jradius: reading attribute: type=2; len=4
rlm_jradius: reading attribute: type=80; len=16
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=1052; len=4
rlm_jradius: reading packet: code=3 len=0
rlm_jradius: reading request: config_item: len=16
rlm_jradius: reading attribute: type=1014; len=4
modcall[post-auth]: module "jradius" returns updated for request 67
modcall: group Post-Auth-Type returns updated for request 67
Delaying request 67 for 1 seconds
Finished request 67
Going to the next request
Thread 8 waiting to be assigned a request
--- Walking the entire request list ---
Sending Access-Reject of id 1 to 127.0.0.1:32876
Cleaning up request 67 ID 1 with timestamp 435b0861
Nothing to do.  Sleeping until we see a request.

is there something to configure to reduce the waking up time span??
thank you.
still no answer, anyone help me, thank you very much!!!
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: meed help on sering freeradius with MySQL

2005-10-23 Thread Seferovic Edvin








Install the header files
( which should be automatically placed in /usr/include/mysql ), and then run
the configure script like

 

. ./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=

 

Just as marco said...
that shouldn’t be a problem !

 

Regards,

 

Edvin Seferovic

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
19:40
To: [EMAIL PROTECTED];
'FreeRadius users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Ok, I just tested that
mysql client is working… gladly the commands here are the same as on
windows…. And its as appears installed by default in Red hat… 

Now what folders does
Free Radius needs to work with MySQl, because when I did whereis mysql I got
only “bin” and “lib” folder?

 

 

 

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005
1:27 PM
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Hi,

 

while installing RedHat (
again I suppose ).. search for any packages which contain mysql in their name..
and simply installl them all.. you will get mysql-server, mysql-client and
mysql-libraries installed...after installation just type “whereis
mysql” and that will give you ( when correctly installed ) the paths to
mysql-libraries and header files... you should use those directories when
running 

 

./configure ( of
freeradius )... sometimes ./configure will look for mysql it self ( of course
in default paths ), but you may want to tell the configure script where your
mysql libs are.. just like marco wrote !

 

If you want to test mysql-client,
you will need a server too... but when properly installed – there is no
need of testing it...

 

Regards,

 

Edvin Seferovic









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
18:45
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

I tried that but it
doesn’t work L what can I do?

 

Let me try to start all
over again, I will do:


 Install Red Hat
 Install MySQL Client
 Test MySQL Clint (How?)
 Install FreeRadius
 Allow use of SQL in config
 Run radiusd –X
 It wont work so I’ll be screwed again


 

Is that correct? Or any
other suggestions, cause this my sql feature is driving me crazy…. Im a
windows engineer and lot linux L

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To: FreeRadius
 users mailing list
Subject: Re: meed help on sering
freeradius with MySQL



 

Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 






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

RE: meed help on sering freeradius with MySQL

2005-10-23 Thread Alex M








Ok, I just tested that mysql client is
working… gladly the commands here are the same as on windows…. And its
as appears installed by default in Red hat… 

Now what folders does Free Radius needs to
work with MySQl, because when I did whereis mysql I got only “bin”
and “lib” folder?

 

 

 

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005
1:27 PM
To: 'FreeRadius users mailing
list'
Subject: RE: meed help on sering
freeradius with MySQL



 

Hi,

 

while installing RedHat (
again I suppose ).. search for any packages which contain mysql in their name..
and simply installl them all.. you will get mysql-server, mysql-client and
mysql-libraries installed...after installation just type “whereis mysql”
and that will give you ( when correctly installed ) the paths to
mysql-libraries and header files... you should use those directories when
running 

 

./configure ( of
freeradius )... sometimes ./configure will look for mysql it self ( of course
in default paths ), but you may want to tell the configure script where your
mysql libs are.. just like marco wrote !

 

If you want to test
mysql-client, you will need a server too... but when properly installed –
there is no need of testing it...

 

Regards,

 

Edvin Seferovic









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
18:45
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering freeradius
with MySQL



 

I tried that but it doesn’t work L what can I do?

 

Let me try to start all over again, I will
do:


 Install
 Red Hat
 Install
 MySQL Client
 Test
 MySQL Clint (How?)
 Install
 FreeRadius
 Allow
 use of SQL in config
 Run
 radiusd –X
 It
 wont work so I’ll be screwed again


 

Is that correct? Or any other suggestions,
cause this my sql feature is driving me crazy…. Im a windows engineer and
lot linux L

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To: FreeRadius
 users mailing list
Subject: Re: meed help on sering
freeradius with MySQL



 

Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 






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

RE: meed help on sering freeradius with MySQL

2005-10-23 Thread Seferovic Edvin








Hi,

 

while installing RedHat (
again I suppose ).. search for any packages which contain mysql in their name..
and simply installl them all.. you will get mysql-server, mysql-client and
mysql-libraries installed...after installation just type “whereis mysql”
and that will give you ( when correctly installed ) the paths to
mysql-libraries and header files... you should use those directories when
running 

 

./configure ( of
freeradius )... sometimes ./configure will look for mysql it self ( of course
in default paths ), but you may want to tell the configure script where your
mysql libs are.. just like marco wrote !

 

If you want to test mysql-client,
you will need a server too... but when properly installed – there is no
need of testing it...

 

Regards,

 

Edvin Seferovic









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
18:45
To: 'FreeRadius
 users mailing list'
Subject: RE: meed help on sering
freeradius with MySQL



 

I tried that but it
doesn’t work L what can I do?

 

Let me try to start all
over again, I will do:


 Install Red Hat
 Install MySQL Client
 Test MySQL Clint (How?)
 Install FreeRadius
 Allow use of SQL in config
 Run radiusd –X
 It wont work so I’ll be screwed again


 

Is that correct? Or any
other suggestions, cause this my sql feature is driving me crazy…. Im a
windows engineer and lot linux L

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To: FreeRadius
 users mailing list
Subject: Re: meed help on sering
freeradius with MySQL



 

Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 






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

Setting up RADIUS with EAP

2005-10-23 Thread Keith Osburn
Hello everyone,

I'm having trouble setting up my RADIUS to use EAP.  Everthing appears
normal but the client never gets past "Attempting to Authenticate"

If anyone has experience solving this problem I'd appreciate any help
provided :-)

Regards,


 Log File***

Here is the log file from running /usr/sbin/radius -X -A

rad_recv: Access-Request packet from host 192.168.2.253:2049, id=0,
length=127
User-Name = "kosburn"
NAS-IP-Address = 192.168.2.253
Called-Station-Id = "0013109e63c9"
Calling-Station-Id = "00904b624e10"
NAS-Identifier = "0013109e63c9"
NAS-Port = 60
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000c016b6f736275726e
Message-Authenticator = 0x3fe229ff76ac5518897afd4bbacaade2
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 12
  modcall[authorize]: module "preprocess" returns ok for request 12
  rlm_eap: EAP packet type response id 1 length 12
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 12
rlm_realm: No '/' in User-Name = "kosburn", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "realmslash" returns noop for request 12
rlm_realm: No '@' in User-Name = "kosburn", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 12
users: Matched entry kosburn at line 1
  modcall[authorize]: module "files" returns ok for request 12
modcall: group authorize returns updated for request 12
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 12
  rlm_eap: EAP Identity
  rlm_eap: processing type tls
 rlm_eap_tls: Requiring client certificate
  rlm_eap_tls: Initiate
  rlm_eap_tls: Start returned 1
  modcall[authenticate]: module "eap" returns handled for request 12
modcall: group authenticate returns handled for request 12
Sending Access-Challenge of id 0 to 192.168.2.253:2049
EAP-Message = 0x010200060d20
Message-Authenticator = 0x
State = 0xbf80de34653e25d74ea49b2f2debeda9
Finished request 12
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.2.253:2049, id=0,
length=139
User-Name = "kosburn"
NAS-IP-Address = 192.168.2.253
Called-Station-Id = "0013109e63c9"
Calling-Station-Id = "00904b624e10"
NAS-Identifier = "0013109e63c9"
NAS-Port = 60
Framed-MTU = 1400
State = 0xbf80de34653e25d74ea49b2f2debeda9
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
Message-Authenticator = 0x65415f904ea823671c9fcdf5859edb5d
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 13
  modcall[authorize]: module "preprocess" returns ok for request 13
  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 13
rlm_realm: No '/' in User-Name = "kosburn", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "realmslash" returns noop for request 13
rlm_realm: No '@' in User-Name = "kosburn", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 13
users: Matched entry kosburn at line 1
  modcall[authorize]: module "files" returns ok for request 13
modcall: group authorize returns updated for request 13
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 13
  rlm_eap: Request found, released from the list
  rlm_eap: EAP NAK
 rlm_eap: EAP-NAK asked for EAP-Type/peap
  rlm_eap: processing type tls
  rlm_eap_tls: Initiate
  rlm_eap_tls: Start returned 1
  modcall[authenticate]: module "eap" returns handled for request 13
modcall: group authenticate returns handled for request 13
Sending Access-Challenge of id 0 to 192.168.2.253:2049
EAP-Message = 0x010300061920
Message-Authenticator = 0x
State = 0x0280af636895c756212430579c4c13bd
Finished request 13
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.2.253:2049, id=0,
length=213
User-Name = "kosburn"
NAS-IP-Address = 192.168.2.253
Called-Station-Id = "0013109e63c9"
Calling-Station-Id = "00904b624e10"
NAS-Identifier = "0013109e63c9"
NAS-Port = 60
Framed-MTU = 1400
State = 0x0280af6368

RE: meed help on sering freeradius with MySQL

2005-10-23 Thread Alex M








I tried that but it doesn’t work L what can I do?

 

Let me try to start all over again, I will
do:


 Install
 Red Hat
 Install
 MySQL Client
 Test
 MySQL Clint (How?)
 Install
 FreeRadius
 Allow
 use of SQL in config
 Run
 radiusd –X
 It
 wont work so I’ll be screwed again


 

Is that correct? Or any other suggestions,
cause this my sql feature is driving me crazy…. Im a windows engineer and
lot linux L

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To: FreeRadius users mailing list
Subject: Re: meed help on sering
freeradius with MySQL



 

Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 






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

RE: SUSE freeradius configuration

2005-10-23 Thread Seferovic Edvin








As always, be sure that
your Accees Point is allowed client to connect to the freeradius...

Then ( as said on the
website you have used ) – start radius with –XAx parameter to see the debugging
information ( that is radiusd –XAx )... then try to auth on your access point
and look what happens...

 

When you ask a question
next time – please include your debugging information, because no mailing list
user can actually know what your freeradius server is doing.. 

 

Regards,

 

Edvin Seferovic

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Esposito
Sent: Sonntag, 23. Oktober 2005
07:41
To:
freeradius-users@lists.freeradius.org
Subject: SUSE freeradius
configuration



 

I’m new to freeRadius and Linux (Suse) and need some
help.  I apologize but I really don’t know the question to ask because of
my limited knowledge of Linux and wireless technology, but I’ll give it a
try.  I setup freeRadius v1.0.2 on SUSE v9.0.  I have another NetWare
6.5 server installed hopefully to be used as the LDAP server that freeRadius
will use to get usernames and passwords from eDirectory via LDAP.  I
followed the following guide for my setup…

 

http://www.novell.com/coolsolutions/tip/15922.html

 

I’m using D-Link DWP-8200 access points which
supports WPA2/Enterprise.  I’ve setup this access point to point to my
SUSE server.  I can start Radius on the Linux box, but when I try to
connect through the access point, I am getting no response on the Radius
server.  Everything IP wise is fine, I can ping from everywhere and if I
change the Access Point to a Linksys WAP55AG, I get a login screen (not that I
know the format to put the username, password, and how domain would be used
with NetWare).  My client has the D-Link DWP-8200 access points, and I’d
like to get it working with this if possible so they don’t have to buy 50 new
access points.  I believe I’m trying to use EAP/TLS with LDAP
authentication.

 

I guess my question is, does the D-Link 8200-AP work
with freeRadius, and if so, does anyone know NetWare enough to give me a
hand.  I understand if that isn’t possible, but I thought I’d at least
try.  I’m sorry for being so vague, but maybe I can learn a little about
wireless security and authentication if anything.  The D-Link seems to
have the same settings as the Linksys, so I hope it can work.

 

Thanks-

Chris








--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005
 - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Any FreeRadius experts in NYC Area?

2005-10-23 Thread phpman
find out it from  http://www.freeradius.org!
and in this maillist ,many people can give you some advice !




2005/10/23, Casey Sung <[EMAIL PROTECTED]>:
> Hello everyone,
>
> I'm looking for a FreeRadius expert to setup and install in my company
> network.  If you're available for quick consulting work please let me know.
>
> Thank you
>
> Casey Sung
> Grace Corporate Park LLC
> [EMAIL PROTECTED]
> T) 212-300-2001
> www.corporatepark.net
> 501 Fifth Avenue, 3rd Floor, New York, NY 10017
> 255 West 36 Street, 8th Floor, New York, NY 10018
>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>


--
拳打intel
脚踢microsoft
力挺Linux
强顶open source

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


Any FreeRadius experts in NYC Area?

2005-10-23 Thread Casey Sung
Hello everyone,

I'm looking for a FreeRadius expert to setup and install in my company
network.  If you're available for quick consulting work please let me know.

Thank you
 
Casey Sung
Grace Corporate Park LLC
[EMAIL PROTECTED]
T) 212-300-2001
www.corporatepark.net
501 Fifth Avenue, 3rd Floor, New York, NY 10017
255 West 36 Street, 8th Floor, New York, NY 10018
 
 


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


Re: meed help on sering freeradius with MySQL

2005-10-23 Thread ho



Hi,For example the following line tells you that during installation the header files weren't foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor more information.it could look like (change to your environment!!!):./configure --with-mysql-include-dir= --with-mysql-lib-dir= --with-mysql-dir=marco 
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html