[FIXED] Re: 'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-19 Thread Olivier Mehani
Hey Matthew, On 2015-07-18, Matthew Weigel 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, ther

Re: 'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-18 Thread Matthew Martin
I'm running ldapd on 5.7. {CRYPT} with bcrypt works fine for moodle, dokuwiki, and phpbb. encrypt(1) can generate them or PHP's password_hash() with (possibly without?) something like: // {CRYPT} is part of the string at this point $newdata['userPassword'][9] = 'b'; // $2y$ -> $2b$ Far as I know t

Re: 'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-18 Thread Matthew Weigel
On 7/18/15 4:27 AM, Olivier Mehani 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

Re: 'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-18 Thread Olivier Mehani
Hey Matthew, On 2015-07-14, Matthew Weigel wrote: >> Did anybody encounter the same issue? Is there a known cause? How could >> this be >> solved? > I'm running 5.6 and using ldapd without issue. Can you clarify how your > test user is authenticated (BSD Auth? A crypt hash in the userPassword

Re: 'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-14 Thread Matthew Weigel
On 2015-07-14 6:07, Olivier Mehani wrote: Did anybody encounter the same issue? Is there a known cause? How could this be solved? I'm running 5.6 and using ldapd without issue. Can you clarify how your test user is authenticated (BSD Auth? A crypt hash in the userPassword attribute?)? -

'ldap_bind: Operations error (1)' with ldapd-5.6

2015-07-14 Thread Olivier Mehani
Hi all, I'm currently doing a long overdue upgrade from 5.5 to 5.7, but I hit what appears to be a regression in ldapd-5.6. Namely, a functional ldapsearch with ldapd-5.5 fails with -5.6. Where this is more problematic is that all other authentication attempts similarly fail with 'Operations error