On Wed, Aug 07, 2013 at 10:24:43PM -0700, otuoma peter wrote:
> I have almost succeeded upgrading our dspace repository from version 1.7 to
> 3.2. I followed the upgrade procedures for both versions. However, the login
> including the administrator's account can not be logged-in. It does not give
> an error message. The login does not just happen and one is redirected to the
> home page.
>
> I have tried to clear the password, digest_algorithm and salt fields in the
> eperson table using:
> UPDATE eperson SET password=md5('mypassword'),
> salt=NULL,digest_algorithm=NULL WHERE email='[email protected];
>
> This clears the salt and digest algorithm fields and populates
> password field with the md5 hash as expected. However when I attempt
> to login again, the password field is filled with SHA-512 hash string,
> the salt field with a salt string and the digest_algorithm field with
> SHA-512.That is what I would expect, and it says to me that the password was accepted. [DSpace]/log/dspace.log.* should show a login record if that is so. (You can find these by searching the file for ":login:". There will be a few other records just above it, also associated with the login attempt.) A successful login to 3.x should always upgrade an unsalted MD5 hash to a salted SHA512 hash. (IIRC the new hash is configurable, but an unsalted hash should always be replaced by a new salted hash.) > The login does not still happen and the person is redirected to the > home page. That is certainly not expected. I wonder if some local customization is not compatible with changes between 1.7 and 3.2. I wish I could suggest where to look. -- Mark H. Wood, Lead System Programmer [email protected] Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

