Thanks for your time! I was able to figure it out with your info, thanks!!!!

On Wed, Nov 3, 2010 at 2:32 PM, Brion Vibber <br...@status.net> wrote:
> On 11/3/10 6:53 AM, William Ottley wrote:
>>
>> I need to figure out the salted combo for the password.
>> Can someone please provide it?
>>  I'm going through the php code, and well I'm frankly not a strong php
>> person. (i'm a systems guy).
>> I need the password combo for an NSIS script....
>
> The common_munge_password() function in lib/util.php does this; currently it
> comes down to a simple:
>
>    return md5($password . $id);
>
> So the result is the hex MD5 hash of the password with the integer user ID
> concatenated on the end.
>
> If you need to compare provided passwords against that database, then you
> should be able to do that just by looking up the ID and hash from the user
> table; if you need to inject password hashes for new users into the user
> database, then that's how to make them.
>
> If on the other hand you need to use an external authentication source, you
> might think about the LDAP plugins or making a custom authn plugin along
> similar lines.
>
> -- brion
> _______________________________________________
> StatusNet-dev mailing list
> StatusNet-dev@lists.status.net
> http://lists.status.net/mailman/listinfo/statusnet-dev
>
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to