Do you have a mapping defined for cardnumber? Is the corresponding LDAP field always populated and unique? If not, remove the mapping for it.<br><br>It sounds like you don't have an accurate <mapping> for your LDAP schema.<br>
<br>--Joe<br> <br><div class="gmail_quote">On Thu, Feb 19, 2009 at 12:13 PM, Barry Cannon <span dir="ltr"><<a href="mailto:bc@interleaf.ie">bc@interleaf.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-IE">
<div>
<p>Hi All,</p>
<p> I am still battling through getting Koha
talking to LDAP. I have managed to get so far but the latest problem is shown
below in the apache logs. The problem is the cardnumber field is being
completely ignored on the replication. Other LDAP attributes come across fine
but we can only manage one sync and the rest fail with the error below. This is
obviously because the cardnumber has to be unique and the next patron to import
is also '' so duplication occurs. </p>
<p>Also, when a user logs into OPAC all the Parton Details
attributes are blank.</p>
<p>[Thu Feb 19 12:55:15 2009] opac-user.pl: DBD::mysql::st
execute failed: Duplicate entry ' ' for key 2 at
/usr/share/koha/lib/C4/Members.pm line 769, <DATA> line 466.</p>
<p>AUTH_3: no results for userid='mmg', cardnumber=''.</p>
<p>[Thu Feb 19 12:55:15 2009] opac-user.pl:
PARAM:LOOP:next_loop:hash pointer was expected but not found at
/usr/local/lib/perl/5.8.8/HTML/Template/Pro.pm line 191, <DATA> line 466.</p>
<p>[Thu Feb 19 12:59:19 2009] opac-user.pl: DBD::mysql::st
execute failed: Duplicate entry ' ' for key 2 at
/usr/share/koha/lib/C4/Members.pm line 769, <DATA> line 466.</p>
<p>AUTH_3: no results for userid='mmg', cardnumber=''.</p>
<p> </p>
<p>Can anyone help?</p>
<p> </p>
<p><span style="color: rgb(31, 73, 125);" lang="EN-US">Regards</span><span style="font-size: 10pt; color: black;" lang="EN-US"></span></p>
<p><span style="color: rgb(31, 73, 125);" lang="EN-US">Barry Cannon <br>
<br>
</span><span lang="EN-US"></span></p>
<p> </p>
</div>
</div>
<br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br>