Hi misc,

I'm migrating one of my servers from Linux to OpenBSD and I need a method 
to authenticate users based on passwords treated with Linux crypt() 
function. Passwords are encrypted with salted DES, without glibc2 
extensions. For example:

$ htpasswd -nbd test test
test:MbfD9Vq5SL5aE

Where "Mb" is a random salt and the rest is encrypted password.

As OpenBSD crypt() function differs from the one in Linux libc and returns 
NULL for setting "Mb", before I start porting it from libc, maybe you have 
an easier solution? Maybe there is a library I can use (different than 
whole bloated Linux libc)?

Kind regards.

-- 
"qui hic minxerit aut cacaverit, habeat deos superos et inferos iratos"

Reply via email to