Hi Chris,

Thanks for your question,

Radiator uses a similar implementation to Crypt::PasswordMD5 to generate Linux
compatible MD5 password hashes. The code that Radiator uses is in Util.pm, sub
md5crypt

The salt in a Linux MD5 password is the 0 to 8 characters following the $!$ up
to the next $, eg in:

$1$cTpht$Obu9PLSMst1TDou.mN5bk0

the salt is
cTpht

Any characters from the set:

./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

are permitted in the salt

Hope that helps.

Cheers.

On Jan 4, 10:04am, Hugh Irvine wrote:
> Subject: Re: (RADIATOR) MD5 crypt()..
>
> Hello Chris -
>
> On Wednesday 03 January 2001 22:08, Chris Keladis wrote:
> > Hi folks,
> >
> > I'm a little unclear about encrypted passwords in a Radiator database.
> >
> > I would like to MD5 encrypt all our user passwords.
> >
> > I've been experimenting with Digest::MD5 and Crypt::PasswordMD5, and so
> > far only Crypt::PasswordMD5 gives me what i see as a 'true' MD5
> > password. (The salt beginning with '$1$').
> >
> > I'm a little confused as to the standards regarding the salt, and if
> > Radiator will understand the MD5 hashed passwords i create.
> >
> > Am i going about the issue the wrong way? How can i store well-encrypted
> > passwords in my database to be used for authentication?
> >
>
> The first thing to understand is that you can only use PAP authentication
> with encrypted passwords in your database.
>
> For additional comments on password encryption, I have copied this to Mike so
> he can add his clarification.
>
> regards
>
> Hugh
>
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
>
>-- End of excerpt from Hugh Irvine



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to