Joomla passwords

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I'm trying to switch from an old joomla + courier+ postfix
installation to a new joomla + cyrus-imapd + postfix. Authentication in
thee done by saslauthd backed by pam_mysql.

The passwords in the old system was crypt paswords using md5 as
encryption algorithm.

E.g: they looked something like:
    
                        $1$salt$md5hash

I can create such passwords in mysql by the command:

select encrypt('secret','$1$salt$');



On the new joomla installation passwords look like this
                    MD5hash:salt

E.g:  66a6f5c07e03913bf0a695ca26192c7a:1LdDgyM92OmPhsABdoHpik9uQzKYUfNeG

but as my mysql database contains passwords of the form $1$salt$md5hash
this will not work, in the pam_mysql, mail system.

My idea is to create an extra column called saslpassword in the joomla
jos_users table that contain a converted version of the new joomla
password that could work with my mail system that wants passwords of the
old $1$salt$md5hash form.

I tried to rearrange the MD5hash:salt and add $1$ to the beginning of
the salt and yet another $ to the end of the salt, finally I appended
the MD5hash. In other words, my example joumla password example from
above would turn into:
  
$1$1LdDgyM92OmPhsABdoHpik9uQzKYUfNeG$66a6f5c07e03913bf0a695ca26192c7a


But that did not work. Some posts on the net gives me the
impression that the new joomla passwords are created as MD5('secret
clear text password').

Is there some way to convert between these two forms of passwords,
preferably both ways. 

If I could do it both ways, I could add triggers to change the joomla
standard password, if sombody if sombody modifies my new saslpassword
column and vice versa.


Any ideas?

Thanks
/Uno Engborg

			

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux