Trying to integrate with LDAP

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Mar 13 23:43:35 CET 2013


On 13 Mar 2013, at 18:35, fernando.sg1 at gmail.com wrote:

> 
> Hey,
> first of all, sorry my poor english,
> im trying to integrate my LDAP server with the freeradius, before 2 days searching on google i didnt solved the problem.
> 
> when i use the command:
> 
>  ldapsearch -b "ou=People,dc=xxxxxx,dc=edu,dc=br" -h 200.131.96.47 uid=user1 -D "cn=admin,dc=ifsudeste,dc=edu,dc=br" -W

Here were filtering using the attribute 'uid'

> [ldap] expand: %{User-Name} -> user1
> [ldap] expand: (cn=%{Stripped-User-Name:-%{User-Name}}) -> (cn=user1)
> [ldap] expand: ou=People,dc=xxxxx,dc=edu,dc=br -> ou=People,dc=xxxxxxx,dc=edu,dc=br


And here were filtering using the attribute 'cn'

edit 'filter' in your ldap configuration file.

-Arran


More information about the Freeradius-Users mailing list