Re: SHA Encryption

Tomasz Kłoczko <[email protected]> Wed, 28 Sep 2005 22:08:45 +0200 (CEST)
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
On Wed, 28 Sep 2005, Michael Richard wrote:

> Hi All,
>
> I have passwords stored in a LDAP server using SHA encryption.  SHA is used in
> order to export passwords in .htaccess files as Apache uses a modified MD5
> algorithm instead of a standard one.
>
> Now I want to export passwords in /etc/shadow, but SHA doesn't seem to be
> supported by shadow.  Is there a reason for this?

If you are using shadow with PAM support you must have only SHA support in 
libc crypt(). IIRC patch with this is now in SuSE glibc (nothing more).
In case non-PAM configuration: yes .. crypt() provided by shadow must be 
extended.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie majÂą problemĂłw, tylko sobie sami je stwarzajÂą*
-----------------------------------------------------------
Tomasz KÂłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*