Ok I used the username and password '12345678901234567890' which is a total of 20 digits. I can create the entry in the radcheck table, no problem. Running freeradius in debug mode shows this while attempting to connect: rad_recv: Access-Request packet from host 58.11.86.127 port 2052, id=102, length=309 ChilliSpot-Version = "1.2.7-svn" User-Name = "12345678901234567890" User-Password = "1234567890123456" Service-Type = Login-User Acct-Session-Id = "535e42cc00000001" Framed-IP-Address = 10.1.0.6 NAS-Port-Type = Wireless-802.11 NAS-Port = 1 NAS-Port-Id = "00000001" Calling-Station-Id = "A0-ED-CD-BD-3D-7F" Called-Station-Id = "C8-B3-73-0D-7E-74" NAS-IP-Address = 192.168.1.2 NAS-Identifier = "test_nas" WISPr-Location-ID = "isocc=,cc=,ac=,network=Coova,coova1_Coova" WISPr-Location-Name = "My_HotSpot" WISPr-Logoff-URL = "http://10.1.0.1:3360/logoff" Message-Authenticator = 0x7a97e329f7d8a2cf008b2a0400c5470d # Executing section authorize from file /etc/freeradius/sites-enabled/default So the problem indeed seems to come from the access point (running on coovachilli in this case), since we can see those 2 lines in the packet: User-Name = "12345678901234567890" User-Password = "1234567890123456" The access point seems to send a maximum of 16 digits. I guess I should ask to the coovachilli developer then. Sorry I asked here before reading more carefully the logs. Thank you for the prompt responses. Benoit Aubert
From: Adam.Bishop@ja.net To: freeradius-users@lists.freeradius.org Subject: Re: size limit for username and password Date: Mon, 28 Apr 2014 09:24:02 +0000
On 28 Apr 2014, at 09:27, Benoit <goony@hotmail.fr> wrote:
Is there any easy way to allow bigger passwords?
Have you tried making the column wider?
It looks like the pasword size for a user in the radcheck table is 16 characters (if I put one more it fails to login).
More seriously, I’ve looked at the schema for the radcheck table - values are 253 wide (for mssql and mysql at least), so unkless you’ve messed with the schema, column width is not your problem. Are you certain that what is in the database is what you think is in the database?
A debug log showing success and failure is required to help any further.
Regards,
Adam Bishop
gpg: 0x6609D460
Janet, the UK's research and education network.
Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html