Re: exec-program-wait problem with freeradius 2.0.3

2008-04-16 Thread Emmanuel Willems




Thank you for your feedback and sorry for the confusion.
The program is being executed and returning the correct result, but I
still can't authenticate.
I'm using EAP-TTLS-PAP to connect to a Cisco Aironet AP1200.
Using the same sql db in freeradius 1.1.3 it works, but not with
freeradius 2.0.3.

Any suggestions,

Emmanuel


Alan DeKok wrote:

  Emmanuel Willems wrote:
  
  
 Here is a relevant part of the debug log:

  
  ...
  
  

   Tue Apr 15 14:36:27 2008 : Auth: Login OK: [000d2885af3e/000d2885af3e]
 (from client wlan-sen port 737 cli 000d.2885.af3e)
 Tue Apr 15 14:36:27 2008 : Debug: +- entering group post-auth
 Tue Apr 15 14:36:27 2008 : Debug:   modsingle[post-auth]: calling exec
 (rlm_exec) for request 0
 Tue Apr 15 14:36:28 2008 : Debug: Exec-Program output:
 Tue Apr 15 14:36:28 2008 : Debug: Exec-Program: returned: 0
  

  
  
  What's the problem?  It's calling your program.

  Alan DeKok.
  


-- 

  

  Ingnieur-systme
  
  Systeem ingenieur
  System
engineer


  Snat de
Belgique
Place de la Nation 1
1009 Bruxelles
  Belgische
Senaat 
Natieplein 1
1009 Brussel
  Belgian
Senate 
Place de la Nation 1
1009 Brussels
Belgium


  e-mail:
[EMAIL PROTECTED]
URL: http://www.senate.be
tel: +32 (2)
501.72.39
fax: +32 (2) 514.06.85
  

  




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

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-15 Thread Emmanuel Willems

I added exec in post-auth in sites-enabled/default and 
sites-enabled/inner-tunnel and it's still no go.
Did i miss something?

Thankx,

Emmanuel

Alan DeKok wrote:

Emmanuel Willems wrote:

 All works well in version 1.1.3 but the script does not get called in
 version 2.0.3


  List 'exec' in the post-auth section.

  Alan DeKok.


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


exec-program-wait problem with freeradius 2.0.3

2008-04-14 Thread Emmanuel Willems

Hi,

I'm carrying out tests with 2 versions for freeradius 1.1.3 and 2.0.3 .
I'm trying to use Exec-Program-Wait to run a script to do some extra 
checking.

Both setups use the same MySQL database
All works well in version 1.1.3 but the script does not get called in 
version 2.0.3
The SQL statements generated with both the 1.1.3 and 2.0.3 are identical 
and return the same result.


But version 1.1.3 of freeradius  runs the script while  version 2.0.3 
does not.


Any ideas?

Thanks in advance,

Emmanuel

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