Re: [Dovecot] help with ldap config

2009-04-13 Thread Ricardo Kleemann
Thank you. Ricardo Kleemann wrote: user_filter = (&(objectClass=posixAccount)(uid=%u,ou=%d)) Do you mean '(&(objectClass=posixAccount)(uid=%u)(ou=%d))'? or '(&(objectClass=posixAccount)(uid=%u))'? Or you can just use '(objectClass=posixAccount)' for test. This seems to have worked (usin

Re: [Dovecot] help with ldap config

2009-04-12 Thread Zhang Huangbin
Ricardo Kleemann wrote: user_filter = (&(objectClass=posixAccount)(uid=%u,ou=%d)) Do you mean '(&(objectClass=posixAccount)(uid=%u)(ou=%d))'? or '(&(objectClass=posixAccount)(uid=%u))'? Or you can just use '(objectClass=posixAccount)' for test. -- Best regards. Zhang Huangbin - Open Sour

Re: [Dovecot] help with ldap config

2009-04-11 Thread Ricardo Kleemann
Hi, On Sat, 2009-04-11 at 11:43 -0700, Ricardo Kleemann wrote: auth_bind_userdn = uid=%u,ou=%d,dc=americasnet,dc=com ldap_version = 3 base = uid=%u,ou=%d,dc=americasnet,dc=com I don't think base should contain the uid=%u, part. I tried that, still same error.

Re: [Dovecot] help with ldap config

2009-04-11 Thread Timo Sirainen
On Sat, 2009-04-11 at 11:43 -0700, Ricardo Kleemann wrote: > auth_bind_userdn = uid=%u,ou=%d,dc=americasnet,dc=com > ldap_version = 3 > base = uid=%u,ou=%d,dc=americasnet,dc=com I don't think base should contain the uid=%u, part. signature.asc Description: This is a digitally signed message par

[Dovecot] help with ldap config

2009-04-11 Thread Ricardo Kleemann
Hi, I've been using courier with ldap and I'm trying to configure dovecot to do the same. I'm not exactly sure how to setup the ldap binds and filters... Here's my dovecot info: # 1.0.10: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S login_dir: /var/r