Re: [Davmail-users] LDAP failing w/ davmail
Brought to you by:
mguessan
From: Geert S. <sta...@st...> - 2010-08-22 14:14:28
|
Op 20100813 om 17:37 schreef Mickaël Guessant: > The first request is wrong: there is no cn=people root, but the second > error is a DavMail bug: > "http://schemas.microsoft.com/mapi/proptag/x0e230003" = Charles% > => uid is an int value, the request with Charles% fails > > This bug is already fixed in subversion. However the original poster hasn't yet provided feedback on it. For me a reason to try "davmail LDAP" myself. | INFO DavMail Gateway 3.8.1-1370-trunk listening on SMTP port 1025 | POP port 1110 IMAP port 1143 CALDAV port 1080 LDAP port 1389 Both SMTP and IMAP work fine, POP and CALDAV not tried. Executing `ldapsearch -H ldap://localhost:1389/` logs this 2010-08-22 15:31:16,893 DEBUG [davmail.ldap.LdapServer] davmail - Connection from /127.0.0.1 on port 1389 2010-08-22 15:31:17,514 DEBUG [LdapConnection-38103] davmail.exchange.ExchangeSession - Test configuration status: 401 2010-08-22 15:31:17,520 DEBUG [LdapConnection-38103] davmail - LDAP_REQ_SEARCH 1 base= scope: 0 sizelimit: 100 timelimit: 0 filter: (objectclass=*) returning attributes: [supportedsaslmechanisms] 2010-08-22 15:31:17,520 DEBUG [LdapConnection-38103] davmail - Sending root DSE 2010-08-22 15:31:17,521 DEBUG [LdapConnection-38103] davmail - LDAP_REQ_SEARCH 1 success Executing `ldapsearch -LLL -y .expasswd -H ldap://localhost:1389 -D stappers@crown.local "sn=*" sn` logs this 2010-08-22 16:02:22,521 DEBUG [davmail.ldap.LdapServer] davmail - Connection from /127.0.0.1 on port 1389 2010-08-22 16:02:23,115 DEBUG [LdapConnection-55543] davmail.exchange.ExchangeSession - Test configuration status: 401 2010-08-22 16:02:23,117 DEBUG [LdapConnection-55543] davmail - LDAP_REQ_BIND 1 stappers@crown.local 2010-08-22 16:02:23,178 DEBUG [LdapConnection-55543] davmail - executeFollowRedirects(https://ex.foo.nl/owa/) 2010-08-22 16:02:24,357 DEBUG [LdapConnection-55543] davmail.exchange.ExchangeSession - Session davmail.exchange.ews.EwsExchangeSession@b8c8e6 created 2010-08-22 16:02:24,358 DEBUG [LdapConnection-55543] davmail.exchange.ExchangeSession - Created new session: davmail.exchange.ews.EwsExchangeSession@b8c8e6 2010-08-22 16:02:24,358 DEBUG [LdapConnection-55543] davmail - LOG_LDAP_REQ_BIND Success 2010-08-22 16:02:24,368 DEBUG [LdapConnection-55543] davmail - LDAP_REQ_SEARCH 2 base= scope: 2 sizelimit: 100 timelimit: 0 filter: (sn=*) returning attributes: [sn] 2010-08-22 16:02:24,369 DEBUG [LdapConnection-55543] davmail - LDAP_REQ_SEARCH 2 success 2010-08-22 16:02:24,369 DEBUG [LdapConnection-55543] davmail - LDAP_REQ_UNBIND 3 and an empty result list. What "filter" and "attribute" should be provided to `ldapsearch` to get a none empty result list? Stappers |