<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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<br>
      <br>
      LDAP Auth rejected : invalid password for user 'foo'. LDAP error
      #5: LDAP_COMPARE_FALSE<br>
      # This code is returned when a compare request completes and the
      attribute value<br>
      given is not in the entry specified<br>
      <br>
      Use of uninitialized value in concatenation (.) or string at
      /usr/share/koha/lib/C4/Auth.pm line 409, <DATA> line 595.<br>
      Use of uninitialized value in string eq at
      /usr/share/koha/lib/C4/Auth.pm line 409, <DATA> line 595.<br>
      Use of uninitialized value $ENV{"SERVER_PORT"} in concatenation
      (.) or string at /usr/share/koha/lib/C4/Auth.pm line 409,
      <DATA> line 595.<br>
      <br>
      <br>
      <useldapserver>1</useldapserver><!-- see
      C4::Auth_with_ldap for extra configs you must add if you want to
      turn this on --><br>
              <ldapserver id="ldapserver" listenref="ldapserver"><br>
              <hostname>127.0.0.1</hostname><br>
              <base>ou=People,dc=example,dc=edu,dc=ng</base><br>
              <user>cn=admin,dc=example,dc=edu,dc=ng</user><br>
              <pass>pass</pass><br>
              <replicate>0</replicate><br>
              <update>1</update><br>
              <auth_by_bind>0</auth_by_bind><br>
         <mapping><br>
              <userid is="uid"></userid><br>
              <firstname is="givenname"></firstname><br>
              <surname is="sn"></surname><br>
              <email is="mail"></email><br>
              <phone is="telephoneNumber"></phone><br>
              <password is="userPassword"></password><br>
          </mapping><br>
      </ldapserver><br>
      <br>
      <br>
      <br>
      On 19/02/2015 18:29, Michael Hafen wrote:<br>
    </div>
    <blockquote
cite="mid:CAAh7Udm9WCdJ4LD1FxcFGBDwzd=3mSGESCg6g0Wkwq49wJ7CNw@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
              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 moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      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=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>
                  _______________________________________________<br>
                  Koha-devel mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Koha-devel@lists.koha-community.org"
                    target="_blank">Koha-devel@lists.koha-community.org</a><br>
                  <a moz-do-not-send="true"
href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel"
                    target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
                  website : <a moz-do-not-send="true"
                    href="http://www.koha-community.org/"
                    target="_blank">http://www.koha-community.org/</a><br>
                  git : <a moz-do-not-send="true"
                    href="http://git.koha-community.org/"
                    target="_blank">http://git.koha-community.org/</a><br>
                  bugs : <a moz-do-not-send="true"
                    href="http://bugs.koha-community.org/"
                    target="_blank">http://bugs.koha-community.org/</a><br>
                </blockquote>
                <br>
                _______________________________________________<br>
                Koha-devel mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Koha-devel@lists.koha-community.org"
                  target="_blank">Koha-devel@lists.koha-community.org</a><br>
                <a moz-do-not-send="true"
href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel"
                  target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
                website : <a moz-do-not-send="true"
                  href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
                git : <a moz-do-not-send="true"
                  href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
                bugs : <a moz-do-not-send="true"
                  href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>