Problems using freeradius with ldap

Sergio Belkin sbelki at palermo.edu
Wed Sep 5 14:11:12 CEST 2007


El Monday 03 September 2007 18:12:40 tnt at kalik.co.yu escribió:
> You are picking up Auth-Type System from the users file. Comment it out.
>
> Ivan Kalik
> Kalik Informatika ISP
>
> Dana 3/9/2007, "Sergio Belkin" <sbelki at palermo.edu> piše:
> >I have problem when in Fedora 4 (sadly in my job I cannot change this)
> > using radtest against LDAP
> >
> >Packages version:
> >openldap-servers-2.2.29-1.FC4
> >openldap-clients-2.2.29-1.FC4
> >openldap-2.2.29-1.FC4
> >freeradius-1.0.4-1.FC4.1
> >
> >This  is part of /etc/raddb/radiusd.conf:
> >
> >ldap {
> >                server = "localhost"
> >                basedn = "ou=people,dc=mydomain,dc=com"
> >                filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
> >                dictionary_mapping = ${raddbdir}/ldap.attrmap
> >                ldap_connections_number = 5
> >                password_attribute = userPassword
> >(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)
> >(uniquemember=%{Ldap-UserDn})))"
> >                timeout = 4
> >                timelimit = 3
> >                net_timeout = 1
> >        }
> >
> >authorize {
> >        chap
> >        mschap
> >        suffix
> >        eap
> >        files
> >        ldap
> >        checkval
> >}
> >
> >And this a portion of /etc/raddb/users:
> >DEFAULT  Auth-Type = System
> >   Fall-Through = 1
> >DEFAULT  Auth-Type = LDAP
> >   Fall-Through = 1

Thanks, finally I've did so and it worked out (using original version of FC4)!

-- 
Sergio Belkin
Comunicación e Internet




More information about the Freeradius-Users mailing list