Authenticate - passwords in posgresql with sha1

2004-08-22 Thread Ivan Hernández Serrano
Hi, I'm using my freeradius-1.0.0 with Postgresql (7.4.2), everything
goes fine. Now, I'm trying to authenticate to my users using my existing
user/password database infrastructure, the thing is that the passwords
in my database are not in clear text, they are stored using sha1 and as
far as I know the text that freeradius expects should be in clear text. 

The question is: Is there any chance that I can use my passwords in
sha1? 

thanks in advance, 
ivan 

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


RE : "#" translated to "=23" in rlm_sql

2004-08-22 Thread MINODIER David RD-RESA-LAN
many thx for that info. I had a problem with "!" ! 
David

> -Message d'origine-
> De : [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] De la 
> part de João Filipe Frade
> Envoyé : vendredi 20 août 2004 11:48
> À : [EMAIL PROTECTED]
> Objet : RE: "#" translated to "=23" in rlm_sql
> 
> 
> > FreeRadius then translates the "#" to "=23".
> > This is the output from radiusd -X:
> 
> In sql.conf:
> Change:
> safe-characters = 
> "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567
> 89.-_: /"
> To:
> safe-characters = 
> "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567
> 89.-_: /#"
> 
> Joao Frade
> 
> P.S: Before version 1.0.0 e had a patch to do this... Great work!
> 
> - 
> 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: Compile problem - cannot find -lz

2004-08-22 Thread Paul Hampson
On Sun, Aug 22, 2004 at 06:23:06PM -0400, SPROUSE Troy F wrote:
> OK, I have fixed my problem that started this thread below by installing
> zlib-devel but now I am getting the following while running 'make'.

> Making static dynamic in rlm_x99_token...
> gmake[6]: Entering directory
> `/tmp/freeradius-1.0.0/src/modules/rlm_x99_token'
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall
> -D_GNU_SOURCE -DNDEBUG  -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\"
> -DFREERADIUS -c x99_rlm.c -o x99_rlm.o
> In file included from x99_rlm.c:54:
> x99.h:26:42: openssl/des.h: No such file or directory

Looks like you've either not got OpenSSL headers, or not told FreeRADIUS
where to find 'em.

-- 
Paul "TBBle" Hampson, on an alternate email client.

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


RE: Compile problem - cannot find -lz

2004-08-22 Thread SPROUSE Troy F
OK, I have fixed my problem that started this thread below by installing
zlib-devel but now I am getting the following while running 'make'.

Making static dynamic in rlm_x99_token...
gmake[6]: Entering directory
`/tmp/freeradius-1.0.0/src/modules/rlm_x99_token'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall
-D_GNU_SOURCE -DNDEBUG  -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\"
-DFREERADIUS -c x99_rlm.c -o x99_rlm.o
In file included from x99_rlm.c:54:
x99.h:26:42: openssl/des.h: No such file or directory
In file included from x99_rlm.c:54:
x99.h:146: parse error before "des_cblock"
x99.h:146: warning: no semicolon at end of struct or union
x99.h:147: warning: type defaults to `int' in declaration of
`x99_user_info_t'
x99.h:147: warning: data definition has no type or storage class
x99.h:152: parse error before "des_cblock"
x99.h:153: parse error before "des_cblock"
x99.h:165: parse error before "des_cblock"
x99.h:166: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:166: parse error before "keyblock"
x99.h:170: parse error before "x99_user_info_t"
x99.h:180: parse error before "des_cblock"
x99.h:182: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:182: parse error before "keyblock"
x99_rlm.c: In function `x99_token_authorize':
x99_rlm.c:294: parse error before "user_info"
x99_rlm.c:331: `user_info' undeclared (first use in this function)
x99_rlm.c:331: (Each undeclared identifier is reported only once
x99_rlm.c:331: for each function it appears in.)
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:460: parse error before "user_info"
x99_rlm.c:492: `user_info' undeclared (first use in this function)
x99_rlm.c:550: warning: deprecated use of label at end of compound statement
gmake[6]: *** [x99_rlm.o] Error 1
gmake[6]: Leaving directory
`/tmp/freeradius-1.0.0/src/modules/rlm_x99_token'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/tmp/freeradius-1.0.0/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/tmp/freeradius-1.0.0/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/tmp/freeradius-1.0.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/freeradius-1.0.0/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/tmp/freeradius-1.0.0'
make: *** [all] Error 2

I have made any modifications to the original files from the package so I am
curious as to why I am getting this error now  Any help would be greatly
appreciated.

Troy

-Original Message-
From: SPROUSE Troy F 
Sent: Friday, August 20, 2004 1:31 PM
To: '[EMAIL PROTECTED]'
Subject: Compile problem - cannot find -lz

I am having a compile problem on RedHat 9.  I ran configure as ./configure
--includedir=/usr/include/mysql but below is the output after I run make.

gcc -shared  sql_mysql.lo  -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl
-lm  -Wl,-soname -Wl,rlm_sql_mysql-1.0.0.so -o .libs/rlm_sql_mysql-1.0.0.so
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
gmake[10]: *** [rlm_sql_mysql.la] Error 1
gmake[10]: Leaving directory
`/root/freeradius-1.0.0/src/modules/rlm_sql/drivers/rlm_sql_mysql'
gmake[9]: *** [common] Error 1
gmake[9]: Leaving directory
`/root/freeradius-1.0.0/src/modules/rlm_sql/drivers'
gmake[8]: *** [dynamic] Error 2
gmake[8]: Leaving directory
`/root/freeradius-1.0.0/src/modules/rlm_sql/drivers'
gmake[7]: *** [common] Error 1
gmake[7]: Leaving directory `/root/freeradius-1.0.0/src/modules/rlm_sql'
gmake[6]: *** [dynamic] Error 2
gmake[6]: Leaving directory `/root/freeradius-1.0.0/src/modules/rlm_sql'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/root/freeradius-1.0.0/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/freeradius-1.0.0/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/root/freeradius-1.0.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius-1.0.0/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/root/freeradius-1.0.0'
make: *** [all] Error 2

Any help would be appreciated.

Thank you,
Troy

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


Accounting in Dialup-Admin

2004-08-22 Thread Rico Spiesberger
Hi,
I need some help.
I use an Ascent MAX for ISDN-dialin and a Cisco 7200 for DSL an the 
freeradius with the dialup admin for userauth.

In the accounting i see the IP-Adresses from the users, all works fine. 
But there is no IP from the users coming from
the Ciscoall other data is ok...onlinetime, transfered data but no ip...

What can i do?
cya! Rico

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