There is a bug in 5.x-1.1 (might be in 4.7 too I haven't checked) which prevents ljxp from being able to cross post onto LJ - any attempt fails with a incorrect password error.

The problem is in ljxp_new_message() where the MD5 hash for the password is being calculated incorrectly. For more information on the LJ API see http://www.livejournal.com/doc/server/ljp.csp.protocol.html

I have attached a patch which works for me.

kmv.

CommentFileSizeAuthor
patch_131.txt691 byteskmv

Comments

wrunt’s picture

Status: Needs review » Fixed

Thanks for pointing out what the problem was kmv, it's fixed in cvs now. I didn't make the same change you did. The plain text password was being stored when ljxp data was being inserted, but changed to the md5 sum on update. It is now always stored as the md5 sum.

agileware’s picture

The fix is in the 5.x-1.2 release.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.