On 17/04/13 14:25, P. Manton wrote:
OK, So I see there is a preprocess module that says you can manipulate
attributes:

#  The preprocess module takes care of sanitizing some bizarre
#  attributes in the request, and turning them into attributes
#  which are more standard.

  so I added the following:


    if (User-Password =~ /^(.+)([0-9]{6})$/) {
      update request {
        User-Password = "%{1}"
        Some-PIN-Attr = "%{2}"
      }
    }

Although it did not trim the password and returned Access_Reject (I also
saw from the debug that the 6 digit number had not been trimmed) , so I
also attempted to add this to the ntlm_auth module with the same result,
I am really at a loss here..

Sigh.

I gave a clear and specific example, as did someone else, and you insist on doing random stuff.

If you're not going to read what I wrote the first time, I'm not going to repeat it.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to