Re: [PATCH] buffers in nslcd/shadow.c are too small
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] buffers in nslcd/shadow.c are too small
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] buffers in nslcd/shadow.c are too small
- Date: Wed, 28 Aug 2013 21:10:01 +0200
On Tue, 2013-08-27 at 17:36 -0500, Bersl wrote:
> I was trying to get LDAP auth working over NSS (without PAM) and not
> having much success. I came across
> <http://lists.arthurdejong.org/nss-pam-ldapd-users/2012/msg00217.html>
> from last year, and I found that the only change I had to make from
> what I had been trying was to switch to old-style DES crypt(3)
> passwords. The MD5 variant also worked.
>
> When I looked at the results of getent shadow more closely, I saw that
> the hash was being truncated. I made the following change to the
> codebase, and now all forms of crypt(3) passwords work.
Thanks for testing and thanks for your patch. I integrated it with a few
small changes, see:
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=7140d2197ab2132b33553bacc5f8d8240ed13bbe
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/