Dear Alejandro Martínez Marcos, In order to use rlm_mschap with LDAP you must store either cleartext or NT or LM password in LDAP schema. See ldap.attrmap, doc/ldap_howto.txt and doc/rlm_ldap.
--Wednesday, April 21, 2004, 3:16:40 PM, you wrote to [EMAIL PROTECTED]: AMM> Hi again, AMM> I keep on trying to solve this problem. I have realized that the problem AMM> only occurs when I use LDAP to authorize. It seems that freeradius is unable AMM> to retrieve the attribute "User-Password" from LDAP. AMM> When I use the users file, in that case it goes ok. I just added the users AMM> to the users file like this, as I have seen in a previous e-mail from Alan AMM> DeKok. For example: AMM> tunnel-user User-Password = "password" AMM> Unfortunately, I MUST use LDAP...Please help!! AMM> Best regards, AMM> Alejandro AMM> -----Mensaje original----- AMM> De: [EMAIL PROTECTED] AMM> [mailto:[EMAIL PROTECTED] nombre de AMM> Alejandro Martínez Marcos AMM> Enviado el: miércoles, 21 de abril de 2004 10:05 AMM> Para: Lista Freeradius AMM> Asunto: rlm_mschap:Cannot create LM-Password. Cannot create NT-Password. AMM> Hello, AMM> I am trying to authenticate using PEAP against a LDAP server. I am getting AMM> the following errors: AMM> rlm_mschap: No User-Password configured. Cannot create LM-Password. AMM> rlm_mschap: No User-Password configured. Cannot create NT-Password. AMM> Could anyone tell me what are these passwords? I don't know whether I have AMM> a problem with the client configuration or if I have missing fields in LDAP AMM> (but I do have a "userPassword" one). AMM> thanks in advance, AMM> Alejandro AMM> - AMM> List info/subscribe/unsubscribe? See AMM> http://www.freeradius.org/list/users.html AMM> - AMM> List info/subscribe/unsubscribe? See AMM> http://www.freeradius.org/list/users.html -- ~/ZARAZA Èòàê, ÿ áóäó êðàòîê. (Òâåí) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html