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

Re: (ITS#7278) [PATCH] SHA-2: Add support salted SHA-2 password hashes



This is a cryptographically signed message in MIME format.

--------------ms010700080803040702000401
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

quanah@zimbra.com wrote:
> --On Tuesday, May 29, 2012 4:08 PM +0000 hyc@symas.com wrote:
>=20
>>> It is a problem that a slappasswd user must have read privilage
>>> on slapd.conf (or slapd.d) by this patch...
>>
>> slappasswd is an administrative command; if you don't have administrat=
or
>> access already you have no business running it.
>=20
> What in any way makes it administrative?  You simply give it a password=
 to=20
> convert into whatever scheme for you.  Where is the administrative=20
> requirement?  Why shouldn't X user with some particular permissions int=
o=20
> the database, but not the configuration, be able to run it to generate =
a=20
> value?

I concur with Quanah: I know many operational procedures where slappasswd=
 is
just used to generate pre-hashed userPassword values. This usage is suppo=
rted
by DESCRIPTION in slappasswd(8). I also don't see a requirement for
administrative access to slapd's config at all.

Doesn't this ask for fully integrating SHA-2 password support into
libraries/liblutil/passwd.c?

Ciao, Michael.


--------------ms010700080803040702000401
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFOzCC
BTcwggMfoAMCAQICAwl4kDANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMDEx
MTcxNTQzMzFaFw0xMjExMTYxNTQzMzFaMD8xGDAWBgNVBAMUD01pY2hhZWwgU3Ry9mRlcjEj
MCEGCSqGSIb3DQEJARYU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