urgent

Alan DeKok aland at deployingradius.com
Tue Aug 4 09:23:41 CEST 2009


RANDRIAMAMPIONONA José Johnny wrote:
> Hi everyone,
> I ve just setup freeradius-server 2.1.6 + OpenLdap. Everything seems to
> be cool without the output which looks like contradictory. The */output
> of radtest blabla ect ../* proves that there is no response from the server.
> Then the server gives these lines:
...
> Sun Aug  2 14:37:09 2009 : Info: [ldap] login attempt by "ytabaa" with
> password "coucou"
> Sun Aug  2 14:37:09 2009 : Info: [ldap] user DN:
> uid=ytabaa,ou=People,dc=uae,dc=ac,dc=ma
> Sun Aug  2 14:37:09 2009 : Debug: rlm_ldap: (re)connect to
> ldap.uae.ac.ma:389, authentication 1
> Sun Aug  2 14:37:09 2009 : Debug: rlm_ldap: bind as
> uid=ytabaa,ou=People,dc=uae,dc=ac,dc=ma/passwd to ldap.uae.ac.ma:389
> ********************************************************
> Does anyone know what's wrong in my configuration?

  The output seems relatively obvious.  FreeRADIUS tries to contact the
LDAP server, and then everything stops.

  Install an LDAP server that works.

> Is it the expiration
> in the configuration file that I have to expand (what file?) to give a
> server a possibility to response?

  Follow the example in the FAQ, add an entry in the "users" file, and
DON'T use ldap.  It should work.  This will prove that FreeRADIUS works,
and that the LDAP server doesn't work.

  Alan DeKok.



More information about the Freeradius-Users mailing list