http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9611 --- Comment #64 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- (In reply to Srdjan Jankovic from comment #62)
No, this scripts goes directly to Auth_with_ldap.pm, the purpose was to avoid checking the config and doing the LDAP bit so we can test password change only without having to connect to an LDAP server.
So, perhaps I'm just doing something wrong, I don't know.
No, you are doing the right thing, just please check the borrowernumber.
Well, not so :) I need to add <ldapserver> stanza, if not perl -e 'use C4::Auth_with_ldap; C4::Auth_with_ldap::_do_changepassword("test", 12345, "xxxx");' No "ldapserver" in server hash from KOHA_CONF: /home/bgkriegel/kohadev/etc/koha-conf.xml at /home/bgkriegel/kohaclone/C4/Auth_with_ldap.pm line 57, <DATA> line 522. Compilation failed in require at -e line 1, <DATA> line 522. BEGIN failed--compilation aborted at -e line 1, <DATA> line 522. But my previous problem was not using correct borrowernumber, so it's ready I'll re-upload all, with a followup to fix a small POD error -- You are receiving this mail because: You are watching all bug changes.