userid in stead of cardnumber
Hi, We have a working LDAP connection with Koha; however, there's one problem. The login name is mapped to the card number and we want to map it on the userid or OPAC login. How can we change that? The ldap-koha mappings in our koha-conf.xml: <firstname is="givenname" ></firstname> <surname is="sn" ></surname> <address is="company" ></address> <city is="l" >Athens, OH</city> <zipcode is="postalCode" ></zipcode> <branchcode is="branch" >NL</branchcode> <userid is="cn" ></userid> <password is="userPassword" ></password> <email is="mail" ></email> <categorycode is="employeeType" >PT</categorycode> <phone is="telephoneNumber"></phone> So the configuration seems ok (mapping it to userid), but after a succesful login I noticed it is mapped to the card number..... Jan The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
I'm trying to process a sample batch bib record load, and I'm getting the following error: koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.pl line 24. BEGIN failed--compilation aborted at misc/migration_tools/bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$ I would appreciate any suggestions. Thanks! -- Andrea Schurr Web Technology Librarian and ILS Manager Lupton Library, Dept. 6456 University of Tennessee at Chattanooga Phone: 423-425-2668 Fax: 423-425-4775 Email: Andrea-Schurr@utc.edu
Hi Andrea, On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu>wrote:
I'm trying to process a sample batch bib record load, and I'm getting the following error:
koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.plline 24. BEGIN failed--compilation aborted at misc/migration_tools/ bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$
It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well. Kind Regards, Chris
Thanks Chris! I was missing that bit. Unfortunately, I’m still getting the same error L -- Andrea Schurr Web Technology Librarian and ILS Manager Lupton Library, Dept. 6456 University of Tennessee at Chattanooga Phone: 423-425-2668 Fax: 423-425-4775 Email: Andrea-Schurr@utc.edu From: Chris Nighswonger [mailto:cnighswonger@foundations.edu] Sent: Friday, October 16, 2009 2:47 PM To: Andrea Schurr Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Batch Marc Load Error Hi Andrea, On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu> wrote: I'm trying to process a sample batch bib record load, and I'm getting the following error: koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.pl line 24. BEGIN failed--compilation aborted at misc/migration_tools/bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$ It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well. Kind Regards, Chris
Hi Andrea
Thanks Chris! I was missing that bit. Unfortunately, I’m still getting the same error L
What kind of install did you choose? (ie. Standard, Dev, etc.)
*From:* Chris Nighswonger [mailto:cnighswonger@foundations.edu]
*Sent:* Friday, October 16, 2009 2:47 PM *To:* Andrea Schurr *Cc:* koha@lists.katipo.co.nz *Subject:* Re: [Koha] Batch Marc Load Error
Hi Andrea,
On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu> wrote:
I'm trying to process a sample batch bib record load, and I'm getting the following error:
koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.plline 24. BEGIN failed--compilation aborted at misc/migration_tools/ bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$
It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well.
Kind Regards, Chris
For testing purposes, we installed the unconfigured VMDK image of the Virtual Appliance. From: Chris Nighswonger [mailto:cnighswonger@foundations.edu] Sent: Friday, October 16, 2009 3:29 PM To: Andrea Schurr Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Batch Marc Load Error Hi Andrea Thanks Chris! I was missing that bit. Unfortunately, I’m still getting the same error L What kind of install did you choose? (ie. Standard, Dev, etc.) From: Chris Nighswonger [mailto:cnighswonger@foundations.edu] Sent: Friday, October 16, 2009 2:47 PM To: Andrea Schurr Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Batch Marc Load Error Hi Andrea, On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu> wrote: I'm trying to process a sample batch bib record load, and I'm getting the following error: koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.pl line 24. BEGIN failed--compilation aborted at misc/migration_tools/bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$ It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well. Kind Regards, Chris
For testing purposes, we installed the unconfigured VMDK image of the Virtual Appliance.
Ahh... I'm not familiar with these packages. However, it looks like your
On Fri, Oct 16, 2009 at 3:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu>wrote: pointed a the wrong koha-conf.xml file. I'm guessing (since the image is "unconfigured") that you need to do 'perl Makefile.PL' answer the questions and then 'make && make test && make install' HTH Kind Regards, Chris
*From:* Chris Nighswonger [mailto:cnighswonger@foundations.edu] *Sent:* Friday, October 16, 2009 3:29 PM
*To:* Andrea Schurr *Cc:* koha@lists.katipo.co.nz *Subject:* Re: [Koha] Batch Marc Load Error
Hi Andrea
Thanks Chris! I was missing that bit. Unfortunately, I’m still getting the same error L
What kind of install did you choose? (ie. Standard, Dev, etc.)
*From:* Chris Nighswonger [mailto:cnighswonger@foundations.edu] *Sent:* Friday, October 16, 2009 2:47 PM *To:* Andrea Schurr *Cc:* koha@lists.katipo.co.nz *Subject:* Re: [Koha] Batch Marc Load Error
Hi Andrea,
On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu> wrote:
I'm trying to process a sample batch bib record load, and I'm getting the following error:
koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666. Can't connect to data source 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at C4/Context.pm line 666 Compilation failed in require at C4/Items.pm line 30. Compilation failed in require at misc/migration_tools/bulkmarcimport.plline 24. BEGIN failed--compilation aborted at misc/migration_tools/ bulkmarcimport.pl line 24. koha@Koha3:~/kohaclone$
It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well.
Kind Regards, Chris
participants (3)
-
Andrea Schurr -
Chris Nighswonger -
Nijnatten, Jan van