LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Sönke Schwardt-Krummrich
Hi! I'm using postfix 2.5 and configured LDAP as lookup table for my virtual map like this: ldapvirtualfoobar_server_host = ldap://myserver:389 ldapvirtualfoobar_search_base = dc=my,dc=ldap,dc=base ldapvirtualfoobar_query_filter = ((objectClass=someClass)(someAttribute=%s))

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread postfix
Hi Sönke to check for aliases we use the following ldap-config-file for postfix 2.5.6: # virtual_mailbox_maps = ldap:/etc/postfix/ldap-aliases.cf server_host = ldaphost.mydomain.com server_port = 389 search_base = ou=postfix,dc=mydomain,dc=com query_filter = ((mail=%s)(objectclass=qmailuser))

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Dieter Kluenter
Sönke Schwardt-Krummrich schwa...@univention.de writes: Hi! I'm using postfix 2.5 and configured LDAP as lookup table for my virtual map like this: ldapvirtualfoobar_server_host = ldap://myserver:389 ldapvirtualfoobar_search_base = dc=my,dc=ldap,dc=base ldapvirtualfoobar_query_filter =

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Victor Duchovni
On Thu, Dec 02, 2010 at 11:28:47AM +0100, S??nke Schwardt-Krummrich wrote: I'm using postfix 2.5 and configured LDAP as lookup table for my virtual map like this: ldapvirtualfoobar_server_host = ldap://myserver:389 ldapvirtualfoobar_search_base = dc=my,dc=ldap,dc=base

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Quanah Gibson-Mount
--On December 2, 2010 11:11:40 AM -0500 Victor Duchovni victor.ducho...@morganstanley.com wrote: In the LDAP email schemas I am familiar with, mail is the *primary* email address, and is not multi-valued. It is unfortunate that it is multi-valued in your particular schema. We have:

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Victor Duchovni
On Thu, Dec 02, 2010 at 11:01:45AM -0800, Quanah Gibson-Mount wrote: In the LDAP email schemas I am familiar with, mail is the *primary* email address, and is not multi-valued. It is unfortunate that it is multi-valued in your particular schema. We have: mail:

Re: LDAP query: only one result value from multivalue result attribute

2010-12-02 Thread Quanah Gibson-Mount
--On Thursday, December 02, 2010 2:31 PM -0500 Victor Duchovni victor.ducho...@morganstanley.com wrote: It is sensible to have a designated attribute for the primary (canonical if you like) email address. If the RFC LDAP schemas don't support this, that's too bad for the RFC schemas. Part of