[freeradius] fail-over ldap + reply-item missing

François Mehault Francois.Mehault at netplus.fr
Tue Jun 9 16:46:32 CEST 2009


(following my last mail)

I read in my log:

No authenticate method (Auth-Type) configuration found for the request: Rejecting the user

So in the user file I replace

DEFAULT ldaplabobe2-Ldap-Group == administrateur, User-Profile := "cn=administrateur,ou=Profiles,dc=netplus,dc=fr
        Reply-Message = "Utilisateur: %{User-name}, group: Administrateur",
        Fall-Through = yes

By

DEFAULT ldaplabobe2-Ldap-Group == administrateur, User-Profile := "cn=administrateur,ou=Profiles,dc=netplus,dc=fr", Auth-Type := LDAP
        Reply-Message = "Utilisateur: %{User-name}, group: Administrateur",
        Fall-Through = yes

And I start radiud -X and I have :

/usr/local/etc/raddb/users[247]: Parse error (check) for entry DEFAULT: Unknown value LDAP for attribute Auth-Type
Errors reading /usr/local/etc/raddb/users
/usr/local/etc/raddb/modules/files[7]: Instantiation failed for module "files"
/usr/local/etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files".
/usr/local/etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section.
 }
}
Errors initializing modules

But in raddb/site-available/default, in section authenticate i have Auth-Type LDAP :

authenticate {
        Auth-Type PAP {
                pap
        }
        Auth-Type CHAP {
                chap
        }
        Auth-Type MS-CHAP {
                mschap
        }
        unix
        Auth-Type LDAP {
                redundant {
                        ldaplabobe2
                        ldaplabobe1
                }
        }
        eap
}






More information about the Freeradius-Users mailing list