Package: freeradius-dialupadmin
Version: 1.0.2-4
Severity: normal
My tot_stats perl script stops will the following error:
ERROR 1045 (28000): Access denied for user 'radius'@'localhost' (using
password: NO)
Here is a diff which fixes the problem at my system:
--- tot_stats 2005-04-06 05:04:10.000000000 +0200
+++ /usr/share/freeradius-dialupadmin/bin/tot_stats 2005-05-14
16:33:55.945081592 +0200
@@ -28,7 +28,7 @@
die "sql_command directive is not set in admin.conf\n" if ($sqlcmd eq '');
die "Could not find sql binary. Please make sure that the \$sqlcmd variable
points to the right location\n" if (! -x $sqlcmd);
-$sql_password = ($sql_password == '') ? '' : "-p$sql_password";
+$sql_password = (!$sql_password) ? '' : "-p$sql_password";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
$date_start = POSIX::strftime("%Y-%m-%d %T",0,0,0,($mday -
1),$mon,$year,$wday,$yday,$isdst);
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages freeradius-dialupadmin depends on:
ii apache [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii apache-ssl [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii php4 4:4.3.10-16 server-side, HTML-embedded scripti
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]