[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: using {CRYPT} for rootpw, using SHA512?
- To: Brian Reichert <reichert@numachi.com>, openldap-technical@openldap.org
- Subject: Re: using {CRYPT} for rootpw, using SHA512?
- From: Quanah Gibson-Mount <quanah@zimbra.com>
- Date: Thu, 14 Aug 2014 13:48:20 -0700
- Content-disposition: inline
- Dkim-filter: OpenDKIM Filter v2.9.2 edge01.zimbra.com A206044284
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zimbra.com; s=C2AA288C-EE47-11E2-9BB0-E820BDD9BDBF; t=1408049302; bh=SmlgdFsXjITupBBdtVxaUPPsEk9Vqg07ccHw7Fls1vk=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=AQwsJ52r/sWUFg5gY/mFxCSi7ZAq7jhDoxJa35B1Xo/QI41oSSea/r7JMGAqBQWhs AbAJrSh1/qur0chY58EkfEXItFo/JWpDB/nMUmNtMnBd0oSdJTWu+0bCxcZ623v7zk JKKRrtGrhS25KTS1kgXqppP2IIerYU18PhEMGU6w=
- In-reply-to: <2323FEBE3E9BDECDA77AF3B6@[192.168.1.2]>
- References: <20140814200516.GI30182@numachi.com> <2323FEBE3E9BDECDA77AF3B6@[192.168.1.2]>
--On Thursday, August 14, 2014 2:45 PM -0700 Quanah Gibson-Mount
<quanah@zimbra.com> wrote:
--On Thursday, August 14, 2014 5:05 PM -0400 Brian Reichert
<reichert@numachi.com> wrote:
I've been messing with trying to get SHA512 password hash formats in
openldap 2.4.39 under a 64-bit CentOS 6 distribution, using the LTB RPMs.
SHA512 works fine for me with 2.4.39.
More specifically, I build openldap myself, and I do:
(cd openldap-$(LDAP_VERSION)/contrib/slapd-modules/passwd/sha2; \
LD_RUN_PATH=$(LDAP_LIB_DIR):$(OPENSSL_LIB_DIR):$(CYRUS_LIB_DIR):$(LIBTOOL_LIB_DIR)
$(MAKE) prefix=$(ZIMBRA_HOME)/openldap-$(LDAP_VERSION)
libexecdir=$(ZIMBRA_HOME)/openldap-$(LDAP_VERSION)/sbin
LIBS="-L$(LDAP_LIB_DIR) -lldap_r -llber" install STRIP=""; \
to build the module and then load the module:
olcModuleLoad: {7}pw-sha2.la
Then set the password hash in the frontend DB:
{-1}frontend DB:
olcPasswordHash: {SSHA512}
--Quanah
--
Quanah Gibson-Mount
Server Architect
Zimbra, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration