Re : freeradius + sqlippool
> Le détail de tes tables ne montre que "main_pool", et la requête semble
> avoir lieu sur "test_pool".
>
En effet désolé, l'utiisateur que j'ai utilisé fait partie du group dynamic qui lui est rattaché à la pool test_pool
mysql> select * from radusergroup;
+----------+-----------+----------+
| username | groupname | priority |
+----------+-----------+----------+
| tahar | dynamic | 1 |
| tba | static | 1 |
+----------+-----------+----------+
2 rows in set (0.00 sec)
mysql> select * from radgroupcheck;
+----+-----------+-----------+----+-----------+
| id | groupname | attribute | op | value |
+----+-----------+-----------+----+-----------+
| 1 | static | Pool-Name | := | main_pool |
| 2 | dynamic | Pool-Name | := | test_pool |
+----+-----------+-----------+----+-----------+
rlm_sql (sql): Released sql socket id: 0
[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
Je ne comprends pas ce qu'il veut dire par pool appears to be full et je ne comprends pas comment lier le NAS (j'ai laissé la table vide) à la pool d'ip si c'est obligatoire ou non je n'ai pas trouvé de doc qui l'explique assez bien non plus malheureusement
Reply to: