Two Ldaps Authentication

fvt3 fvt3 at yahoo.com
Fri Jun 16 17:12:24 CEST 2006


Hi, I am trying to setup Freedius to have multiple
ldap authentication.  I want to authenticate off
ldap1, then ldap2 then mysql.  If authentication fail
in ldap1, then go to ldap2.  Ldap1(ldap) and
ldap2(AD). Here is my configuration

Modules {
ldap ldap1 {
}
ldap ldap2{
}
}

instantiate{
ldap1
ldap2
}

authorize {
Autz-Type LDAP1{
ldap1
}

Autz-Type LDAP2{
ldap2
}
files
}

authenticate {
Auth-Type LDAP1 {
ldap1
}

authenticate {
Auth-Type LDAP2 {
ldap2
}


In the users file I have:
DEFAULT Autz-Type := "LDAP1", Auth-Type = "LDAP1"
        Fall-Through = Yes,
        Reply-Message = "ldap"

DEFAULT Autz-Type := "LDAP2", Auth-Type = "LDAP2"
        Fall-Through = Yes,
        Reply-Message = "Active D"


With this setup, radius is skipping ldap1 and go
directly to ldap2.  How can I force it to read ldap1
then ldap2 in the user file.  Anyone out there knows
how I can solve this issue? Thanks in advance...




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Freeradius-Users mailing list