From 919fde19e4101230aa2fa87b1f2d96ef9b3dd6ce Mon Sep 17 00:00:00 2001 From: mguessan Date: Mon, 20 Sep 2010 21:53:53 +0000 Subject: [PATCH] LDAP: new attribute mapping git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1466 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/ldap/LdapConnection.java | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/java/davmail/ldap/LdapConnection.java b/src/java/davmail/ldap/LdapConnection.java index 7190a466..8048d4e7 100644 --- a/src/java/davmail/ldap/LdapConnection.java +++ b/src/java/davmail/ldap/LdapConnection.java @@ -190,6 +190,7 @@ public class LdapConnection extends AbstractConnection { LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("cellphone", "mobile"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("homeurl", "personalHomePage"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("mozillahomeurl", "personalHomePage"); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-user-homeurl", "personalHomePage"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("mozillahomepostalcode", "homePostalCode"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("fax", "facsimiletelephonenumber"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("mozillahomecountryname", "homeCountry"); @@ -206,6 +207,7 @@ public class LdapConnection extends AbstractConnection { LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("carphone", "othermobile"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("nsaimid", "im"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("nscpaimscreenname", "im"); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-imhandle", "im"); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("xmozillasecondemail", "smtpemail2"); @@ -235,7 +237,23 @@ public class LdapConnection extends AbstractConnection { LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("jpegphoto", null); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-emailcontacts", null); LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-user-picture", null); - LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-imhandle", null); + + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_usercertificate", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_realname", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_jpegphoto", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_guest", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_linkedidentity", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_defaultlanguage", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_hint", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers__defaultlanguage", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("_writers_picture", null); + + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-user-authenticationhint", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("external", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("userpassword", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("linkedidentity", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("homedirectory", null); + LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("authauthority", null); // iCal search attribute LDAP_TO_CONTACT_ATTRIBUTE_MAP.put("apple-serviceslocator", "apple-serviceslocator");