Dear All:
[EMAIL PROTECTED]@How can I check
username/passowrd/calling-station-id. I can't use the
calling-station-id when I run external file. With
radiusd -X -A,folled is my log
module "eap" returns ok for request 7
modcall: group authenticate returns ok for request 7

radius_xlat:  '/usr/local/radius/etc/raddb/test jimmy
_ 
  localhost 20050203 14
/usr/local/radius/var/log/radius 0
/usr/local/radius/etc/raddb 2005-02-03 14:19:40'

Exec-Program: /usr/local/radius/etc/raddb/test jimmy _

  localhost 20050203 14
/usr/local/radius/var/log/radius 0
/usr/local/radius/etc/raddb 2005-02-03 14:19:40

Exec-Program output:
jimmy++_++_++1107411580++/usr/local/radius/var/log/radius/radacct++localhost

Reply-Message = ********************************
Exec-Program-Wait: 
plaintext:
jimmy++_++_++1107411580++/usr/local/radius/var/log/radius/radacct++localhost

Reply-Message = ********************************
Exec-Program: returned: 1

  
modcall[authorize]: module "suffix" returns noop for
request 8
  
rlm_eap: EAP packet type response id 223 length 43
  
rlm_eap: No EAP Start, assuming it's an on-going EAP 
conversation
  modcall[authorize]: module "eap" returns updated for
request 8
    
users: Matched jimmy at 107

radius_xlat:  '/usr/local/radius/etc/raddb/test jimmy
00-6a-25-00-00-a8 



followed is my configuration
  users:
    test User-Password == "1111"
         Exec-Program-Wait =
"usr/local/radius/etc/raddb/test $u $i"

  test:
     DB=/var/db/userlit
     if grep "$1:$2" $DB then
        exit 0
     else
        exit 1
     fi
  userlist:
     test:00-01-01-01-01-01

Thanks help

_______________________________________________________________________
Yahoo!奇摩電子信箱
[EMAIL PROTECTED]@信送愛心,Yahoo!奇摩兒童助學計畫
http://tw.promo.yahoo.com/2004charity/index.html

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

Reply via email to