Yeah I see it.  I know it is trying to use the Auth-type=System, but
why? The password for the username is correct.  I don't like asking to
direct questions 'cuase it tends to lead a readers thoughts to my own
view, however, I see now that in the usergroupreply it *is* missing the
AUth-Type=local.  A question did come up previously which addressed the
order of checks and what was neccessary and was not neccessary.  I
deliberately left out Auth-Type, but I will put it in now.

Simon White wrote:
> 
> 04-Feb-03 at 18:32, Pavel S. Shirshov ([EMAIL PROTECTED]) wrote :
> > Tuesday, February 4, 2003, 1:44:21 PM, you wrote:
> >
> > SW> 04-Feb-03 at 01:19, Robert Canary ([EMAIL PROTECTED]) wrote :
> > >>   modcall[authorize]: module "sql" returns ok
> >
> > SW> The SQL part is working
> >
> > >>   users: Matched DEFAULT at 152
> > >> modcall[authorize]: module "files" returns ok
> > >> modcall: group authorize returns ok
> >
> > SW> Files is also ready to authenticate after authorization
> >
> > >>   rad_check_password:  Found Auth-Type System
> > >>   auth: type "System"
> >
> > SW> Now, the auth type is System. Aha! That means it won't authenticate
> > SW> against SQL but the /etc/passwd or /etc/shadow file...
> >
> > >>   modcall: entering group authenticate
> > >> modcall[authenticate]: module "unix" returns notfound
> >
> > SW> There is no user in the system files
> >
> > >> modcall: group authenticate returns notfound
> > >> auth: Failed to validate the user.
> >
> > SW> Read what it is telling you...
> >
> > SW> You need Auth-Type Local returned by your SQL DB.
> >
> > May be to faq this question?
> 
> It's in the
> 
> www.frontios.com/freeradius.html
> 
> It's not particularly clear in the docs, but it is there somewhere,
> otherwise I wouldn't have come to that conclusion.
> 
> It seems a lot of people are using MySQL as their DB backend, if I had
> the time I'd write something up but for the next couple months I'm
> pretty stretched.
> 
> --
> |-Simon White, Internet Services Manager, Certified Check Point CCSA.
> |-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
> |-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
> |-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to