Re: [exim] sasl auth not working exim 4.76

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Alex
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] sasl auth not working exim 4.76
nm guys I solved it. pebkac. I didnt setup the saslauth socket in the
makefile.

On Wed, 27 Jul 2011 13:45:33 +1000, Alex wrote:
> Hi Guys,
>
> Not sure whether I have stumbled across a bug or perhaps I have
> misconfigured something. I am trying to get SMTP auth to work using
> SASL. Auth is failing and in the exim log:
>
> 2011-07-27 12:51:59 login_saslauthd_server authenticator failed for
> ([IP.IP.IP.IP]) [IP.IP.IP.IP]: 435 Unable to authenticate at present
> (set_id=alex): support for "saslauthd" not compiled
>
> I checked the Local/Makefile and it's definately enabled.
>
> root@srv:~/exim-4.76# cat Local/Makefile | grep -i sasl
> AUTH_CYRUS_SASL=yes
> # If you specified AUTH_CYRUS_SASL above, you should ensure that you
> have the
> # Cyrus SASL library installed before trying to build Exim, and you
> probably
> AUTH_LIBS=-lsasl2
>
> root@srv:~/exim-4.76# ldd /usr/sbin/exim-4.76-21
>         linux-vdso.so.1 =>  (0x00007fffc37ff000)
>         libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
> (0x00007fc24fd25000)
>         libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 
> (0x00007fc24fb0b000)
>         libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
> (0x00007fc24f8d1000)
>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 
> (0x00007fc24f64c000)
>         libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 
> (0x00007fc24f43f000)
>         libspf2.so.2 => /usr/lib/libspf2.so.2 (0x00007fc24f221000)
>         libdb-4.8.so => /usr/lib/x86_64-linux-gnu/libdb-4.8.so
> (0x00007fc24eeb4000)
>         libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007fc24ec9a000)
>         libperl.so.5.10 => /usr/lib/libperl.so.5.10 
> (0x00007fc24e92e000)
>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 
> (0x00007fc24e72a000)
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007fc24e50c000)
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 
> (0x00007fc24e177000)
>         libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007fc24df24000)
>         libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 
> (0x00007fc24db95000)
>         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
> (0x00007fc24d958000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fc24ff58000)
>         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 
> (0x00007fc24d740000)

>
> root@srv:~/exim-4.76# ps aux | grep sasl
> root     17724  0.0  0.0  54764   852 ?        Ss   12:34   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> root     17726  0.0  0.0  54764   524 ?        S    12:34   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> root     17727  0.0  0.0  54764   524 ?        S    12:34   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> root     17728  0.0  0.0  54764   524 ?        S    12:34   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> root     17729  0.0  0.0  54764   524 ?        S    12:34   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5

>
> OS is Ubuntu 11.04 64 Bit - I am not using a precompiled package as
> you can see. I have compiled from source.
>
> Any ideas on where to start looking or should I file a bug report?
>
> Cheers,
> Alex.