[Date Prev][Date Next] [Chronological] [Thread] [Top]

question about crypt



Hi, i'm trying to generate a md5 crypt string with
slappasswd but not work

I need this with slappasswd:

# md5 -s aaa
MD5 ("aaa") = 47bce5c74f589f4867dbd57e9ca9f808

I try many combinations:

 # slappasswd  -s aaa -c '$1$%.8s'
{CRYPT}$1$34X33fvv$r.stfUxMFLmQFisNpibm5.

# slappasswd  -s aaa -c '%.2s'
{CRYPT}qDlKHeMV9WTbM

[...]

What is the correct salt for generate a md5 string like
md5 utility?

thanks