[EMAIL PROTECTED]

2005-09-08 Thread Lee Bobby

thank u for your reply.I have resolved this problem.
you are right.FreeRADIUS can't find the oracle library.

by the way,are you familair with OID.w
wanna keep in touch with u.

my msn:[EMAIL PROTECTED]

bobby from beijing


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


can not link to oracle DB

2005-09-07 Thread Lee Bobby

system:RH9
DB:oracle9i
freeradius0.9.3

I have complied the freeradius on RH9 and have setup the DB.But the failed 
to connect oracle9i


the error codes are below:
..
rlm_sql (/tmp/bobby//var/log/radius/sqltrace.sql): Ignoring unconnected 
handle 0..
rlm_sql (/tmp/bobby//var/log/radius/sqltrace.sql): There are no DB handles 
to use! skipped 1, tried to connect 0

 modcall[authorize]: module "sql" returns fail for request 0
modcall: group authorize returns fail for request 0
..

I am confirmed that the radius.conf and oraclesql.conf is right: the right 
DB user and password,the right DB server address.


I am really confused,Can anyone help me?


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


PAP configuration problem

2005-08-22 Thread Lee Bobby

hello,everyone,
I have written a client which send RADIUS packet to my freeradius 
server.There is problem about the PAP,like this:

..
modcall: group authorize returns ok for request 0
auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user

auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 86 to 222.28.113.244:1174

...

I have check the radiusd.conf and find the configuration like this:
...
# MODULE CONFIGURATION
modules {
pap {
encryption_scheme = md5
}
chap {
authtype = CHAP
}
pam {
   pam_auth = radiusd
}
unix {
cache = no
cache_reload = 600
radwtmp = ${logdir}/radwtmp
}
eap {
default_eap_type = md5
timer_expire = 60
md5 {
}
}
mschap {
   authtype = MS-CHAP
 }
}
..
#  Authorization
authorize {
preprocess
}

# Authentication.
authenticate {
Auth-Type PAP {
pap
}
}

I don't whether I forget the PAP config and where to add the configure.

Can anyone help me?

thank you all so much~~


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


about authentication with PAP

2005-08-18 Thread Lee Bobby

hi,all,
  I wanna use PAP to authenticate the users.But I don't know how to change 
the radiusd.conf.

 Can any one help me?
Bobby from Beijing.


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


how to uninstall freeradius0.9.3 from Red hat linux?

2005-08-11 Thread Lee Bobby

I wanna uninstall it and install another .tar freeradius.
Can anyone tell howto?


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


can I get the MD5 codes which is used to encode the origin passwd?

2005-08-09 Thread Lee Bobby

hello,everyone,
   I am tring to write a NAS codes,and I need a MD5 codes to encode the 
origin passwd.
   I use PAP mode.And the passwd is encoded by authenticator and key using 
MD5.I need such codes in C language.

   Can anyone help me?
regards


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


about the passwd in the database

2005-08-05 Thread Lee Bobby


hello,everyone, 
  I am trying to write a NAS software which is located in the user PC.But 
now,I meet problems: 
  I have read some codes of freeradius-0.9.3,and find that on the SERVER 
the user-passwd is make out of the MD5 digest.I also find that the server 
use the real user-passwd from the database to compare with the user-passwd 
from the RADISU packet. 
  Any one can help me to resolve the problem? Why the user-passwd is 
turned into real passwd which is used to compare with the passwd from the 
database? 
  Thank you for all reading my poor English. 
regards



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