>       Hello all,
>       I am trying to configure FreeRadius to auth against Active
> Directory. I was wondering if anyone on the list has done this successfully.
> I thought the best way to go was to connect to A.D. as if it was an LDAP
> server, (please let me know if there is a better way).
>
> Any tips or docs would be greatly appreciated.
> Before anyone asks.....I would love to use OpenLDAP instead, but that is not
> my karma.
>
> I started radiusd in debug mode and here is the output I am getting:
>
> rad_recv: Access-Request packet from host 43.191.104.141:2611, id=112,
> length=48
>         User-Name = "deyoungb"
>         User-Password = "secret"
>   Processing the authorize section of radiusd.conf
> modcall: entering group authorize for request 0
>   modcall[authorize]: module "preprocess" returns ok for request 0
>     rlm_realm: No '@' in User-Name = "deyoungb", looking up realm NULL
>     rlm_realm: No such realm "NULL"
>   modcall[authorize]: module "suffix" returns noop for request 0
>     users: Matched DEFAULT at 152
>   modcall[authorize]: module "files" returns ok for request 0
> rlm_ldap: - authorize
> rlm_ldap: performing user authorization for deyoungb
> radius_xlat:  '(cn=deyoungb)'
> radius_xlat:  'DC=am,DC=sony,DC=com'
> rlm_ldap: ldap_get_conn: Checking Id: 0
> rlm_ldap: ldap_get_conn: Got Id: 0
> rlm_ldap: attempting LDAP reconnection
> rlm_ldap: (re)connect to 43.143.144.20:389, authentication 0
> rlm_ldap: bind as CN=~MyAccessAccount,OU=Service
> Accounts,DC=am,DC=sony,DC=com/very_secret to 43.143.144.20:389
> rlm_ldap: waiting for bind result ...
> rlm_ldap: Bind was successful
> rlm_ldap: performing search in DC=am,DC=sony,DC=com, with filter
> (cn=deyoungb)
> rlm_ldap: looking for check items in directory...
> rlm_ldap: looking for reply items in directory...
> rlm_ldap: user deyoungb authorized to use remote access
> rlm_ldap: ldap_release_conn: Release Id: 0
>   modcall[authorize]: module "ldap" returns ok for request 0
> modcall: group authorize returns ok for request 0

Looks good up to here, then it switches to Auth-Type of System.

>   rad_check_password:  Found Auth-Type System
> auth: type "System"
>   ERROR: Unknown value specified for Auth-Type.  Cannot perform requested
> action.
> auth: Failed to validate the user.
> Delaying request 0 for 1 seconds
> Finished request 0
> Going to the next request
> --- Walking the entire request list ---
> Waking up in 1 seconds...
> rad_recv: Access-Request packet from host 43.191.104.141:2611, id=112,
> length=48
> Sending Access-Reject of id 112 to 43.191.104.141:2611
> --- Walking the entire request list ---
> Waking up in 3 seconds...
> --- Walking the entire request list ---
> Cleaning up request 0 ID 112 with timestamp 41f6f231
> Nothing to do.  Sleeping until we see a request.
>
>

What is in your users file and the authenticate section of radiusd.conf?
Something is making it try System instead of Ldap for authentication.



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

Reply via email to