Should work OK..
but it does not...
Run both radius and ldap in debug mode. Check what is being asked for and what is being searched for in ldap.
Use: "radiusd -X" "slapd -d 384"
I did... ldap receives nothing related to User-Password, but Radius still complains about the required User-Password... but there is no User-Password on Ldap. I checked other bases, and they all use userPassword... I cant figure out why is Radius looking for this...
Felipe
Felipe Louback wrote:
I'm putting my SER to authenticate on a LDAP base using RADIUS. But when I try to authenticate any client, I get the following error:
auth: type "LDAP" Processing the authenticate section of radiusd.conf modcall: entering group Auth-Type for request 0 rlm_ldap: - authenticate rlm_ldap: Attribute "User-Password" is required for authentication. modcall[authenticate]: module "ldap" returns invalid for request 0
Into my LDAP, the correct field is userPassword and not User-Password, as RADIUS is looking for... I already set in radiusd.conf: password_attribute = userPassword But still the same error....
Any clues?
Felipe
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Master Student - Electrical Engineering Department Computer Engineering and Telecommunications Research Group Universidade Federal de Minas Gerais - Brazil
"Humanly speaking it is impossible; but with God anything is possible!" Jesus Christ in Matthews 19:26