Well,

I solved the problem as described and compiled Postfix-2.0.4
with -I/usr/include/sasl and -lsasl2.

So Postfix-2.0.4+cyrus-sasl-2.1.10 rpm (saslauthd) works for me.

The only big problem I had was that RedHat uses OpenLDAP 2.0 which uses
sasl1. I solved that by contacting Nalin Dahyabhai <[EMAIL PROTECTED]> which
graciously gave me access to a not yet released rpm for OpenLDAP-2.1.

I will test this setup extensively for the next couple of weeks. The LDAP
database has about 270000 people/malboxes in it and I need to be sure
everything works before I go production with it.

Is there any reason why I should use sasl v1 as you describe Lars?


/Hans Eric Sandström
[EMAIL PROTECTED]

ps. I still think redhat should pull out that backward compatible stuff from
the cyrys-sasl-2.1.10 rpm and create a special rpm for that. Besides
OpenLDAP 2.0 I don't think there is any dependency on sasl v1 in the RedHat
8.0 packages. I really had a hard time tracking down the problem since
postfix compiled fine with the sasl v1 include file and then linked with the
sasl2 lib only to crash much later and I was scratching my head and checking
with ldd that the correct libraries was loaded.

pps. I tried recompilig the cyrus-sasl rpm but rpmbuild failed. But I will
have to do that later. I really would like to use ldap auxprop instead of
saslauthd + pam.

----- Original Message -----
From: "Lars Herrmann" <[EMAIL PROTECTED]>
To: "Zeke" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Manfred Hollstein"
<[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 2:35 PM
Subject: Re: Postfix crashes (segfault) on RedHat 8.0.
(cyrus-sasl-2.1.10needs to be split)


> I had the same problem...
>
> Included with the cyrus-sasl-rpm is saslauthd for the protocol version
> 2.
>
> postfix is to compile and link against sasl1. To get postfix using
> saslauthd you need to recompile cyrus-sasl creating saslauthd as
> included in 1.5.28 and NOT that from the 2.xx-archive.
>
> specfile:
>
> %build
> pushd cyrus-sasl-%{cs1_version}
> %configure \
>         --enable-static --with-pic --enable-shared \
>         --with-plugindir=%{_plugindir} \
>         --disable-krb4 \
>         --enable-gssapi=/usr/kerberos \
>         --with-rc4 \
>         --with-dblib=gdbm \
>         --with-saslauthd \
> ...
>
>
>
> Regards
>
> Lars
> --
> Lars Herrmann <[EMAIL PROTECTED]>
>



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to