Hey Matthew,

On 2015-07-18, Matthew Weigel <uni...@idempot.net> wrote:
>> My root user is authenticated with BSDAUTH. The rest of the users with
>> an md5crypt in the userPassword. This works with the version from 5.5
>> with a range of applications (ownCloud, Wordpress, PHPLDAPAdmin, ...).
> md5crypt...?  Well, there's your problem.
>  From http://www.openbsd.org/plus56.html:
>   * Removed md5crypt from crypt(3).
> So ldapd(8) is passing the hash string along to crypt(3) when checking 
> the user's password and crypt(3) is unable to handle it.  You'll need to 
> start migrating these password hashes.

This is correct. I migrated my personal and lookup users to crypt
passwords, and they can successfully authenticate. I'm not sure why I
went to md5crypt to start with, probably some confusion with the
apache-htpasswd format difference.

Anyway, I can confirm that using crypt passwords works well with
ldapd-5.6 and PHP application such as ownCloud, Wordpress or DokuWiki.

Thanks for your help!

-- 
Olivier Mehani <sht...@ssji.net>
PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE  F5F9 F012 A6E2 98C6 6655
Confidentiality cannot be guaranteed on emails sent or received unencrypted.

Reply via email to