Opened 10 years ago

Closed 10 years ago

#749 closed defect (fixed)

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:

Description

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 (2)

comment:1 by ak19, 10 years ago

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).

comment:2 by ak19, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.