Using a password that is stored in the database as a hash of the password+salt (bugzilla, subversion, Cyrus-SASL integration)
From: Barneck, Jared <Jared.Barneck_at_landesk.com>
Date: Fri, 16 Apr 2010 17:48:53 -0600
Hey all,
My goal is to have Subversion and Bugzilla share the same users by
Seems to me there should be a post somewhere called: How to make
I have Cyrus-Sasl successfully using a database if the password field is
However, Bugzilla creates an SHA256 hash as well as appends two strings:
1. It salts the password before hashing. (I am still researching this)
Is there a way to make Cyrus-SASL use the MD5, SHA1, or SHA256 hash
Is there a way to handle the appended string: {SHA256}
Here is my setup clear text setup that works with a clear text database:
Here is a file that works with a Clear Text password:
# svn.conf.ClearTextDatabasePassword
I have been through the documentation and I thought maybe it was sql_mda
Bugzilla has a table called "profiles" with two interesting columns:
login_name cryptpassword
Here is what I have to try to work with Bugzilla:
# svn.conf.ClearTextDatabasePassword
Here is a sample result of that query:
SELECT cryptpassword FROM profiles WHERE login_name=user1_at_domain.tld'
So the password is going to be passed in clear text to Cyrus-SASL. The
So the password, I assume, does a string compare. Such a compare is
ClearTextPassword ==
I am fuzzy on who compares the password strings: Cyrus-SASL or
So I need Cyrus-SASL to
1. Does Cyrus-SASL or Subversion handle the password comparison?
If Cyrus-SASL
If Subversion
Anyway, if I get this figured out, I promise to create that a post on my
If I can't figure it out, I will probably setting for pointing them both
Thanks,
Jared Barneck
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.