Package: postfix-ldap
Version: 2.5.5-1.1
Severity: important

Hi,

The documentation for ldap_table says:

    terminal_result_attribute:
    When one or more terminal result attributes are found in an LDAP
    entry, all other result attributes are ignored and only the terminal
    result attributes are returned.

But if multiple entries match a query, all other result attributes are
ignored for an entry with a terminal result attribute *and the following
entries*.

For example, if I set

    result_attribute = mail, maildrop
    terminal_result_attribute = maildrop
    query_filter = (mailalias=%s)

And have LDAP entries

    mail: alice-mail
    maildrop: alice-maildrop
    mailalias: foo

    mail: bob-mail
    mailalias: foo

the lookup for "foo" will return "alice-maildrop".

If I have the LDAP entries

    mail: alice-mail
    mailalias: foo

    mail: bob-mail
    maildrop: bob-maildrop
    mailalias: foo

the same search will return "alice-mail,bob-maildrop".

Regards,
Ansgar

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postfix-ldap depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libldap-2.4-2                 2.4.11-1   OpenLDAP libraries
ii  postfix                       2.5.5-1.1  High-performance mail transport ag

postfix-ldap recommends no packages.

postfix-ldap suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to