Hi Demian,

 

We try to make things as seamless as possible, so your suggestion about doing the Oracle lookup seems more elegant than prompting for lastname and barcode (this was a pet hate in WebVoyage and why we use LDAP).

 

Thank you for your help.

 

Stewart

 

From: Demian Katz [mailto:demian.katz@villanova.edu]
Sent: 21 February 2013 13:52
To: Stewart Brownrigg; vufind-tech@lists.sourceforge.net
Subject: RE: Auth problems, surname different in LDAP and Voyager

 

At Villanova, we don’t try to populate cat_username from LDAP; we use LDAP for authentication, but if the user tries to access Voyager functionality, they get prompted to enter barcode and last name separately.  If this is the behavior you desire, you should be able to achieve it simply by commenting out the cat_username / cat_password LDAP settings in your configuration.

 

And actually, since you are talking about names, is it actually the cat_password field that is causing you trouble?  Shouldn’t cat_username be a barcode?

 

Assuming that you have a barcode from LDAP, you might be able to add some custom code to do an Oracle lookup of the user’s last name in the Voyager database based on the barcode, and then use that data to populate cat_username/cat_password.  That might get a little messy, but I can make some suggestions if you need help.

 

- Demian

 

From: Stewart Brownrigg [mailto:S.J.Brownrigg@kent.ac.uk]
Sent: Thursday, February 21, 2013 7:59 AM
To: vufind-tech@lists.sourceforge.net
Subject: [VuFind-Tech] Auth problems, surname different in LDAP and Voyager

 

Hi,

 

We are experiencing difficulties authenticating users where their name in LDAP is represented differently in Voyager.   Our Voyager data comes direct from the data systems, but LDAP names are normalised quite heavily (e.g. losing diacritics, double barrelled names being truncated).

 

Is there any way to get the database to pull cat_username from the Voyager record, instead of LDAP?

 

Many thanks,

Stewart

--

Stewart J Brownrigg

Learning & Research Development, Information Services, University of Kent, Canterbury, Kent, CT2 7NF, UK

+44(0)1227 823621