Re: Could not open DB

From: Dirk Tamme (tamme at unicon-gmbh dot com)
Date: Fri Mar 26 2004 - 02:51:47 EST

  • Next message: Andreas Winkelmann: "Re: Could not open DB"

    Andreas wrote:

    >On Thu, Mar 25, 2004 at 05:31:01PM +0100, Dirk Tamme wrote:
    >
    >
    >>I have the file
    >>/usr/lib/sasl/Sendmail.conf
    >>which consists of one line:
    >>pwcheck_method: pam
    >>
    >>
    >
    >This is not correct for sasl-2.1.x. You should use either auxprop or
    >saslauthd there. Since "pam" is wrong, sasl is likely using the default
    >(auxprop), hence the error messages about not being able to open the
    >db (which I assume is /etc/sasldb2).
    >
    >
    >
    >>What I wanted to do is
    >>/usr/sbin/saslauthd -a pam
    >>but this gives the error message
    >>unknown authentication mechanism: pam
    >>
    >>
    >
    >Then saslauthd is not compiled with pam support. Try shadow just for the
    >
    >
    >sake of testing, it would use /etc/shadow.
    >
    >
    >
    The program call
    saslauthd -a shadow
    works, after I had created the directories /var/state and
    /var/state/saslauthd
    Then I changed the contents of Sendmail.conf into
    pwcheck_method: shadow
    The passwords are "shadowed" so it should work.
    After rebuildind and restart sendmail, I tried to send an mail using
    authentication and got
    the same error , giving in logall:

     Could not open db

    I also changed the contents of Sendmail.conf into
    pwcheck_method: saslauthd
    It gives the same error.

    What I already found out is that I don't have /etc/sasldb2.
    Should I create this DB, and what I have to do in this case?
    I'm asking for help again.
    Thank you in forward
                                                 Dirk Tamme


  • Next message: Andreas Winkelmann: "Re: Could not open DB"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD