This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
forked from weisserd/LDAP-Sync
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes for email synchronization
Read correct mapping preference "email" instead of "mail" Synchronize all addresses, regardless of their type Aside: Display current preference value in the settings screen
- Loading branch information
1 parent
aed03f6
commit 9e9dbf7
Showing
5 changed files
with
117 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,70 @@ | ||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<PreferenceCategory android:title="Search options" /> | ||
<PreferenceCategory android:title="Search options"> | ||
|
||
<EditTextPreference | ||
android:defaultValue="" | ||
android:key="baseDN" | ||
android:summary="BaseDN for the LDAP query" | ||
android:title="BaseDN" /> | ||
<EditTextPreference | ||
android:defaultValue="(objectClass=inetOrgPerson)" | ||
android:key="searchFilter" | ||
android:summary="LDAP query for the search" | ||
android:title="Search Filter" /> | ||
<EditTextPreference | ||
android:defaultValue="" | ||
android:key="baseDN" | ||
android:summary="BaseDN for the LDAP query" | ||
android:title="BaseDN"/> | ||
<EditTextPreference | ||
android:defaultValue="(objectClass=inetOrgPerson)" | ||
android:key="searchFilter" | ||
android:summary="LDAP query for the search" | ||
android:title="Search Filter"/> | ||
|
||
<PreferenceCategory android:title="Attribute Mappings" /> | ||
</PreferenceCategory> | ||
|
||
<EditTextPreference | ||
android:defaultValue="givenName" | ||
android:key="first_name" | ||
android:summary="first_name" | ||
android:title="First Name" /> | ||
<EditTextPreference | ||
android:defaultValue="sn" | ||
android:key="last_name" | ||
android:summary="last_name" | ||
android:title="Last Name" /> | ||
<EditTextPreference | ||
android:defaultValue="telephonenumber" | ||
android:key="office_phone" | ||
android:summary="office_phone" | ||
android:title="Office Phone" /> | ||
<EditTextPreference | ||
android:defaultValue="mobile" | ||
android:key="cell_phone" | ||
android:summary="cell_phone" | ||
android:title="Cell Phone" /> | ||
<EditTextPreference | ||
android:defaultValue="homephone" | ||
android:key="home_phone" | ||
android:summary="home_phone" | ||
android:title="Home Phone" /> | ||
<EditTextPreference | ||
android:defaultValue="mail" | ||
android:key="email" | ||
android:summary="email" | ||
android:title="E-mail" /> | ||
<EditTextPreference | ||
android:defaultValue="jpegphoto" | ||
android:key="photo" | ||
android:summary="photo" | ||
android:title="Photo" /> | ||
<EditTextPreference | ||
android:defaultValue="street" | ||
android:key="street" | ||
android:summary="street" | ||
android:title="Street" /> | ||
<EditTextPreference | ||
android:defaultValue="postalCode" | ||
android:key="postalCode" | ||
android:summary="postalCode" | ||
android:title="Postal Code" /> | ||
<EditTextPreference | ||
android:defaultValue="l" | ||
android:key="city" | ||
android:summary="city" | ||
android:title="City" /> | ||
<EditTextPreference | ||
android:defaultValue="st" | ||
android:key="state" | ||
android:summary="state" | ||
android:title="State" /> | ||
<EditTextPreference | ||
android:defaultValue="co" | ||
android:key="country" | ||
android:summary="country" | ||
android:title="Country" /> | ||
<PreferenceCategory android:title="Attribute Mappings"> | ||
|
||
<EditTextPreference | ||
android:defaultValue="givenName" | ||
android:key="first_name" | ||
android:title="First Name"/> | ||
<EditTextPreference | ||
android:defaultValue="sn" | ||
android:key="last_name" | ||
android:title="Last Name"/> | ||
<EditTextPreference | ||
android:defaultValue="telephonenumber" | ||
android:key="office_phone" | ||
android:title="Office Phone"/> | ||
<EditTextPreference | ||
android:defaultValue="mobile" | ||
android:key="cell_phone" | ||
android:title="Cell Phone"/> | ||
<EditTextPreference | ||
android:defaultValue="homephone" | ||
android:key="home_phone" | ||
android:title="Home Phone"/> | ||
<EditTextPreference | ||
android:defaultValue="mail" | ||
android:key="email" | ||
android:title="E-mail"/> | ||
<EditTextPreference | ||
android:defaultValue="jpegphoto" | ||
android:key="photo" | ||
android:title="Photo"/> | ||
<EditTextPreference | ||
android:defaultValue="street" | ||
android:key="street" | ||
android:title="Street"/> | ||
<EditTextPreference | ||
android:defaultValue="postalCode" | ||
android:key="postalCode" | ||
android:title="Postal Code"/> | ||
<EditTextPreference | ||
android:defaultValue="l" | ||
android:key="city" | ||
android:title="City"/> | ||
<EditTextPreference | ||
android:defaultValue="st" | ||
android:key="state" | ||
android:title="State"/> | ||
<EditTextPreference | ||
android:defaultValue="co" | ||
android:key="country" | ||
android:title="Country"/> | ||
|
||
</PreferenceCategory> | ||
</PreferenceScreen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters