I'm pasting below two of the email messages I exchanged with people finding this problem when they try my 2.0.16-2 rpm packages.
I'm testing the release 3 on the rpm packages now. It includes these changes/fixes. --------------------------------------------- Peter: I was looking at this problem during the week end. This is what I found so far: The problem lies with the authorization configuration choices Cyrus makes available (beware: It is authorization or what rights do you have once you have authenticated to the server) they can be unix or kerberos, and this setting dictates which names and features can be used when setting the ACLs in the mailbox folders tree. Until now the compilation process of both the Red Hat's RPMs and of my RPMs was usinn by default the unix authorization method. The --with-kerberos switch passed to configure does not enable nothing in this respect, this just specify the path where the header and libs of kerberos are located. The ./configure script of Cyrus does the following to decide which autorization method to use: # Check whether --with-auth or --without-auth was given. if test "${with_auth+set}" = set; then withval="$with_auth" WITH_AUTH="$withval" else if test -f /etc/krb.conf -o -f /etc/kerberosIV/krb.conf ; then WITH_AUTH="krb" else WITH_AUTH="unix" fi fi So the /etc/krb.conf that comes with the krbafs package in RHL 7.2 activates the Kerberos method (I observed this in my new RHL 7.2 system). If I create a bogus /etc/krb.conf in my RHL 6.2 system I found myself with the same problem. I don't know if the krb5 libs RHL ships are compatible with the Kerberos environment Cyrus expect to find and if then it is worth modifying the Cyrus configure tests to expect the des_ecb_encrypt() and other stuff in the libdes4... libs shipped with krb5. But this is another completely different (painful?) problem :-D I also don't know if RHL 7 and 7.1 shipped a krbafs package (or some other) containing /etc/krb.conf The recommended solution is to add an explicit --with-auth=unix switch to configure. Even if the Kerberos stuff compiled right out the box it would not be ncie the binary RPM packages of Cyrus to (not) include support of Kerberos depending of what user building the package does (not) have installed her/his system. I think I should copy this note in the web page so it can be read by all the people trying the packages in RHL 7.2 Good luck and thanks for your feedback. Ramiro Morales <[EMAIL PROTECTED]> wrote: > Peter: > > Tuschy Peter <[EMAIL PROTECTED]> wrote: > > Hello Ramiro, > > > > i try to compile the latest cyrus rpm on my new setup on RedHat 7.2 and have > one > > problem. > > In preparation to upgrade my production systems i compile some additional > rpms > > like postfix and cyrus. > > The error was > > ----------- snip ---------- > > checking for res_search in -lresolv... yes > > checking for des_ecb_encrypt in -ldes... no > > configure: error: The Kerberos DES library is required for Kerberos > support. > > error: Bad exit status from /var/tmp/rpm-tmp.983 (%build) > > ----------- snip ---------- > > > > Kerberos5 lib and devel are instelled. any idea ? > > I just installed RHl 7.2 yesterday but I didn't had enough free > time to even booting it. > > I'm going to try rebuilding it > soon. Thanks for your report. > > Maybe looking at the log file/s generated when > you run ./configure can help you sopt the cause > of the falied configure. > > > > If i changed spec file to ./configure ... --without-krb --with-auth=unix it > will > > compile. Do i need kerberos support if i use sasldb for authentication and > have > > no kerberos configured ? > > I think no, correct ? > > I agree with you. > > > > > Regards Peter > --------------------------------------------- [EMAIL PROTECTED] wrote: > Good Day! > > I am working with your great SRPM's on Redhat 7.2 in an attempt to > perform an upgrade to a currently functional Cyrus/Postfix server. > > I am running into a perl problem when building the RPM from the spec here comes a report of another problem this user is encountering ... BTW, I also have a pristine (that is, no Red Hat official Red Hat updates installed yet) test installation of RHL 7.2 and had no encountered the problem you report. To avoid other potential compilation problems add --with-auth=unix to the %configure call (it avoids errors with the configure script screaming about a missing des function if you have the krbafs package installed because the later provides an /etc/krb.conf that make configure to get it all wrong). Also, if you are going to put the dirs that used to get the S attribute when they were in an ext2 fs (see the %post script) in the a partition with the new ext3 filesystem type then you can modify the script and skip the chattr stuff. Marius Onica <[EMAIL PROTECTED]> wrote: > Hi, > > I've tried to compile your cyrus-imapd 2.0.16 on a RedHat 7.2 machine. > Unfortunately I didn't succeed, due to the fact that the configure > script stops > complaining that it can't find the des library (from kerberos). After > some hack > it goes further but it didn.t validate the krb.h file . I don't know > what to do. > If I put in configure --with-aut=unix then I have no problem. > Have anybody some ideaa regarding the problem ? > > Best regards, > Marius Onica > ____________________________________________________________________ Get free e-mail and a permanent address at http://www.amexmail.com/?A=1