I have tried but admin user bind and
anonymous user bind.. non seem to work. .. now with admin user
bind here is the error I get
LDAP Auth rejected : invalid password for user 'foo'. LDAP error
#5: LDAP_COMPARE_FALSE
# This code is returned when a compare request completes and the
attribute value
given is not in the entry specified
Use of uninitialized value in concatenation (.) or string at
/usr/share/koha/lib/C4/Auth.pm line 409, <DATA> line 595.
Use of uninitialized value in string eq at
/usr/share/koha/lib/C4/Auth.pm line 409, <DATA> line 595.
Use of uninitialized value $ENV{"SERVER_PORT"} in concatenation
(.) or string at /usr/share/koha/lib/C4/Auth.pm line 409,
<DATA> line 595.
<useldapserver>1</useldapserver><!-- see
C4::Auth_with_ldap for extra configs you must add if you want to
turn this on -->
<ldapserver id="ldapserver" listenref="ldapserver">
<hostname>127.0.0.1</hostname>
<base>ou=People,dc=example,dc=edu,dc=ng</base>
<user>cn=admin,dc=example,dc=edu,dc=ng</user>
<pass>pass</pass>
<replicate>0</replicate>
<update>1</update>
<auth_by_bind>0</auth_by_bind>
<mapping>
<userid is="uid"></userid>
<firstname is="givenname"></firstname>
<surname is="sn"></surname>
<email is="mail"></email>
<phone is="telephoneNumber"></phone>
<password is="userPassword"></password>
</mapping>
</ldapserver>
On 19/02/2015 18:29, Michael Hafen wrote:
Is you're ldap server allowing anonymous bind and
search? You don't have a <user> or <pass> in the
<ldapserver> config, so Koha will try to do an anonymous
bind and search to find the user by their uid. I expect you're
ldap server isn't allowing anonymous bind and search, since I
would never allow that on my server if I didn't have to. Do you
provide something like a rootdn and password to dspace for it to
work?