Different Passwd Files on Different Servers

Alan DeKok aland at ox.org
Thu Jul 21 19:13:28 CEST 2005

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

  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.

More information about the Freeradius-Users mailing list