freeradius + sqlippool
Bonjour à tous,
j'ai réussi à faire marcher freeradius + sql + sqlippool, j'ai pu installer une version qui ne comporte pas de bug par contre j'ai ce message d'erreur lors de l'allocation de l'ip
rlm_sql (sql): Released sql socket id: 4
[sqlippool] pool appears to be full
[sqlippool] expand: IP Allocation FAILED from %{control:Pool-Name} (did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name}) -> IP Allocation FAILED from test_pool (did cli port 1812 user tahar)
IP Allocation FAILED from test_pool (did cli port 1812 user tahar)
++[sqlippool] returns notfound
++[exec] returns noop
Sending Access-Accept of id 151 to 127.0.0.1 port 18474
Framed-Compression := Van-Jacobson-TCP-IP
Framed-Protocol := PPP
Service-Type := Framed-User
Framed-MTU := 1500
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 3 ID 151 with timestamp +1402
Ready to process requests.
je n'ai pas bien compris ce que ça veut dire sachant que ma table est remplie d'adresses correspondant aux deux Pool-Name que je suis en train de tester.
Voici le contenu des tables
radippool
mysql> select * from radippool;
+----+-----------+-----------------+--------------+-----------------+------------------+-------------+----------+----------+
| id | pool_name | framedipaddress | nasipaddress | calledstationid | callingstationid | expiry_time | username | pool_key |
+----+-----------+-----------------+--------------+-----------------+------------------+-------------+----------+----------+
| 1 | main_pool | 192.168.100.10 | | | | NULL | | |
| 2 | main_pool | 192.168.100.11 | | | | NULL | | |
| 3 | main_pool | 192.168.100.12 | | | | NULL | | |
| 4 | main_pool | 192.168.100.13 | | | | NULL | | |
| 5 | main_pool | 192.168.100.14 | | | | NULL | | |
mysql> select * from radusergroup;
+----------+-----------+----------+
| username | groupname | priority |
+----------+-----------+----------+
| tahar | dynamic | 1 |
| tba | static | 1 |
+----------+-----------+----------+
mysql> select * from radgroupcheck;
+----+-----------+-----------+----+-----------+
| id | groupname | attribute | op | value |
+----+-----------+-----------+----+-----------+
| 1 | static | Pool-Name | := | main_pool |
+----+-----------+-----------+----+-----------+
quelqu'un aurait une idée pour que l'ip soit affectée à l'utilisateur qui se connecte ?
merci pour votre aide
Reply to: