Patch: Support for {BASE64_MD5} LDAP passwords in rlm_ldap and rlm_pap

2011-11-13 Thread Peter Lambrechtsen
Attached is a minor patch to include support for BASE64_MD5 encoded passwords in a LDAP directory (or anywhere else it may be, as the pap module does the authenticate). In ldap the record would look like: userPassword: {BASE64_MD5}/F4DjTilcDIIVEHn/nAQsA== If the password was helloworld

Re: ldap passwords?

2007-03-06 Thread Tim Tyler
Ivan, Sorry to bother you again. Where should I apply the Crypt-Password? Should I apply it in radiusd.conf or in the ldap.attrmap file? What line were you referring to? My ldap database stores the password in userPassword field. I assume that I should keep password_attribute =

Re: ldap passwords?

2007-03-06 Thread tnt
You need to change password_radius_attribute to Crypt-Password. It defaults to clear password type (User-Password). Ivan Kalik Kalik Informatika ISP Dana 6/3/2007, Tim Tyler [EMAIL PROTECTED] piše: Ivan, Sorry to bother you again. Where should I apply the Crypt-Password? Should I apply

Re : ldap passwords?

2007-03-06 Thread Eshun Benjamin
== Benjamin K. Eshun - Message d'origine De : Tim Tyler [EMAIL PROTECTED] À : FreeRadius users mailing list freeradius-users@lists.freeradius.org Envoyé le : Mardi, 6 Mars 2007, 17h45mn 42s Objet : Re: ldap passwords? Ivan, Sorry to bother you again. Where

ldap passwords?

2007-03-05 Thread Tim Tyler
Freeradius experts, I am trying to configure freeradius to use openldap as a backend for authentication, but I can't seem to get the passwords to authenticate. It seems to have no problem binding and finding the username (uid). I am using crypt passwords in the ldap userPassword field:

Re: ldap passwords?

2007-03-05 Thread tnt
Use Crypt-Password not User-Password. Ivan Kalik Kalik Informatika ISP Dana 5/3/2007, Tim Tyler [EMAIL PROTECTED] piše: Freeradius experts, I am trying to configure freeradius to use openldap as a backend for authentication, but I can't seem to get the passwords to authenticate. It seems