Different Passwd Files on Different Servers

Bryan Beronilla bberonilla at gmail.com
Tue Jul 26 11:35:48 CEST 2005


On 7/22/05, Alan DeKok <aland at ox.org> wrote:
> Bryan Beronilla <bberonilla at gmail.com> wrote:
> >         #  Added by Barok for alternate password
> >          passwd virtual_passwd {
> >                 filename = /home/virtual/domain.com/etc/passwd
> >                 format = "*User-Name::LM-Password"
> >                 authtype = MS-CHAP
> ...
> > DEFAULT Realm == "domain.com"
> >         Autz-Type := virtual_passwd,
> >         Auth-Type := unix,
> 
>   I'll echo the previous response that this format is wrong.
> 
>   But there's another problem, too.  You've set Auth-Type TWICE.  Once
> via the "passwd" module, to MS-CHAP, and once via the "users" file to
> "unix".
> 
>   Now, unless your unix is very different than every other one I've
> seen, it won't know what to do with the LM-Password read from
> /home/virtual/domain.com/etc/passwd, and it won't know what to do with
> any MS-CHAP request.
> 
>   Don't set Auth-Type to "unix".  It's completely wrong.
> 
>   Alan DeKok.
> 
> 

Still getting the errors I got before about not setting an auth type. 
Where should the auth type be set?  I've tried the config Dusty
mentioned but still getting me nowhere...




More information about the Freeradius-Users mailing list