Re: saslatuthd and opendlap

From: Igor Brezac (igor at ipass dot net)
Date: Sat Jun 05 2004 - 00:42:49 EDT

  • Next message: The Shell: "could not locate Cyrus SASL when compiling Openldap"

    On Sat, 5 Jun 2004 liuli- at 263 dot net wrote:

    > I have install cyrus-sasl-2.1.18 and openldap-2.1.30 in FreeBSD 4.10,I try auth against ldap using saslauthd,but I've a difficulty in getting testsaslauthd to test for an authentication.
    > What I did is creating /usr/local/etc/saslauthd.conf:
    > ldap_servers: ldap://localhost/
    > ldap_search_base: o=postfix,dc=sww,dc=com
    > ldap_auth_method: custom
    > ldap_port: 389
    > ldap_filter: (&(mail=%u)(objectclass=inetMailUser))
    > ldap_password_attr: userPassword
    > and start saslauthd with "/usr/local/sbin/saslauthd -a ldap -O /usr/local/etc/saslauthd.conf"
    > When I test using "testsaslauthd -u postmaster at sww dot com dot cn -p admin ", I get "0: NO "authentication failed""
    > The following is openldap's log :

    What message(s) do you get in auth syslog?

    Does
    ldapsearch -x -b o=postfix,dc=sww,dc=com \
    '(&(mail=postmaster at sww dot com dot cn)(objectclass=inetMailUser))' userPassword
    work? What hash do you use for passwords?

    -- 
    Igor
    

  • Next message: The Shell: "could not locate Cyrus SASL when compiling Openldap"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD