Re: Admin bruker i openLDAP

Petter Reinholdtsen <[email protected]> Thu, 3 Jun 2010 10:52:32 +0200
Newsgroups gmane.linux.skolelinux.bruker
Message-ID <[email protected]>
[Helge Tore Høyland]
> Takker for raskt og godt svar.
> Eit spørsmål til:
> Bruker openLDAP kryptering på passord, og i så fall kva type?

I databasen er passordene vanligvis kryptert, ja.  Den håndterer vel
alt som crypt() håndterer, dvs. i hvert fall DES og MD5.  Jeg fant
denne i <URL:http://users.ameritech.net/mhwood/ldap-sec-setup.html>:

  Password values may be stored as plaintext, or as one of a variety
  of hashes. To store a plaintext password (for example, "secret"),
  just use that string:

  userPassword: secret

  To store a hashed password, prefix the hash value with the name of
  the hash algorithm in braces:

  userPassword: {SSHA}234234342342342

  The available hashes are:

  {CRYPT}
    The Unix crypt() hash, based on DES. Weaker than the others. 
  {UNIX}
    Synonym for {CRYPT} 
  {SHA}
    SHA-1 based hash. 
  {SSHA}
    Salted SHA-1 based hash. 
  {MD5}
    MD5 based hash. 
  {SMD5}
    Salted MD5 based hash. 

Vennlig hilsen,
-- 
Petter Reinholdtsen

-- 
For å melde deg av denne epostlisten eller endre innstillingene dine besøk:
https://init.linpro.no/mailman/skolelinux.no/listinfo/bruker