[Dovecot] Help! LDAP/AD Problem with dovecot
Hey Folks,
i am trying to get Dovecot LDA to work with Active Directory
dovecot --version 1.2.9
While using Postfix to deliver mail, dovecot does only imap-Services, passdb is auth bind and userdb is static.
NOW i want to use Sieve Scripts. So LDA of dovecot is required. So userdb lookup is required. With use of virtual Mailboxes i have a working postfix setup, which needs to be transferred to dovecot.
dovecot-ldap-userdb.conf
uris = ldap://192.168.0.42 auth_bind = yes dn = myldapuser@mydomain dnpass = mypass #ldap_version = 3 base = DC=base,DC=com deref = never scope = subtree user_attrs = sAMAccountName=mail=maildir:/home/vmail/%$/.EMAIL, =uidNumer=5000, =gidNumber=5000
user_filter = (&(objectClass=user)(|(sAMAccountName=%u)(mail=%u)(othermailbox=%u))) pass_attrs = sAMAaccountName=user,userPassword=password pass_filter = (&(objectClass=person)(sAMAaccountName=%u))
My errors are:
While logging in with IMAP 2010-11-10 00:32:30 imap-login: Error: Timeout waiting for handshake from auth server. my pid=16293, input bytes=0
manual execution of deliver -d myuser@domain.tld: 010-11-10 00:34:16 deliver(myuser@domain.tld): Error: userdb lookup(...): Connecting timed out
As i said - postfix works!
Thankx for any help!
maybe could you try to use:
hosts= server:port
instead "uris"
# LDAP URIs to use. You can use this instead of hosts list. Note that this # setting isn't supported by all LDAP libraries.
bye!
2010/11/9 Christian Fischer mail@computerdichter.de
Hey Folks,
i am trying to get Dovecot LDA to work with Active Directory
dovecot --version 1.2.9
While using Postfix to deliver mail, dovecot does only imap-Services, passdb is auth bind and userdb is static.
NOW i want to use Sieve Scripts. So LDA of dovecot is required. So userdb lookup is required. With use of virtual Mailboxes i have a working postfix setup, which needs to be transferred to dovecot.
dovecot-ldap-userdb.conf
uris = ldap://192.168.0.42 auth_bind = yes dn = myldapuser@mydomain dnpass = mypass #ldap_version = 3 base = DC=base,DC=com deref = never scope = subtree user_attrs = sAMAccountName=mail=maildir:/home/vmail/%$/.EMAIL, =uidNumer=5000, =gidNumber=5000
user_filter = (&(objectClass=user)(|(sAMAccountName=%u)(mail=%u)(othermailbox=%u))) pass_attrs = sAMAaccountName=user,userPassword=password pass_filter = (&(objectClass=person)(sAMAaccountName=%u))
My errors are:
While logging in with IMAP 2010-11-10 00:32:30 imap-login: Error: Timeout waiting for handshake from auth server. my pid=16293, input bytes=0
manual execution of deliver -d myuser@domain.tld: 010-11-10 00:34:16 deliver(myuser@domain.tld): Error: userdb lookup(...): Connecting timed out
As i said - postfix works!
Thankx for any help!
-- *Salu2 ;)*
participants (2)
-
Christian Fischer
-
maximatt