joussecy
8 oct. 2007 à 14:15
Bonjour,
Bonjour,
Merci de votre réponse, mais resolu mon problème en créant directement ma base dans mysql et non en passant par phpmyadmin.
Après control mes utilisateurs sont bien dans la table radchek tout est ok.
En revanche je ne comprend pas l'origine du problème.
Voila la procedure que j'ai suivi :
Suppression de la base radius dans phpmyadmin
Dans un terminal en root
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.0.30-Debian_3-log Debian etch distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database radius;
Query OK, 1 row affected (0.04 sec)
mysql> grant all on radius.* to radius@'localhost' identified by 'epikoi';
Query OK, 0 rows affected (0.06 sec)
mysql> exit
Bye
zcat /usr/share/doc/freeradius/examples/mysql.sql.gz | mysql -u root -p radius
Enter password:
mysql -u radius -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 48
Server version: 5.0.30-Debian_3-log Debian etch distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> connect radius
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Connection id: 49
Current database: radius
mysql> show tables;
+------------------+
| Tables_in_radius |
+------------------+
| nas |
| radacct |
| radcheck |
| radgroupcheck |
| radgroupreply |
| radpostauth |
| radreply |
| usergroup |
+------------------+
8 rows in set (0.00 sec)
mysql>
Depuis plus de problème utilisateur phpmyprepaid sont bien dans la table radius
Ils passe également avec radtest
A cloture, dsl je ne sais pas comment on fait.
Cordialement
Cyril