ntlm_auth works on commandline but not in radiusd.conf

luis a luis.azunet at yahoo.es
Wed Oct 1 18:05:31 CEST 2008




--- El mié, 1/10/08, Alan DeKok <aland at deployingradius.com> escribió:
De: Alan DeKok <aland at deployingradius.com>
Asunto: Re: ntlm_auth works on commandline but not in radiusd.conf
Para: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Fecha: miércoles, 1 octubre, 2008 2:38

radius at illiana.net wrote:
>   Very specifically, I followed the (out of
> date) guide by Alan DeKok called "Deploying Radius"

  Hmm... OK.  I've updated the instructions for 2.x.

>         exec ntlm_auth {
>                 wait = no

  That's the issue.  It should say "wait = yes".  Sorry.

  I've updated the web site to fix this.

  Alan DeKok.



i believe that you saw the images that i sent to you to see :)
well im still stuck in the config .


/etc/radb/radiusd.conf


exec ntlm_auth {

                wait = yes

          program = "/usr/bin/ntlm_auth ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"

        }

----------
/etc/radb/sites-enabled/default

authenticate {
        #
        #  PAP authentication, when a back-end database listed
        #  in the 'authorize' section supplies a password.  The
        #  password can be clear-text, or encrypted.
        Auth-Type PAP {
                pap
        }
}
authenticate {
        ntlm_auth
           }

radtest luis ..4wr123,,todoloco 127.0.0.1 0 testing123
Sending Access-Request of id 137 to 127.0.0.1 port 1812
        User-Name = "luis"
        User-Password = "test"
        NAS-IP-Address = xx.xx.xx.xx
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=137, length=20

what them ???


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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081001/37949604/attachment.html>


More information about the Freeradius-Users mailing list