Bluehost.com Web Hosting $6.95

Re: MAC authorisation (but not authentication) via LDAP

This is a discussion on Re: MAC authorisation (but not authentication) via LDAP within the FreeRADIUS Users forums, part of the Networking and Network Related category; Markus Krause wrote: > modules { > ... > ldap LdapUser1 { > .... ldapserv1 > } > > ldap LdapUser2 { > .... ldapserv2 > } > ... &...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2007
Phil Mayers
 
Posts: n/a
Default Re: MAC authorisation (but not authentication) via LDAP

Markus Krause wrote:
> modules {
> ...
> ldap LdapUser1 {
> .... ldapserv1
> }
>
> ldap LdapUser2 {
> .... ldapserv2
> }
> ...
> }
>
> authorize {
> ...
> Autz-Type LdapUser {
> redundant {
> LdapUser1
> LdapUser2
> }
> }
> ...
> }
>
> authenticate {
> ...
> Auth-Type LdapUser {
> redundant {
> LdapUser1
> LdapUser2
> }
> }
> ...
> }


You should be able to replace this last bit with:

authenticate {
Auth-Type LdapUser1 {
LdapUser1
}
Auth-Type LdapUser2 {
LdapUser2
}
}

....and set the "set_auth_type = yes" on each LDAP module.

The general idea is that MODULES should set Auth-Type (to themselves)
indicating that they will handle the authenticate phase.

Note that the above is still redundant - if the ldap module answered
during the authorize phase, there's clearly only a miniscule chance it
will have failed by the time authenticate runs.

And in fact, if ldap1 succeeds during authorize but fails during
authenticate, arguably passing it to ldap2 is an error - example, the
user might have just changed their password so ldap1 fails, but ldap2 is
still replicating so thinks the old password is valid.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 09:49 PM.


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