Re: debugging with gdb/ddd

2003-12-10 Thread Joe Maimon
I believe the make install target may strip the objects.

gdb on the executable from the source directory. That works fine. If you 
use libtool in the build, gdb on the radiusd hidden in the .libs directory.

Hey! Look what I found in configure generated script.
# Check whether --enable-developer or --disable-developer was given.
Try that flag, reconfigure, recompile and reinstall

Shoujit Mitra wrote:

I have a very basic question regarding debugging radiusd
I guess in the top level Makefile CFLAGS= -ggdb
I when I try to run radiusd as
gdb radiusd
GDB  complains that no symbols found.

I believe I am missing something somewhere.  Please suggest how I can use
GDB/DDD  to setp through radiusd executable.
Thanks,
Shoujit
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 5:44 PM
Subject: Freeradius-Users digest, Vol 1 #2609 - 15 msgs
 

Send Freeradius-Users mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.cistron.nl/mailman/listinfo/freeradius-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than Re: Contents of Freeradius-Users digest...
Today's Topics:

  1. Re: filtering attributes in proxy (denz)
  2. Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
   

(Holger Schurig)
 

  3. RE: rlm_sql and huntgroups (Bart Van Daal)
  4. username changed in-transit (Holger Schurig)
  5. Re: filtering attributes in proxy (Chris Parker)
  6. RE: filtering attributes in proxy (Sergio Molina)
  7. Re: Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
   

(Alan DeKok)
 

  8. Re: rlm_sql and huntgroups (Alan DeKok)
  9. Re: dialup_admin (cvs last 12-04-2003) (Guy Fraser)
 10. Re: Setting attribute based on value of another attribute (Alan
   

DeKok)
 

 11. Re: Setting attribute based on value of another attribute (Dennis
   

Skinner)
 

 12. Re: username changed in-transit (Alan DeKok)
 13. Re: Freeradius 0.9.3 gone nuts when auth from sql?? (Alan DeKok)
 14. problem compiling rlm_eap_tls (Naman Latif)
 15. Running FreeRADIUS with user other than root (Michael Shanafelt)
--__--__--

Message: 1
From: denz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: filtering attributes in proxy
Date: Tue, 9 Dec 2003 11:59:54 +0600
Reply-To: [EMAIL PROTECTED]
   

but when I start the server I get this message ant the end, and
 

server
 

exits.

Module: Instantiated attr_filter (attr_filter)
radiusd.conf: attr_filter modules aren't allowed in 'pre-proxy'
sections -- they have no such method.
 

 shrug  Edit the source code for attr_filter to include a pre-proxy
section.
   

This is done in the latest CVS for post-proxy.  I've got a patch we've
used internally for pre-proxy.  I'll commit it today.
 

Has it been commited to cvs ?  I just downloaded. Couldn't see the
   

preproxy
 

method in rlm_attr_filter. I'd appreciate it very much right now.

   

-Chris
--
   \\\|||///  \  StarNet Inc.  \ Chris Parker
   \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
   | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
  \ Wholesale Internet Services -
 

http://www.megapop.net
 

-
List info/subscribe/unsubscribe? See
 

http://www.freeradius.org/list/users.html
   

--__--__--

Message: 2
To: [EMAIL PROTECTED]
From: Holger Schurig [EMAIL PROTECTED]
Subject: Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
Date: Tue, 09 Dec 2003 08:26:00 +0100
Reply-To: [EMAIL PROTECTED]
Is there a technical reason that EAP-TTLS and EAP-PEAP both need EAP-TLS
first?
--
Try Linux 2.6 from BitKeeper for PXA2x0 CPUs at
http://www.mn-logistik.de/unsupported/linux-2.6/


--__--__--

Message: 3
From: Bart Van Daal [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
Subject: RE: rlm_sql and huntgroups
Date: Tue, 9 Dec 2003 13:28:28 +0100
Reply-To: [EMAIL PROTECTED]
Thanks for your pointer Alan,
i've searched the list at
http://www.mail-archive.com/[EMAIL PROTECTED]/
but didn't come up with an answer.
When I put the Huntgroup-Name attribute in my radreply table;
everything works fine.
When I put it in the radgroupreply table in the same fashion;
it doesn't work
thanks for any help to the solution

Bart

-Original Message-
From: Alan DeKok [mailto:[EMAIL PROTECTED]
Sent: maandag 8 december 2003 19:27
To: [EMAIL PROTECTED]
Subject: Re: rlm_sql and huntgroups
Bart Van Daal [EMAIL PROTECTED] wrote:
   

is this a problem with hunt-groups or
with all other check items in the
mysql radgroupcheck table?
 

 It's a problem just with huntgroups.  See the list archives for a
description of the problem, and the solution.
 Alan DeKok.

-
List 

debugging with gdb/ddd

2003-12-09 Thread Shoujit Mitra
I have a very basic question regarding debugging radiusd
I guess in the top level Makefile CFLAGS= -ggdb
I when I try to run radiusd as
gdb radiusd

GDB  complains that no symbols found.

I believe I am missing something somewhere.  Please suggest how I can use
GDB/DDD  to setp through radiusd executable.


Thanks,
Shoujit

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 5:44 PM
Subject: Freeradius-Users digest, Vol 1 #2609 - 15 msgs


 Send Freeradius-Users mailing list submissions to
 [EMAIL PROTECTED]

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.cistron.nl/mailman/listinfo/freeradius-users
 or, via email, send a message with subject or body 'help' to
 [EMAIL PROTECTED]

 You can reach the person managing the list at
 [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Freeradius-Users digest...


 Today's Topics:

1. Re: filtering attributes in proxy (denz)
2. Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
(Holger Schurig)
3. RE: rlm_sql and huntgroups (Bart Van Daal)
4. username changed in-transit (Holger Schurig)
5. Re: filtering attributes in proxy (Chris Parker)
6. RE: filtering attributes in proxy (Sergio Molina)
7. Re: Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
(Alan DeKok)
8. Re: rlm_sql and huntgroups (Alan DeKok)
9. Re: dialup_admin (cvs last 12-04-2003) (Guy Fraser)
   10. Re: Setting attribute based on value of another attribute (Alan
DeKok)
   11. Re: Setting attribute based on value of another attribute (Dennis
Skinner)
   12. Re: username changed in-transit (Alan DeKok)
   13. Re: Freeradius 0.9.3 gone nuts when auth from sql?? (Alan DeKok)
   14. problem compiling rlm_eap_tls (Naman Latif)
   15. Running FreeRADIUS with user other than root (Michael Shanafelt)

 --__--__--

 Message: 1
 From: denz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: filtering attributes in proxy
 Date: Tue, 9 Dec 2003 11:59:54 +0600
 Reply-To: [EMAIL PROTECTED]

but when I start the server I get this message ant the end, and
server
exits.
   
Module: Instantiated attr_filter (attr_filter)
radiusd.conf: attr_filter modules aren't allowed in 'pre-proxy'
sections -- they have no such method.
  
 shrug  Edit the source code for attr_filter to include a pre-proxy
  section.
 
  This is done in the latest CVS for post-proxy.  I've got a patch we've
  used internally for pre-proxy.  I'll commit it today.

 Has it been commited to cvs ?  I just downloaded. Couldn't see the
preproxy
 method in rlm_attr_filter. I'd appreciate it very much right now.

 
  -Chris
  --
  \\\|||///  \  StarNet Inc.  \ Chris Parker
  \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
  | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
  oOo---(_)---oOo--\--
 \ Wholesale Internet Services -
http://www.megapop.net
 
 
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 



 --__--__--

 Message: 2
 To: [EMAIL PROTECTED]
 From: Holger Schurig [EMAIL PROTECTED]
 Subject: Unable to load EAP-Type/ttls, as EAP-Type/TLS is required first
 Date: Tue, 09 Dec 2003 08:26:00 +0100
 Reply-To: [EMAIL PROTECTED]

 Is there a technical reason that EAP-TTLS and EAP-PEAP both need EAP-TLS
 first?

 --
 Try Linux 2.6 from BitKeeper for PXA2x0 CPUs at
 http://www.mn-logistik.de/unsupported/linux-2.6/



 --__--__--

 Message: 3
 From: Bart Van Daal [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]'
 [EMAIL PROTECTED]
 Subject: RE: rlm_sql and huntgroups
 Date: Tue, 9 Dec 2003 13:28:28 +0100
 Reply-To: [EMAIL PROTECTED]

 Thanks for your pointer Alan,
 i've searched the list at
 http://www.mail-archive.com/[EMAIL PROTECTED]/
 but didn't come up with an answer.

 When I put the Huntgroup-Name attribute in my radreply table;
 everything works fine.
 When I put it in the radgroupreply table in the same fashion;
 it doesn't work

 thanks for any help to the solution

 Bart

 -Original Message-
 From: Alan DeKok [mailto:[EMAIL PROTECTED]
 Sent: maandag 8 december 2003 19:27
 To: [EMAIL PROTECTED]
 Subject: Re: rlm_sql and huntgroups


 Bart Van Daal [EMAIL PROTECTED] wrote:
  is this a problem with hunt-groups or
  with all other check items in the
  mysql radgroupcheck table?

   It's a problem just with huntgroups.  See the list archives for a
 description of the problem, and the solution.

   Alan DeKok.

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


 --__--__--

 Message: 4
 To: [EMAIL PROTECTED]
 From: Holger Schurig [EMAIL PROTECTED]
 Subject: username changed in-transit
 Date: Tue, 09 Dec 2003 15:58:41 +0100
 Reply-To: [EMAIL PROTECTED]

 I have xsupplicant (CVS with hardcoded username/password because