RE: perl scripts

2006-03-11 Thread mnisay






From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 
On Behalf Of debikSent: Friday, March 10, 2006 8:41 
PMTo: FreeRadius users mailing listSubject: Re: perl 
scripts

 I have got onother mysql base and i 
wont to write perl script to tel the radius server to use the data in that 
database.

do you 
mean use MySQL for freeradius authentication?

  - Original Message - 
  From: 
  mnisay 
  To: 'FreeRadius users mailing 
  list' 
  Sent: Friday, March 10, 2006 11:26 
  AM
  Subject: RE: perl scripts
  
  
  
  Could somebody share with some 
  scripts that authorize users in radius.
  Im trying to write my own script, 
  but i don't find any docs.
  Could somebody help me.
  
  authorize users 
inradius?
  freeradius can authorize usersby 
  default.
  
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - Release 
  Date: 3/9/2006
  
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - Release 
  Date: 3/9/2006
  
  

  - List info/subscribe/unsubscribe? See 
  http://www.freeradius.org/list/users.html
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 
3/9/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006
 
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: HOW TO ATTACH A USER TO A SPECIFIC MAC ADDRESS

2006-03-11 Thread Phil Mayers

Aime wrote:

Hello,

How do I define a user in users file so that the user
can only be accepted from a given mac address ?

In the following exemple , what must I replace .
with in the check items ? :

user1User-Password == passwd  .


That is not a FreeRadius question. It depends on what your NAS (switch, 
AP) sends. Run ethereal or the server in debug mode to find out.


In my experience, this is most common:

user1 User-Password := 'foo', Calling-Station-Id == '00-11-22-33-44-55'
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: NAS MAC Addres Atribute

2006-03-11 Thread Phil Mayers

Alex M wrote:

Hi

Is the attribute for NAS MAC address is: “NAS-Identifier”?


Most NASes don't send their own MACs as far as I know. I cannot imagine 
why it would be useful to key off MAC.


NAS-Identifier is usually the hostname or something similar.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: perl scripts

2006-03-11 Thread debik



Yes. But that onother database is not in radius 
format like: op, value, etc. So I have to write a perl script.


  - Original Message - 
  From: 
  mnisay 
  To: 'FreeRadius users mailing 
  list' 
  Sent: Saturday, March 11, 2006 11:27 
  AM
  Subject: RE: perl scripts
  
  
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] 
  On Behalf Of debikSent: Friday, March 10, 2006 8:41 
  PMTo: FreeRadius users mailing listSubject: Re: perl 
  scripts
  
   I have got onother mysql base and 
  i wont to write perl script to tel the radius server to use the data in that 
  database.
  
  do 
  you mean use MySQL for freeradius authentication?
  
- Original Message - 
From: 
mnisay 
To: 'FreeRadius users 
mailing list' 
Sent: Friday, March 10, 2006 11:26 
AM
Subject: RE: perl scripts



Could somebody share with some 
scripts that authorize users in radius.
Im trying to write my own 
script, but i don't find any docs.
Could somebody help me.

authorize users 
inradius?
freeradius can authorize usersby 
default.

--No virus found in this incoming message.Checked by 
AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - 
Release Date: 3/9/2006

--No virus found in this outgoing message.Checked by 
AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - 
Release Date: 3/9/2006



- List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/278 - Release 
  Date: 3/9/2006
  
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.375 / Virus Database: 268.2.1/279 - Release 
  Date: 3/10/2006
  
  

  - 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: NAS MAC Addres Atribute

2006-03-11 Thread Zoltan A. Ori
On Friday 10 March 2006 22:25, Alex M wrote:
 Hi

 Is the attribute for NAS MAC address is: NAS-Identifier?


Examine what your NAS sends, read the NAS docs.  My devices send the NAS MAC 
address as Called-Station-Id. Yours may be different or not send it at all.

Zoltan Ori

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


Re: perl scripts

2006-03-11 Thread Thor Spruyt
SEND PLAIN TEXT!!!

You can change the SQL queries in the sql configuration file.

If you really want to use a perl script, then go have rlm_exec and rlm_perl
at your disposal... read the docs.

--
Groeten, Regards, Salutations,

Thor Spruyt
M: +32 (0)475 67 22 65
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com

www.salesguide.be
www.telenethotspot.be

- Original Message -
From: debik
To: FreeRadius users mailing list
Sent: Saturday, March 11, 2006 2:43 PM
Subject: Re: perl scripts


Yes. But that onother database is not in radius format like: op, value, etc.
So I have to write a perl script.

- Original Message -
From: mnisay
To: 'FreeRadius users mailing list'
Sent: Saturday, March 11, 2006 11:27 AM
Subject: RE: perl scripts







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org] On Behalf Of debik
Sent: Friday, March 10, 2006 8:41 PM
To: FreeRadius users mailing list
Subject: Re: perl scripts


   I have got onother mysql base and i wont to write perl script to tel the
radius server to use the data in that database.

do you mean use MySQL for freeradius authentication?
- Original Message -
From: mnisay
To: 'FreeRadius users mailing list'
Sent: Friday, March 10, 2006 11:26 AM
Subject: RE: perl scripts




  Could somebody share with some scripts that authorize users in radius.
  Im trying to write my own script, but i don't find any docs.
  Could somebody help me.

authorize users in radius?
freeradius can authorize users by default.



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006




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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006




-
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: Password Logging

2006-03-11 Thread andre kip
Hi Craig!

I haven't found out where this rlm_detail module is
for logging information. Where are these files? I
guess it is not a file with *.so ending.

Trüffel

--- Craig T. Hancock [EMAIL PROTECTED] schrieb:

 Alan,
 
 When I grep the source tree for pair-attribute I
 could only find
 11 files that reference it. I understand that pair
 is a pointer and
 attribute is the field of the structure. I just
 can't find the
 structure definition to confirm this.
 
 If I had to guess (and I am somewhat guessing at
 this point due to my
 knowledge of the Code Tree). The attribute would be
 PW_USER_PASSWORD.
 
 If you can confirm this or direct me to the source
 file has the
 structure definitions I would appreciate it.
 
 
 
 Alan DeKok wrote:
  Craig T. Hancock [EMAIL PROTECTED] wrote:
  
 As far as what to change what is the
 pair-attribute
 for User-Password statement. I would presume it
 would be
 PW_PASSWORD_REQUEST.
  
  
Huh?  Why?
  
What's wrong with using grep to search the
 source, to find out the
  proper name?
  
Alan DEKok.
  
  - 
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
  
 
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 







___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


help

2006-03-11 Thread toni



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


Re: Realms allowed to some huntgroup

2006-03-11 Thread Alan DeKok
Walter Reynolds [EMAIL PROTECTED] wrote:
 Currently I am running version 1.0.4

  You should upgrade to 1.1.0, but that's another story.

   1. How can I authenticate realms differently.
   2. Can I set up logging based on Realm

  Key off of the Realm attribute.

 Well this works and Wireless and VPN can sign in.  The thing is I want 
 wireless to work this way, but I want VPN to only work with no domain 
 logins.

  Key off of the VPN attributes and the realm.

..
DEFAULT Some-VPN-Stuff = value, Realm != NULL, Auth-Type := Reject

...
 Question number two is can I separate the accounting for the realms to 
 different logfiles?

  Yes.  Edit the configuration for rlm_detail to include the Realm
attribute in the file name.

  Alan DeKok.

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