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

Re: Help



--On Monday, April 15, 2019 5:56 PM +0200 "A. Yuesuen" <ayuesuen93@gmail.com> wrote:







hello,

i'm trying to implement Ssha512 on my openldap server. i found out that
the Building concepts on the www are old. there are nor slapd.conf file.
So there is written i have to work with the cn=config file cause. Can
someone help me please?

I'm using ubuntu 18.10 and the openldap version slapd.

Ubuntu's OpenLDAP builds already provide the pw-ssha2 module, so all you need to do is add it to the moduleload statement and then add it to the frontend database in cn=config.

I.e., as the root user, something like:

ldapmodify -Y EXTERNAL -H ldapi:///

dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: pw-sha2

ldapmodify -Y EXTERNAL -H ldapi:///
dn: olcDatabase={-1}frontend,cn=config
changetype: modify
replace: olcPasswordHash
olcPasswordHash: {SSHA512}


--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>