<div dir="ltr">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?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 8:08 AM, Bobby <span dir="ltr"><<a href="mailto:bigbrovar2@gmail.com" target="_blank">bigbrovar2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One thing which is not quite clear from the documentations am reading is where the location for the /koha-conf.xml file should be.. most docs say it should be in /etc/koha .. however when I checked my debian koha install the file is located at /etc/koha/sites/library/ (which is where I inputted the ldap configurations)<br>
<br>
I am suppose to create a file at /etc/koha/koha-conf.xml ? could this be the problem?<br>
<br>
I have tripped checked ldap dn config and other parameters I can not see where the problem is. same parameter works with dspace without issues :(<span class="im HOEnZb"><br>
<br>
On 19/02/2015 14:41, Mark Tompsett wrote:<br>
</span><div class="HOEnZb"><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
however when I do a:<br>
perl <a href="http://opac-user.pl" target="_blank">opac-user.pl</a> userid=foo password=passwd > /tmp/junk.txt<br>
I get this error:<br>
perl <a href="http://opac-user.pl" target="_blank">opac-user.pl</a> userid=foo password=passwd > /tmp/junk.txt<br>
LDAP bind failed as kohauser foo: LDAP error #34: LDAP_INVALID_DN_SYNTAX<br>
# The request contained an invalid DN<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<base>ou=People,dc=example,dc=<u></u>edu,dc=ng</base><br>
</blockquote>
<br>
You need to modify this line according to your LDAP configuration.<br>
<br>
GPML,<br>
Mark Tompsett<br>
______________________________<u></u>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-<u></u>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.<u></u>org/cgi-bin/mailman/listinfo/<u></u>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.<u></u>org/</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-<u></u>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.<u></u>org/cgi-bin/mailman/listinfo/<u></u>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.<u></u>org/</a><br>
</div></div></blockquote></div><br></div>