Apache is running as www and it can open and read file. But still I am getting the same error.
On 7/29/2007, "Kostas Kalevras" <[EMAIL PROTECTED]> wrote: >O/H Bishal ÎγÏαÏε: >> I am trying to use freeradius 1.1.7 in Freebsd 6.2 with openldap 2.3.37 >> for authentication and mysql for accounting. >> >> While creating new user I get following error in dialup admin page: >> >> Warning: file(/usr/local/etc/raddb/ldap.attrmap) [function.file]: failed >> to open stream: Permission denied in >> /usr/local/www/apache22/data/dialupadmin/lib/ldap/attrmap.php3 on line 4 >> >I think the problem is exactly what is written. Check the persmissions >to the /usr/local/etc/raddb/ldap.attrmap file. Especially check that the >apache process (usually runs as nobody) can open the file. >> Warning: Invalid argument supplied for foreach() in >> /usr/local/www/apache22/data/dialupadmin/lib/ldap/attrmap.php3 on line 5 >> >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> > > >-- >Kostas Kalevras - Network Operations Center >National Technical University of Athens >http://kkalev.wordpress.com > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html