Have a look at section 5.5 of the FreeRADIUS FAQ, this should answer your question - http://www.freeradius.org/faq/#5.5
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Brian > Johnson > Sent: 14 August 2003 10:45 > To: [EMAIL PROTECTED] > Subject: Users without a password > > > I am in the process of helping a customer of ours figure this out. > > He purchased a bunch of users from a competitor, but they can not provide > him with the passwords (only usernames). What I want to do is > allow for the > user to pass any password, but then log what they passed. > > I have set the following in radiusd.conf: > > log_auth = yes > log_auth_badpass = yes > log_auth_goodpass = yes > > And have created a users file as such: > > testuser Auth-Type := Local, User-Password =* "test" > Fall-Through = Yes > > DEFAULT Auth-Type := Local > Service-Type = Framed-User, > Framed-Protocol = PPP, > Framed-MTU = 1500, > Framed-Compression = Van-Jacobsen-TCP-IP > > This isn't working. I am using radtest and getting the following results: > > [EMAIL PROTECTED] raddb]# radtest testuser test 127.0.0.1:1812 0 testing123 > Sending Access-Request of id 107 to 127.0.0.1:1812 > User-Name = "testuser" > User-Password = "test" > NAS-IP-Address = wraith.nvc.net > NAS-Port = 0 > Re-sending Access-Request of id 107 to 127.0.0.1:1812 > User-Name = "testuser" > User-Password = "H%\201\271\r\361X\315\270zr\262P\367\265\374" > NAS-IP-Address = wraith.nvc.net > NAS-Port = 0 > rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=107, length=20 > > > The radius.log entries are as such: > > Thu Aug 14 15:36:54 2003 : Auth: Login incorrect: [testuser/test] (from > client localhost port 0) > > > > I think the problem is the operator I am using on the User-Password check > item, but have tried almost every other "reasonable" operator. > > Any other ideas? > > - Brian J. > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ------------------------------------------------------------------------------------------------------- This email, and any files transmitted with it, is copyright and may contain confidential information. The contents are intended for the use of the addressee(s) only. Unauthorized use may be unlawful. If you receive this email by mistake, please advise sender immediately. The views of the author may not necessarily constitute the views of Telco Electronics Limited. Nothing in this mail shall bind Telco Electronics Limited in any contract or obligation. Telco Electronics Limited 6-8 Oxford Court Brackley Northants NN13 7XY Tel 07000 701999 Fax 07000 701777 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
