Re: postfxi sasl ldap

From: Igor Brezac (igor at ipass dot net)
Date: Sat Jun 05 2004 - 13:08:51 EDT

  • Next message: The Shell: "GSSAPI Failure: gss_accept_sec_context"

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

    > I have install postfix-2.1.1,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 smtpd 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))

    change to

    ldap_filter: (&(mail=%U@%r)(objectclass=inetMailUser))

    or build the cvs head version of saslauthd and run
    saslauthd -r -a ldap -O ....

    > ldap_password_attr: userPassword
    > and start saslauthd with "/usr/local/sbin/saslauthd -a ldap -O /usr/local/etc/saslauthd.conf"
    > my testsaslauthd is ok:
    > bash-2.05b# testsaslauthd -u postmaster at sww dot com dot cn -p admin
    > 0: OK "Success.

    To "emulate" smtp authentication process use:
    testsaslauthd -u postmaster -r sww.com.cn -p admin

    -- 
    Igor
    

  • Next message: The Shell: "GSSAPI Failure: gss_accept_sec_context"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD