) That's the problem - you need to use a 12-char salt with '$1$' as the ) first three chars. $1$ is the magic that denotes an MD5'd password, and ) the salt used to decrypt the pass is the 8-char string b/w the 3rd and ) 8th chars inclusively. I don't think md5sum will do what you need. ) ) I wrote a bit of php to do our encryption/checking - if you're really ) stuck, I can send you a snippet...
That would be great, because that doesn't make sense. i.e. the hash is 32 chars + 12 chars of "salt" would be 44 chars and the field is only varchar(40). If you mod'd the table could you send new definition too? I will be using PHP in the end, so it's possible if I just started there I'd be fine, but it looks like the MD5 function in PHP (mhash?) doesn't support "salt" in that way? If we need to take this "off list" we can do that too, but I'm hoping your code snippets will reveal all the secrets, and help someone in the future. Dave -- Dave Logan "NO! Try not! Do. Or do not." -- Yoda - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
