[Web-cyradm] Cyrus 2.2.3 virt domains + Web-cyradm 0.5.4 patch
Michael Hsu
cheeto at shaolinux.org
Wed Apr 7 13:16:46 CEST 2004
Hi all, I recently started using web-cyradm but noticed it didn't
really support Cyrus 2.2.x's fully qualified user names of
username at domainname.com instead of username.domainname.com so I made a
very simple patch for it which can be found here:
http://www.shaolinux.org/web-cyradm-0.5.4.diff
There are some things to note when using this however.
1) it does not work with pam_mysql due to the fact that sasl does not
pass the @domainname.com to pam. Therefore you must use the auxprop
mysql plugin and use plaintext passwords in your mysql database. Some
people look down on this, and I do too but I really wanted to get the
fully qualified user names and didn't want to write a patch for sasl.
Just protect your DB ;)
2) In the conf.php set $CRYPT= "plain 0";
3) the cyrus administrator login (not the web-cyradm frontend login)
must also have a fqun. ie. cyrus at localdomain.com.
4) This does not work with unixhierarchysep. It can be easily added
however. If someone really wants it I'll consider adding it.
5) Search features haven't been fully patched, I have too much to work
on right now to do that, sorry :(
I have only tested this with Cyrus 2.2.3, web-cyradm 0.5.4, and sendmail
8.12.11 on Debian unstable. It will work with postfix as I'm sure 99%
of you use that, I didn't make any sendmail specific changes. So here
it is, if you want this feature use it, if not dont, if you think my
patching skills suck dont use my patch, otherwise enjoy. If you find
any bugs with it please let me know so I can patch my own setup :)
Michael Hsu
More information about the Web-cyradm
mailing list