Do you have access to the password checking code for the source system?
It's fine to say that you have an SHA1 hash, but even if that's true, there
are many choices for how to represent the digest, and how to apply the
salt.
If you have access to the code, you might insert print statements to see
what various intermediate values you see. If it's just a case of representing
the hash (or salt) as an integer versus a hexadecimal string, for example,
then you have a prayer of converting. But if one applies the salt to the
beginning of the message, and the other to the end, or to both, or embeds
it, or one squashes the password to radix 50 or some such and the other
doesn't, or a number of other possibilities, you are out of luck making it
work with the default auth framework.
You could implement an additional password type in Django, using the old
site's algorithm, and calling it something other than sha1 (the key before
the first '$').
> --
>
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to
django...@googlegroups.com.
> To unsubscribe from this group, send email to
django-users...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>
>
>