info-cyrus@lists.andrew.cmu.edu wrote:
Tomasz Chmielewski wrote:
I have a user base in two databases: one in LDAP, for Samba, and one
in MySQL, for cyrus/mail.
It's not very comfortable, as I have to do the things twice.
So I thought of "leeching" the users and passwords from the LDAP
database, filtering it through a script, and creating cyrus accounts
this way.
There is one problem though - Samba accounts use SSHA encryption, and
Cyrus doesn't.
What encryption is used by Cyrus?
When I look into MySQL database, the password look like that:
abcDe12FGHiJK
So it's 13 characters.
What encryption is it?
Why not buil cyrus to read users from LDAP?
It would be problematic here.
Right now I have several LDAP (Samba) databases on different servers -
for different user groups.
On the other hand, one MySQL (cyrus) database is used for all users.
So, if I wanted to make Cyrus read from LDAP, it would have to read from
several LDAP servers.
Can it do it? I didn't google much, but perhaps it's either impossible,
or hard to do.
So I assumed the approach I described earlier would be easier.
--
Tomasz Chmielewski
Software deployment with Samba
http://wpkg.org
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html