[Web-cyradm] Cyrus 2.2.3 virt domains + Web-cyradm 0.5.4 patch

martynas at inet.lt martynas at inet.lt
Thu Apr 8 00:51:52 CEST 2004


I use web-cyradm+cyrus 2.2.x from alpha stages+postfix+pam_mysql and username
= email (like user at domain.com). It works ok for me;) Some changes are needed
to php code. Recently I wrote email to Luc about these changes and about
issues of cyrus-sasl with username in user at domain.com form.
I dont want repeat these emails;)

regards,
Martynas Bieliauskas

--- Luc de Louw <luc at delouw.ch> wrote:
> Michael Hsu wrote:
> > 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
> 
> I'll check that over the weekend, as usual time is rare :-(
> 
> > 
> > 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. 
> 
> Hopefully there will be a patch available soon...
> 
> > 
> > Just protect your DB ;)
> > 2) In the conf.php set $CRYPT= "plain 0";
> 
> That is VERY bad! Is there no other way?
> 
> > 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 :)
> 
> As I notes obove, I'll check the patch. Hopefully you added a new config 
> variable in conf.php...
> 
> The only bad thing about this is the plain text password storage.
> 
> rgds and thanks
> 
> Luc
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
> 
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm




More information about the Web-cyradm mailing list