not logged in | [Login]
Always use radiusd -X when debugging!
This guide assumes you have already have ntlm_auth configured correctly and
working. If you haven't and need instructions on setting it up, please follow
the deployingradius guide.
Edit raddb/mods-available/ntlm_auth to contain the correct path and domain;
Create a symlink raddb/mods-enabled/ntlm_auth to
../mods-available/ntlm_auth to enable the new module configuration;
Create a new policy file, raddb/policy.d/ntlm_auth:
# Give the ntlm_auth exec module an "authorize" method that sets Auth-Type
# to itself but only if it's a valid PAP request, and Auth-Type is not
# already set to something
ntlm_auth.authorize {
    if (!control:Auth-Type && User-Password) {
        update control {
            Auth-Type := ntlm_auth
        }
    }
}
Add the following to the outer server in raddb/sites-enabled/default:
authorize {
    ...
    ntlm_auth
}
authenticate {
    Auth-Type ntlm_auth {
        ntlm_auth
    }
    ...
}
Comment out the pap module in the authorize {} section of your outer server.
Edit raddb/modules/ntlm_auth to contain the correct path and domain;
Add the following to raddb/policy.conf:
policy {
    # Give the ntlm_auth exec module an "authorize" method that sets
    # Auth-Type to itself but only if it's a valid PAP request, and
    # Auth-Type is not already set to something
    ntlm_auth.authorize {
        if (!control:Auth-Type && User-Password) {
            update control {
               Auth-Type := ntlm_auth
            }
        }
    }
}
Add the following to your outer server (raddb/sites-enabled/default by default):
authorize {
    ...
    ntlm_auth
}
authenticate {
    Auth-Type ntlm_auth {
        ntlm_auth
    }
    ...
}
Comment out the pap module in the authorize {} section of your outer server
Use one of the methods listed below
Edit 'raddb/modules/ntlm_auth' to contain the correct path and domain
Add the following to your outer server (raddb/sites-enabled/default by default):
authorize {
    ...
    if (!control:Auth-Type && User-Password) {
        update control {
            Auth-Type := ntlm_auth
        }
    }
}
authenticate {
    Auth-Type ntlm_auth {
        ntlm_auth
    }
    ...
}
Edit 'raddb/modules/ntlm_auth' to contain the correct path and domain
Add the following to your outer server ('raddb/sites-enabled/default' by default):
authorize {
    ...
    pap
}
authenticate {
    Auth-Type PAP {
        ntlm_auth
    }
    ...
}
Last edited by Matthew Newton, 2016-04-17 21:58:38
Sponsored by Network RADIUS 