From: <M....@ls...> - 2008-08-29 14:00:24
|
I thought I'd sent this to the list, but I'm not seeing it there, so sending this again. -----Original Message----- From: Fake,M Sent: 27 August 2008 15:22 To: 'Andrew Nagy'; vuf...@li... Cc: vuf...@li... Subject: RE: LDAP authentication - anonymous bind Hi Andrew, We actually got sent a script from another site who had got this working by changing the loginLDAP function to do a bind before the search. Our LDAP system requires this before allowing the search. It wasn't a firewall issue - we have now successfully hooked up to LDAP, and we can login. Thanks for the responses from everyone who contacted me. Our problem now is that we are unable to link up to our Voyager system when we try to link to Library Catalog Username and Password. I have been trying to trace how this works through the scripts but I'm clearly missing something. The Voyager.php uses the patron ID to get the right information from Voyager - and that Patron ID is identified by a search against last name and barcode - but I can't see where we're setting these two variables, and how this connects to the Username and Password chosen in the 'Checked Out Items' box. Any pointers? Best, Michael. -----Original Message----- From: Andrew Nagy [mailto:and...@vi...] Sent: 25 August 2008 14:52 To: Fake,M; vuf...@li... Cc: vuf...@li... Subject: RE: LDAP authentication - anonymous bind Michael - The ldap script does not do an anonymous bind. It first does a search and then does a bind with the users's account info and the supplied password. If you are getting an error about "can't contact LDAP server" then you might have some network issues ... maybe a firewall? Andrew > -----Original Message----- > From: vuf...@li... [mailto:vufind- > gen...@li...] On Behalf Of M....@ls... > Sent: Friday, August 22, 2008 11:59 AM > To: vuf...@li... > Cc: vuf...@li... > Subject: [VuFind-General] LDAP authentication - anonymous bind > > Hi, > > We're struggling to get the LDAP authentication working for us. We > think it is because the User.php is working on an assumption that our > LDAP server will allow an anonymous bind - which it won't. Has anyone > tweaked the script to work with Active Directory where anonymous binds > are not available? > > For info, when we try to login the message we're getting is: > > Warning: ldap_search() [function.ldap-search]: Search: Can't contact > LDAP server in /usr/local/vufind/web/sys/User.php on line 62 > Warning: ldap_get_entries(): supplied argument is not a valid ldap > result resource in /usr/local/vufind/web/sys/User.php on line 63 > > We've tried making some adjustments to the script to run a bind closer > to how we think our LDAP requires, and this has got rid of the error > messages but we still get invalid login responses when we put in valid > usernames - so it doesn't seem to be doing a successful search. We > have successfully tested connection to LDAP from that server using our > own scripts, so we know it's not a straightforward parameter error, or > other connection issues, but we're none of us PHP experts, so fixing > the script will be trial and error. I wondered if anyone had got there > before us or could offer advice? > > Many thanks in advance, > > Michael. > > Michael Fake > Library System Manager > Library, The London School of Economics and Political Science 10 > Portugal Street, London WC2A 2HD > Email: m....@ls... Tel: 020 7955 6447 > www.library.lse.ac.uk > > > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm > > ---------------------------------------------------------------------- > - > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm |
From: Andrew N. <and...@vi...> - 2008-09-02 12:58:22
|
> We actually got sent a script from another site who had got this > working > by changing the loginLDAP function to do a bind before the search. Our > LDAP system requires this before allowing the search. It wasn't a > firewall issue - we have now successfully hooked up to LDAP, and we can > login. Thanks for the responses from everyone who contacted me. Glad to hear this - what type of LDAP server do you use? > > Our problem now is that we are unable to link up to our Voyager system > when we try to link to Library Catalog Username and Password. I have > been trying to trace how this works through the scripts but I'm clearly > missing something. The Voyager.php uses the patron ID to get the right > information from Voyager - and that Patron ID is identified by a search > against last name and barcode - but I can't see where we're setting > these two variables, and how this connects to the Username and Password > chosen in the 'Checked Out Items' box. Any pointers? This is done with the patronLogin function in Voyager.php. Are you able to see the holdings information for your records? The code that calls the patronLogin function is in web/services/MyResearch/MyResearch.php Andrew |
From: <M....@ls...> - 2008-09-04 11:39:02
|
Hi Andrew, Thanks for this. Did you mean web/services/MyResearch/MyResearch.php or some other php script in the MyResearch directory? We don't have a copy of a MyResearch.php in our install - it doesn't seem to be included in the 0.8.2 tar. Thanks, Michael. -----Original Message----- From: Andrew Nagy [mailto:and...@vi...] Sent: 02 September 2008 13:58 To: Fake,M; vuf...@li... Subject: RE: Checked Out Items > We actually got sent a script from another site who had got this > working by changing the loginLDAP function to do a bind before the > search. Our LDAP system requires this before allowing the search. It > wasn't a firewall issue - we have now successfully hooked up to LDAP, > and we can login. Thanks for the responses from everyone who contacted > me. Glad to hear this - what type of LDAP server do you use? > > Our problem now is that we are unable to link up to our Voyager system > when we try to link to Library Catalog Username and Password. I have > been trying to trace how this works through the scripts but I'm > clearly missing something. The Voyager.php uses the patron ID to get > the right information from Voyager - and that Patron ID is identified > by a search against last name and barcode - but I can't see where > we're setting these two variables, and how this connects to the > Username and Password chosen in the 'Checked Out Items' box. Any pointers? This is done with the patronLogin function in Voyager.php. Are you able to see the holdings information for your records? The code that calls the patronLogin function is in web/services/MyResearch/MyResearch.php Andrew Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm |
From: Andrew N. <and...@vi...> - 2008-09-04 12:29:45
|
Oh - I assumed you were using the latest edition from SVN. I would advise that if you want to do any VuFind hacking that you use the latest code from SVN. Any problems that you are experiencing with 0.8.2 may have already been fixed and in the SVN repository. With 0.8.2 the code you would be looking for are in the individual classes within the web/services/MyResearch directory. Andrew > -----Original Message----- > From: M....@ls... [mailto:M....@ls...] > Sent: Thursday, September 04, 2008 7:38 AM > To: Andrew Nagy; vuf...@li... > Subject: RE: Checked Out Items > > Hi Andrew, > > Thanks for this. Did you mean web/services/MyResearch/MyResearch.php or > some other php script in the MyResearch directory? We don't have a copy > of a MyResearch.php in our install - it doesn't seem to be included in > the 0.8.2 tar. > > Thanks, > Michael. > > -----Original Message----- > From: Andrew Nagy [mailto:and...@vi...] > Sent: 02 September 2008 13:58 > To: Fake,M; vuf...@li... > Subject: RE: Checked Out Items > > > We actually got sent a script from another site who had got this > > working by changing the loginLDAP function to do a bind before the > > search. Our LDAP system requires this before allowing the search. It > > wasn't a firewall issue - we have now successfully hooked up to LDAP, > > and we can login. Thanks for the responses from everyone who > contacted > > > me. > > Glad to hear this - what type of LDAP server do you use? > > > > > Our problem now is that we are unable to link up to our Voyager > system > > > when we try to link to Library Catalog Username and Password. I have > > been trying to trace how this works through the scripts but I'm > > clearly missing something. The Voyager.php uses the patron ID to get > > the right information from Voyager - and that Patron ID is identified > > by a search against last name and barcode - but I can't see where > > we're setting these two variables, and how this connects to the > > Username and Password chosen in the 'Checked Out Items' box. Any > pointers? > > This is done with the patronLogin function in Voyager.php. Are you > able > to see the holdings information for your records? > The code that calls the patronLogin function is in > web/services/MyResearch/MyResearch.php > > Andrew > > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm |