Ticket #749 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Local Library server Admin pages authentication fails

Reported by: ak19 Owned by: nobody
Priority: high Milestone: 2.85 Release
Component: Greenstone2 Runtime Severity: major
Keywords: Cc:


Admin pages authentication fails when running Local Library server (but not when running Apache web server). It doesn't recognise admin username and the password selected upon installation.

Change History

Changed 8 years ago by ak19

Dr Bainbridge fixed this. The fix was in recpt\w32server\cgiwrapper.cpp

The Local Library server's cgiwrapper.cpp (in src\recpt\w32server) was calling the userdbclass() and keydbclass() constructors in userdb.cpp with the paths to the usersdb and keydb files, when cgiwrapper.cpp should have passed them gsdlhome instead (since the dbclass constructors work out the the paths to the 2 db files themselves, using the expected gsdlhome).

Changed 8 years ago by ak19

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.