rlm_exec and 'No such file or directory' error

2010-11-17 Thread mark.leese
Hi, I'm using FreeRADIUS 2.1.3. At the end of the authorize section I need to call a Perl script to do some LDAP checking and either set the Auth-Type to Reject (to forcibly reject a user) or leave it set to whatever value FreeRADIUS has previously set (always LDAP). I used to do this with

Re: rlm_exec and 'No such file or directory' error

2010-11-17 Thread Alan DeKok
mark.le...@stfc.ac.uk wrote: I have the exec module enabled in the instantiate section of radiusd.conf and I have the following at the end of the authorize section in the sites-enabled/default file: if (control:Auth-Type == LDAP) { update control { Auth-Type =