Yes it has been running using crypt and all passwords in the database now are preceded by the $1$ salt. But I want to use just md5.
My problem is that I am writing an app for windows using visual basic 6.0 and I have a md5 class to encrypt passwords and decrypt them but not using the crypt and salt, so I am trying to set everything as md5 so that I can generate passwords from my app and insert them into the radcheck table. Actually I have already done this but using md5 and the radius server will not accept pure md5 passwords even though I have it set in the radiusd.conf file to use md5 instead of crypt.. according to the comments you have a choice of clear,crypt,md5,sha but it will only recognize a crypt generated password. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kostas Kalevras Sent: Wednesday, October 09, 2002 2:57 AM To: [EMAIL PROTECTED] Subject: Re: FreeRadius and md5 On Wed, 9 Oct 2002, Nick Marino wrote: > How do I get freeradius to use md5 instead of crypt? > I have in my pap settings to use md5 > Encryption_scheme = md5 > > But it still tries to use crypt.. > If I put a user in the database with an md5 encrypted password but it > gets rejected at loging. > But users with a crypt encrypted password log in fine. > > Any help would be greatly appreciated. md5 encrypted passwords = crypt with the $1$ salt or truly md5 encrypted passwords? If you are using the former then you could try specifying crypt as the encryption scheme. It will probable work ok. the md5 encryption scheme will not work with salted md5 passwords like the ones generated by crypt(). If nothing of this works run the server in debug mode and check the output. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
