[Davmail-users] LDAP failing w/ davmail
Brought to you by:
mguessan
From: Charles H. - g. <he...@si...> - 2010-08-12 15:59:45
|
Im attempting to setup DavMail on OS/X, and having mostly good success. However in setting up directory access I cannot seem to get anything to work, this is what happens from the log. I will note my basepath is set to /OWA/, so not sure if the /exchange/ entries below are the source of the trouble or not ? Any help would be greatly appreciated, thank you! -Crh 2010-08-12 16:24:45,811 DEBUG [davmail.ldap.LdapServer] davmail - Connection from /0:0:0:0:0:0:0:1%0 on port 1389 2010-08-12 16:24:45,833 DEBUG [LdapConnection-55076] davmail.exchange.ExchangeSession - Test configuration status: 302 2010-08-12 16:24:45,834 DEBUG [LdapConnection-55076-Search-1] davmail - LDAP_REQ_SEARCH 1 base= scope: 0 sizelimit: 100 timelimit: 5 filter: (objectclass=*) returning attributes: [krbname, dnshostname, namingcontexts, supportedsaslmechanisms] 2010-08-12 16:24:45,834 DEBUG [LdapConnection-55076-Search-1] davmail - Sending root DSE 2010-08-12 16:24:45,834 DEBUG [LdapConnection-55076-Search-1] davmail - LDAP_REQ_SEARCH 1 success 2010-08-12 16:24:45,835 DEBUG [LdapConnection-55076] davmail - LDAP_REQ_BIND 2 iuser\605326420 2010-08-12 16:24:45,835 DEBUG [LdapConnection-55076] davmail.exchange.ExchangeSession - Got session davmail.exchange.dav.DavExchangeSession@782dc6 from cache 2010-08-12 16:24:45,946 DEBUG [LdapConnection-55076] davmail - LOG_LDAP_REQ_BIND Success 2010-08-12 16:24:45,948 DEBUG [LdapConnection-55076-Search-3] davmail - LDAP_REQ_SEARCH 3 base=cn=people, o=od scope: 2 sizelimit: 100 timelimit: 0 filter: (&(objectclass=inetOrgPerson)(objectclass=extensibleObject)(|(cn=Charles*)(givenname=Charles*)(sn=Charles*))) returning attributes: [jpegphoto, postalcode, mail, sn, apple-emailcontacts, c, street, givenname, l, telephonenumber, cn, st, apple-imhandle] 2010-08-12 16:24:45,948 DEBUG [LdapConnection-55076-Search-3] davmail - LDAP_REQ_SEARCH 3 unrecognized dn cn=people, o=od 2010-08-12 16:24:45,949 DEBUG [LdapConnection-55076-Search-3] davmail - LDAP_REQ_SEARCH 3 success 2010-08-12 16:24:45,949 DEBUG [LdapConnection-55076] davmail - LDAP_REQ_ABANDON 4 for search 3 2010-08-12 16:24:45,950 DEBUG [LdapConnection-55076-Search-5] davmail - LDAP_REQ_SEARCH 5 base=cn=users, o=od scope: 2 sizelimit: 100 timelimit: 0 filter: (&(objectclass=inetOrgPerson)(|(givenname=Charles*)(|(uid=Charles*)(cn=Charles*))(sn=Charles*))(objectclass=shadowAccount)(objectclass=extensibleObject)(objectclass=posixAccount)(objectclass=apple-user)) returning attributes: [uid, jpegphoto, postalcode, mail, sn, apple-emailcontacts, c, street, givenname, l, apple-user-picture, telephonenumber, cn, st, apple-imhandle] 2010-08-12 16:24:45,950 DEBUG [LdapConnection-55076-Search-5] davmail - Unknown attribute: jpegphoto 2010-08-12 16:24:45,950 DEBUG [LdapConnection-55076-Search-5] davmail - Unknown attribute: apple-emailcontacts 2010-08-12 16:24:45,950 DEBUG [LdapConnection-55076-Search-5] davmail - Unknown attribute: apple-user-picture 2010-08-12 16:24:45,950 DEBUG [LdapConnection-55076-Search-5] davmail - Unknown attribute: apple-imhandle 2010-08-12 16:24:45,951 DEBUG [LdapConnection-55076-Search-5] davmail - Search: SELECT "http://schemas.microsoft.com/exchange/permanenturl","urn:schemas:contacts:postalcode","urn:schemas:contacts:co","urn:schemas:contacts:sn","http://schemas.microsoft.com/mapi/proptag/x0e230003","urn:schemas:contacts:cn","urn:schemas:contacts:telephoneNumber","urn:schemas:contacts:street","urn:schemas:contacts:l","urn:schemas:contacts:st","urn:schemas:contacts:givenName","http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-c000-000000000046}/32899" as email1 FROM SCOPE('Shallow TRAVERSAL OF "/exchange/USER@DOMAIN/Contacts"') WHERE ("http://schemas.microsoft.com/exchange/outlookmessageclass" = 'IPM.Contact' And "DAV:isfolder" = false And "DAV:ishidden" = false And (("urn:schemas:contacts:givenName" = 'Charles%' Or ("http://schemas.microsoft.com/mapi/proptag/x0e230003" = Charles% Or "urn:schemas:contacts:cn" = 'Charles%') Or "urn:schemas:contacts:sn" = 'Charles%'))) 2010-08-12 16:24:46,014 ERROR [LdapConnection-55076-Search-5] davmail - 400 Bad Request at /exchange/USER@DOMAIN/Contacts org.apache.commons.httpclient.HttpException: 400 Bad Request at /exchange/USER@DOMAIN/Contacts at davmail.http.DavGatewayHttpClientFacade.buildHttpException(DavGatewayHttpClientFacade.java:567) at davmail.http.DavGatewayHttpClientFacade.executeMethod(DavGatewayHttpClientFacade.java:374) at davmail.http.DavGatewayHttpClientFacade.executeSearchMethod(DavGatewayHttpClientFacade.java:315) at davmail.exchange.dav.DavExchangeSession.searchItems(DavExchangeSession.java:1189) at davmail.exchange.dav.DavExchangeSession.searchContacts(DavExchangeSession.java:1139) at davmail.ldap.LdapConnection$SearchThread.contactFind(LdapConnection.java:1410) at davmail.ldap.LdapConnection$SearchThread.run(LdapConnection.java:1327) 2010-08-12 16:24:46,015 DEBUG [LdapConnection-55076] davmail - LDAP_REQ_ABANDON 6 for search 5 |