Hi guys .. am running koha 3.16 (using debian 7 packages) however I am unable to get ldap authentication working I have setup the ldap paremeters in /etc/koha/site/opac/koha-conf.xml

<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>localhost</hostname>
        <base>ou=People,dc=example,dc=edu,dc=ng</base>
        <replicate>0</replicate>
        <update>1</update>
        <auth_by_bind>1</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>

however when I do a perl opac-user.pl userid=foo password=passwd > /tmp/junk.txt I get this error
perl opac-user.pl userid=foo password=passwd > /tmp/junk.txt
LDAP bind failed as kohauser foo: LDAP error #34: LDAP_INVALID_DN_SYNTAX
# The request contained an invalid DN

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to