Misc.c

2002-03-02 Thread Connie Liu

Hi Alan;
I got the error message in Redhat 7.1

==
misc.c: In function `ip_hostname':
misc.c:56: warning: passing arg 4 of `gethostbyaddr_r' from incompatible
pointer type
misc.c:56: warning: passing arg 5 of `gethostbyaddr_r' makes pointer from
integer without a cast
misc.c:56: warning: passing arg 6 of `gethostbyaddr_r' makes integer from
pointer without a cast
misc.c:56: too few arguments to function `gethostbyaddr_r'
misc.c:56: warning: assignment makes pointer from integer without a cast
misc.c:40: warning: unused variable `result'
misc.c: In function `ip_getaddr':
misc.c:89: warning: passing arg 5 of `gethostbyname_r' from incompatible
pointer type
misc.c:89: too few arguments to function `gethostbyname_r'
misc.c:89: warning: assignment makes pointer from integer without a cast
gmake[4]: *** [misc.o] Error 1
gmake[4]: Leaving directory
`/home/test/freeradius-snapshot-20020226/src/lib'
gmake[3]: *** [common] Error 1
=


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



Re: Misc.c - linux compile failure workaround

2002-03-02 Thread Randy Moore

At 05:29 PM 3/2/2002 +0800, you wrote:
Hi Alan;
I got the error message in Redhat 7.1

==
misc.c: In function `ip_hostname':
misc.c:56: warning: passing arg 4 of `gethostbyaddr_r' from incompatible
pointer type
misc.c:56: warning: passing arg 5 of `gethostbyaddr_r' makes pointer from
integer without a cast
misc.c:56: warning: passing arg 6 of `gethostbyaddr_r' makes integer from
pointer without a cast
misc.c:56: too few arguments to function `gethostbyaddr_r'
misc.c:56: warning: assignment makes pointer from integer without a cast
misc.c:40: warning: unused variable `result'
misc.c: In function `ip_getaddr':
misc.c:89: warning: passing arg 5 of `gethostbyname_r' from incompatible
pointer type
misc.c:89: too few arguments to function `gethostbyname_r'
misc.c:89: warning: assignment makes pointer from integer without a cast
gmake[4]: *** [misc.o] Error 1
gmake[4]: Leaving directory
`/home/test/freeradius-snapshot-20020226/src/lib'
gmake[3]: *** [common] Error 1
=

Hi,

You can work around this by undefining a couple of DEFINEs in 
src/include/autoconf.h.  Of course, this means you are still using the 
non-thread safe versions, but at least it compiles and runs.

/* Define if you have the gethostbyaddr_r function.  */
/* #define HAVE_GETHOSTBYADDR_R 1 */
#undef HAVE_GETHOSTBYADDR_R

/* Define if you have the gethostbyname_r function.  */
/* #define HAVE_GETHOSTBYNAME_R 1 */
#undef HAVE_GETHOSTBYNAME_R

Hope this helps.
Randy Moore
Axion Information Technologies, Inc.

email [EMAIL PROTECTED]
phone   301-408-1200
fax301-445-3947


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



sql db

2002-03-02 Thread Mohammed Berzig

Hello,
I like to configure FreeRadius to work with mysql database and supporte
counter.
But I don't see how to create this database, any one can help me with sql
scripts tocreate this database.
Sincerly.




-
ICOSNET votre provider.
   Webmail client!
http://www.aloline.com/



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



Re: Misc.c

2002-03-02 Thread Rainer Clasen

I wrote:
 Connie Liu wrote:
  miscc: In function `ip_hostname':
  miscc:56: warning: passing arg 4 of `gethostbyaddr_r' from incompatible
  pointer type
  miscc:56: warning: passing arg 5 of `gethostbyaddr_r' makes pointer from
  integer without a cast
  miscc:56: warning: passing arg 6 of `gethostbyaddr_r' makes integer from
  pointer without a cast
  miscc:56: too few arguments to function `gethostbyaddr_r'
  miscc:56: warning: assignment makes pointer from integer without a cast
  miscc:40: warning: unused variable `result'
 
 I'm not 100% sure, but this should be fixed in current CVS At least I
 was told, the patch was applied

Ok, current CVS fixes this only for Solaris As discussed on -devel,
different OSes use different interfaces for these functions


Rainer

-- 
KeyID=759975BD fingerprint=887A 4BE3 6AB7 EE3C 4AE0  B0E1 0556 E25A 7599 75BD

- 
List info/subscribe/unsubscribe? See http://wwwfreeradiusorg/list/usershtml



user interface

2002-03-02 Thread George

Has anyone developed a user interface for freeradius so that subscribers

 could check their own online times?



- 
List info/subscribe/unsubscribe? See http://wwwfreeradiusorg/list/usershtml



Re: RADIUS MSCHAP test program

2002-03-02 Thread Alan DeKok

carol [EMAIL PROTECTED] wrote:
 I downloaded freeradius-0.4 source code. RADIUS server works well
 with CHAP. I tried to test if the server support MS-CHAP and
 MS-CHAPv2. I am just wondering if you have any test program to do
 this.  Like radtest program works for password authentiencation.

  Not really.
 
 Or, does radclient support it? i.e. I can manually input
 User-Name=3Dtest, CHAP-Password=whatever after
 radclient starts. Is there a similar way I can test MS-CHAP?

  Not right now.

  As always, patches are welcome.

  Alan DeKok.

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



Re: LDAPS

2002-03-02 Thread Alan DeKok

Ted Frohling [EMAIL PROTECTED] wrote:
 Yes, I was not particularly clear on which security method I needed.  It
 is indeed SSL.

  Using TLS isn't terribly different (from a security point of view)
than SSL.

  In fact, TLS (from what I recall) is the successor to SSL.

  I started digging into the code and came to the same conclusion
 that right now it's not ready to do this.  We're weighing the cost of development
 and the cost of purchasing a commercial radius server that has the capability
 built in.

  g  I've seen commercial servers go from $5k to $50k.  And you
don't get source, or quick turn-around time for bug fixes.

  Right now we are evaluating the Steel-Belted Radius Server.  If we
 decide to start hacking, we will certainly give those patches back to the 
 freeradius project.

  Sounds good to me.

  Alan DeKok.

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



Re: Cisco VoIP Accounting

2002-03-02 Thread Alan DeKok

Lutrika Mufti R [EMAIL PROTECTED] wrote:
 I have noticed that the radius server doesn't log an accounting request =
 with the User-Name attribute set to null/empty. This is a lilttle bit of =
 a problem because in VoIP accounting, I don't need to set the User-Name =
 attribute. Is this the normal behaviour of freeradius, or am I doing =
 something wrong?

  Edit sql.conf, and change sql_user_name to %{User-Name:-none}

  See the list archives from last month for more examples.

  Alan DeKok.

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Oracle

2002-03-02 Thread Mohammad Saad

I have freeradius up and running from the text files and its great 
there. But now I've been trying to compile it with Oracle support and I 
seem to have run into a brick wall.

The module is apparently disabled, how do I go about turning it back on 
so I can have oracle support compiled in?

TIA

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



Re: user interface

2002-03-02 Thread Tarquin Douglass \(Astronet Internet Access\)

___
 This EMail has been scanned by Astronet/IONet VIRUS scan
Server and found to be clear of all known VIRUSES in my
definition files.
___

Yes I have and it is called AstroAdmin.
A final beta release of this software will be ready very soon.

It includes many features like billing, AAA accounting, network monitor,
webmail and support tickets as well as an online signup.

Monday is the term used to signify the eighth day of my work week.

Regards

Tarquin Douglass
Astronet Internet Access
Office: (031) 3094760
Home: (031) 2692954
Cel: (083) 5557890
_
http://www.astronet.co.za

- Original Message -
From: George [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 03, 2002 12:53 AM
Subject: user interface


 Has anyone developed a user interface for freeradius so that subscribers

  could check their own online times?



 -
 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: user interface

2002-03-02 Thread Kostas Kalevras

On Sat, 2 Mar 2002, George wrote:

 Has anyone developed a user interface for freeradius so that subscribers

  could check their own online times?



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


In the dialup_admin web interface there is the user_state.php3 page. It is not a
user interface but a page that will return usefull user accounting information
(daily/weekly connections/online time etc). You could then write your own web
page that will just read this page and present the numbers in a nice html
interface.
See the README file in the dialup_admin for an explanation of the returned
values from user_state.php3.

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]  National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf


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



Re: freeradius_tuning_guide

2002-03-02 Thread Mark Constable

On Sat, 2 Mar 2002 17:45, Kostas Kalevras wrote:
 Hello, here is a first draft for a freeradius tuning guide. It is mostly
 aimed at those using ldap/sql AAA. Suggestions and comments are welcome.

With permission I've updated this Wiki with the above guide so any input
can be applied directly to the Wiki itself.

 http://wiki.netserva.com/?page=FreeradiusTuningGuide

--markc

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