Re: Feeding ntlm_auth based on request environment variables

This is a discussion on Re: Feeding ntlm_auth based on request environment variables within the FreeRADIUS Users forums, part of the Networking and Network Related category; Thomas Boutell <boutell@boutell.com> wrote: > OK, I've made tons of progress. Now I'm trying ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2005
Alan DeKok
 
Posts: n/a
Default Re: Feeding ntlm_auth based on request environment variables

Thomas Boutell <boutell@boutell.com> wrote:
> OK, I've made tons of progress. Now I'm trying to run ntlm_auth from
> my own wrapper script, as suggested here. And I'm hitting a wall:
> The FreeRADIUS ntlm_auth module runs ntlm_auth with a parameter I can't
> find anywhere in the environment of my exec script.


Some of the MSCHAP stuff is calculated dynamically inside of the
server.

The MS-CHAP challenge & response data needed by ntlm_auth is packed
into the MS-CHAP-Challenge attributes. To get at them, you need to
run your script like this:

/path/to/script %{mschap:Challenge} %{mschap:NT-Response}

Then $1 and $2 will be set to the challene & response data.

> Can I really feed ntlm_auth myself based on the exec environment
> variables? Do I need to perform some sort of hash magic? Help! Thanks.


Yes, it's hash magic.

Alan DeKok.

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0