Re: Logging to radius.log

2002-06-26 Thread Ali
set all log_xx parameters to yes e.g u may set log_auth = yes for authentication logs in radius.log. -Ali - Original Message - From: "Adi Linden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 7:17 PM Subject: Logging to radius.log > Running radiusd

Re: 0.6 SegFault in rlm_preprocess

2002-06-26 Thread Dave
Uhh...I think I forgot something... What is the flag to compile radiusd with all modules built statically and no dependencies?? I think the problem is that the new radiusd is using the 0.5 rlm libsooops! -Dave > radiusd -X output (gdb output below) > > [root@ns1 root]# /usr/local/sbin/r

Re: 0.6 SegFault in rlm_preprocess

2002-06-26 Thread Dave
radiusd -X output (gdb output below) [root@ns1 root]# /usr/local/sbin/radiusd.new -X -p 1645 Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /etc/radius/clients.conf main: prefix = "/usr/local" main: localstatedir = "/var" main: logdir

Re: radiusd dumps core on solaris

2002-06-26 Thread Aqeel Anwar
sed gdb version 4.18 and the OS is solaris 7. The freeradius used is freeradius-snapshot-20020626. Please let me know when I run /usr/local/sbin/radiusd, then why it dumps core?. The lib files: libltdl.a, libltdl.al, libltdl.so, libltdl.so.0, libltdl.so.0.1.2 are present in /usr/local/lib and ltdl.h

Re: strip domain and ldap

2002-06-26 Thread Brian Leung
hi all, i found that if i add one more uid item in the ldap object and the problem seems solve, such as dn: uid=test, o=test.com uid: test uid: [EMAIL PROTECTED] . . . Regards, Brian Leung System Engineer Pacific Supernet On Thu, 27 Jun 2002, Brian Leung wrote: > hi all, > i have t

0.6 SegFault in rlm_preprocess

2002-06-26 Thread California Internet Customer Service
Hi all, Due to intermittent problems with 0.5 I grabbed snapshot of 0.6 and with the same ./configure options and same radiusd.conf file 0.6 now seg faults in rlm_preprocess according to radiusd -X and a gdb backtrace with a "file not found" error. Any ideas?? Here is radiusd.conf prefix

strip domain and ldap

2002-06-26 Thread Brian Leung
hi all, i have the following problem: when i enter the login name: [EMAIL PROTECTED] and in realms test.com is "strip" but when i authenticate it with ldap, i can see the authentication uid is [EMAIL PROTECTED] but not test. Therefore, the authentication is failed. how can it solve? thank you Re

Re: Proxy radius based on dialled number

2002-06-26 Thread James Taylor
Thanks Chris and Alan! That is just so wonderful I can hardly hold back my tears of joy! :) Freeradius has a solution for *everything*! Keep up the great work freeradius people! Thanks, James. -- James Taylor BSc (Computer Science) Systems Administrator - Commerce Australia Phone: +618 9226

Debugging Tips

2002-06-26 Thread Dave
Hello all, Does anyone have a tip for debugging an intermittent authorization/authentication problem? I am running FreeRadius 0.5 on Linux using: ./configure --prefix=/usr/local --sysconfdir=/etc/radius --mandir=/usr/share/man --localstatedir=/var --with-logdir=/var/log --with-radacctdir=/var/

dialup_admin

2002-06-26 Thread George Costell
Hello list, Looks great FreeRadius, I installed the last version on a FreeBSD test it and working at least in test /text mode. The only problem is to make the Dialup_admin working. When I try to access whatever Accounting, Statistics, .. etc from the home page I get the message: ¨Fatal error: C

RE: assigning ldap variables in the reply

2002-06-26 Thread Kostas Kalevras
On Wed, 26 Jun 2002, Mike Denka wrote: > Thanks for the tip. The problem was that I left the ldap module > statement out of the authorize section of the config file. Once that is > fixed, it doesn't appear to matter what I put in the users file. > Whether I leave the lines in or take them out,

Re: Freeradius-Users digest, Vol 1 #829 - 13 msgs

2002-06-26 Thread Frank Cusack
On Wed, Jun 26, 2002 at 05:31:35PM -0300, Alexandre Strube wrote: > > Ok, but my doubt is: how can radius correctly check that a hash corresponds > to the password without knowing what salt was used to generate that hash? It does know the salt. In the crypt entry '$1$xofKQZIU$cc6n6NjIpaE42itF3Q

Re: pam_radius and Livingston

2002-06-26 Thread Florin Andrei
On Wed, 2002-06-26 at 14:12, Alan DeKok wrote: > Florin Andrei <[EMAIL PROTECTED]> wrote: > > > Jun 26 12:42:04 7E:diaspar sshd[130755]: pam_radius_auth: DEBUG: > > getservbyname(radius, udp) returned X. > > Jun 26 12:42:04 3E:diaspar sshd[130755]: pam_radius_auth: packet from > > RADIUS

Please pass the salt

2002-06-26 Thread Spike Ilacqua
> Ok, but my doubt is: how can radius correctly check that a hash > corresponds to the password without knowing what salt was used to > generate that hash? The salt is encoded in the encrypted password string and the crypt function can extract it. In the classic crypt(3) function it's the first

Re: pam_radius and Livingston

2002-06-26 Thread Florin Andrei
On Wed, 2002-06-26 at 14:12, Alan DeKok wrote: > Florin Andrei <[EMAIL PROTECTED]> wrote: > > > Jun 26 12:42:04 7E:diaspar sshd[130755]: pam_radius_auth: DEBUG: > > getservbyname(radius, udp) returned X. > > Jun 26 12:42:04 3E:diaspar sshd[130755]: pam_radius_auth: packet from > > RADIUS

RE: assigning ldap variables in the reply

2002-06-26 Thread Mike Denka
Thanks for the tip. The problem was that I left the ldap module statement out of the authorize section of the config file. Once that is fixed, it doesn't appear to matter what I put in the users file. Whether I leave the lines in or take them out, the resulting reply items to the radius client a

SQLCounter.

2002-06-26 Thread Alexandre Strube
Hello, After much trying, I still cannot get sqlcounter to work. ##FROM RADIUSD.CONF sqlcounter monthlycounter { counter-name = Monthly-Session-Time check-name = Max-Monthly-Session sqlmod-inst = sql key = User-Name

Re: pam_radius and Livingston

2002-06-26 Thread Alan DeKok
Florin Andrei <[EMAIL PROTECTED]> wrote: > We're trying to compile the pam_radius module on Irix. There are a few > gotchas, mainly compiler weirdness and pointers fun :-) but we got it to > the point where it sends a Radius packet to the server and it parses the > reply. > That being said, it doe

Re: Freeradius-Users digest, Vol 1 #829 - 13 msgs

2002-06-26 Thread Jeme A Brelin
On Wed, 26 Jun 2002, Alexandre Strube wrote: > Ok, but my doubt is: how can radius correctly check that a hash > corresponds to the password without knowing what salt was used to > generate that hash? Right, you just don't understand how crypt works. Crypt is a one-way hash. The salt is thrown

MySQL and ids and such

2002-06-26 Thread Cosby, Christopher
Title: MySQL and ids and such Reading sql.conf says (summarized) "use any query/tables you want" and that item 0 should be "Row ID (currently unused)".  Great.  I want to ignore that id column and create a new primary key.  Is there any reason that I can't create a primary key on (UserName, At

Re: Freeradius-Users digest, Vol 1 #829 - 13 msgs

2002-06-26 Thread Alexandre Strube
On Wed, 26 Jun 2002 05:35:04 +0200, [EMAIL PROTECTED] wrote: >> Well, it doesn't look like. For example, look at the following three lines: >> all of them are hashes for the word 'test'. Any of them are valid, that is, >> if I log and type the password 'test' (without the quotes), any of these >>

pam_radius and Livingston

2002-06-26 Thread Florin Andrei
We're trying to compile the pam_radius module on Irix. There are a few gotchas, mainly compiler weirdness and pointers fun :-) but we got it to the point where it sends a Radius packet to the server and it parses the reply. That being said, it doesn't work. See debug info below at the end of the m

AIX

2002-06-26 Thread Administrator
HI, does anyone have a freeradius working on AIX? if so what version of aix are you running. I can not get freeradius to work to save my life. Always a core dump. Thanks! Tom - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Proxy radius based on dialled number

2002-06-26 Thread Chris Parker
At 02:41 PM 6/26/2002 +0800, James Taylor wrote: >Thanks Chris, you are a legend! > >That config did exactly what I want. :) > >However now I have a problem with accounting packets. >They seem to always be proxied off to the default realm no matter what. > >I guess this is because the users file i

how to use checkrad

2002-06-26 Thread Bertrand TACHAGO
Hi, I want to use checkrad but I'm not understand what is session_id. Please can someone explain it to me and where to find it? Thanks -- Bertrand TACHAGO Computer specialist, Network & Information Specialist SDNP SchoolNet Cameroon (237)221 25 53 Yaounde Cameroon My website: http://www.sdnp.cm/ta

Re: Proxy radius based on dialled number

2002-06-26 Thread Alan DeKok
James Taylor <[EMAIL PROTECTED]> wrote: > However now I have a problem with accounting packets. > They seem to always be proxied off to the default realm no matter what. > > I guess this is because the users file is not processed for accounting packets. > > Do you or anyone have any idea how I c

Re: Regular expressions syntax in users file

2002-06-26 Thread Alan DeKok
"Administrateur" <[EMAIL PROTECTED]> wrote: > I would like to know what is the exact syntax of regular expressions in = > the users file. > What would be the right one? > > attribute =~ "regexp" Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: radiusd dumps core on solaris

2002-06-26 Thread Alan DeKok
Aqeel Anwar <[EMAIL PROTECTED]> wrote: > However when I run radiusd, it dumps core file. When i > run it in debug mode, it dumps core after the > following line: > > read_config_files: entering modules setup > Segmentation Fault - core dumped See 'doc/BUGS' Alan DeKok. - List i

Default Auth-Type?

2002-06-26 Thread Jeme A Brelin
I'm just setting up freeradius here (0.5) and using a postgresql backend (patched the PQntuples issue -- read the archives first, of course). Anyway, I have a simple, stupid (ish) question. Is there a default Auth-Type? That may sound like a naive question, but... well, it is. I ask because I

Re: Who's connected on radius.log?

2002-06-26 Thread Bertrand TACHAGO
Thanks the guys. I fund and did it yesterday and it worked very fine. Cheers Alexandre Strube wrote: > On Tue, 25 Jun 2002 06:26:09 +0200, [EMAIL PROTECTED] wrote: > > >I did it and at now, everything is working more or less fine but i'm not able to >see in the radius.log file who is connected

How can I check if the server receives accounting packets 'Stop' as well

2002-06-26 Thread Bertrand TACHAGO
Hi everyone, How can I check if the server receives accounting packets 'Stop' as well and in particular when the light turn off or when the client (the portmaster) is suddently shutdown? Cheers -- Bertrand TACHAGO Computer specialist, Network & Information Specialist SDNP SchoolNet Cameroon (23

Re: assigning ldap variables in the reply

2002-06-26 Thread Kostas Kalevras
On Mon, 24 Jun 2002, Mike Denka wrote: > > > I'm sorry that this question seems so elementary, but I can't find > documentation to tell me what I need to know. If it's in doc/rlm_ldap I > can't find it. Anyway, the simple question is: How do I forward values > obtained from ldap attributes in

change of user password.

2002-06-26 Thread bhaskar baruah
Hi, I'm using freeradius-0.5 in a RedHat 7.1 box. In the radius server I'm using system's /etc/passwd for user verification. Can anyone tell me is there any way,using radius, can give the users a web based interface through which he/she can change his/her own password ? Thanx, Bhaskar. __