Hi there,
Thanks for your help.
>Does PAP work?
OK as i understand (correct me if i am wrong) no matter if I use MySql or users.cof file for validating the users, if i execute:
$radtest sqltest testpwd localhost 1812 testing123
and the message i get is ( from both, the server terminal window, and the radtest terminal window):
Access-Accept
Means that PAP worked fine. If this is right, then i must say: yes PAP works.
>Did you configure the "sql" module?
i am not sure what you exactly mean with "sql module", but I can tell what i did configure for sql+freradius:
1- In /etc/freeradius/radiusd.conf i uncommented the line "$INCLUDE sql.conf"
2- Create a DB called "radius" and create a user called "radius" with full access to the just created DB
3- Load mysql schema and insert into radcheck table a user(the schema i used was /etc/freeradius/sql/mysql/schema.sql)
*NOTE: i just insert a user into radcheck table, i did not populate any other table
4- Configure /etc/freeradius/sql.conf with my just created DB parameters(server, login, password) and uncommented the line "readclients = yes"
5- Then uncommented the "sql" line for the following sections in the /etc/freeradius/sites/enabled/default file:
a) authorize
b) accounting
c) session
d) post-auth
6- Ran a radtest, and everyhtin worked fine
Did i aswered your question?
>Is the PEAP request for user "sqltest"?
Yes, on the windows supplicant machine, i gave my credentials as follows:
Login: sqltest
password: testpwd
domain:
I leaved domain always blank because i have not configurated any domain yet.
> If you take a step by step approach, it should be trivial to configure.
Well, i did not test the server with users.conf file. Once freeradius was installed and working, i just jump to install and configure mysql and make the first radtest using both. The radtest worked just fine.
If you think that using the users.conf first could give me any clue about the erros i am having, i will not hesisate to test it.
Any idea?
Cheers