FreeRadius and FreeIpa integration not working in our Lab setup

Matthew Newton mcn at freeradius.org
Fri Jul 8 10:57:15 UTC 2022



On 08/07/2022 11:45, Krishna Chaitanya wrote:
> 
> # search result
> search: 2
> result: 0 Success
> 
> # numResponses: 3
> # numEntries: 2


> *(0) ldap: ERROR: Ambiguous search result, returned 2 unsorted entries
> (should return 1 or 0).  Enable sorting, or specify a more restrictive
> base_dn, filter or scope(0) ldap: ERROR: The following entries were
> returned:(0) ldap:   ERROR:
> uid=admin,cn=users,cn=compat,dc=qi-cap,dc=com(0) ldap:   ERROR:
> uid=admin,cn=users,cn=accounts,dc=qi-cap,dc=com*
> rlm_ldap (ldap): Released connection (0)
> Need 5 more connections to reach 10 spares


Did you read the debug output?

You have two users with the same uid. FreeRADIUS won't have any idea 
which one you want.

So you need to either not use the same username twice, or configure 
FreeRADIUS with a more restrictive base DN so that it only finds one of 
them.

-- 
Matthew


More information about the Freeradius-Users mailing list