[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postfix-2.2.0-sasl2-ldap / cyrus-sasl-2.1.20p3-ldap on OpenBSD 3.7



I'm wrong here, sorry.
> Make sure authldap is in /usr/local/libexec/authlib/

saslauthd works fine with default mutex placed in /var/sasl2/
/usr/local/sbin/saslauthd -a ldap -O /etc/saslauthd.conf

On Friday 15 April 2005 21:11, Maxim Bourmistrov wrote:
> Make sure authldap is in /usr/local/libexec/authlib/
>
> On Friday 15 April 2005 09:45, Chris Paul wrote:
> > Dear Misc,
> >
> > I had this working on an OpenBSD 3.5 box but haven't been able to get it
> > to work since then. I'm trying now on 3.7.
> >
> > - SASL is running with LDAP as the map:
> >
> > [root_(_at_)_donut:/root]# ps -ax|grep sasl
> > 25762 ??  Is      0:00.02 /usr/local/sbin/saslauthd -m
> > /var/spool/postfix/var/sasl2/ -a ldap -O /etc/saslauthd.conf 28777 ??  I
> >    0:00.01 /usr/local/sbin/saslauthd -m /var/spool/postfix/var/sasl2/ -a
> > ldap -O /etc/saslauthd.conf 27046 ??  I       0:00.00
> > /usr/local/sbin/saslauthd -m /var/spool/postfix/var/sasl2/ -a ldap -O
> > /etc/saslauthd.conf 3741 ??  I       0:00.01 /usr/local/sbin/saslauthd -m
> > /var/spool/postfix/var/sasl2/ -a ldap -O /etc/saslauthd.conf 29628 ??  I
> >    0:00.00 /usr/local/sbin/saslauthd -m /var/spool/postfix/var/sasl2/ -a
> > ldap -O /etc/saslauthd.conf
> >
> > - SASL works:
> >
> > testsaslauthd  -u <user> -p <password> -f
> > /var/spool/postfix/var/sasl2/mux 0: OK "Success."
> >
> > - But Postfix isn't happy with it, though it is in the postfix chroot (in
> > the right place, I thought):
> >
> > Apr 15 00:36:25 donut postfix/smtpd[19927]: warning: SASL authentication
> > failure: Password verification failed Apr 15 00:36:25 donut
> > postfix/smtpd[19927]: warning: unknown[10.7.5.50]: SASL PLAIN
> > authentication failed Apr 15 00:37:05 donut postfix/smtpd[19927]:
> > warning: unknown[10.7.5.50]: SASL LOGIN authentication failed
> >
> > - Just fooling with things, I stopped SASL to see if I would get a
> > different error. I did and it indicates that at least in the above
> > failure, the socket is in the correct place (as it isn't found, as
> > expected, when the saslauthd daemon is not running)
> >
> > Apr 15 00:27:56 donut postfix/smtpd[21008]: warning: SASL authentication
> > failure: cannot connect to saslauthd server: No such file or directory
> > Apr 15 00:27:56 donut postfix/smtpd[21008]: warning: SASL authentication
> > failure: Password verification failed Apr 15 00:27:56 donut
> > postfix/smtpd[21008]: warning: unknown[10.7.5.50]: SASL PLAIN
> > authentication failed
> >
> > - here is the perms on the socket:
> >
> > [cpaul_(_at_)_donut] $ ls -l /var/spool/postfix/var/sasl2
> > total 2
> > srwxrwxrwx  1 root  wheel  0 Apr 15 00:36 mux
> > -rw-------  1 root  wheel  0 Apr 15 00:36 mux.accept
> > -rw-------  1 root  wheel  6 Apr 15 00:36 saslauthd.pid
> >
> > Any clues?
> >
> > thanks,
> >
> > CP

-- 
Best regards
Maxim Bourmistrov



Visit your host, monkey.org