/gconf/2/evoldap.conf

http://github.com/brinkman83/bashrc · Config · 87 lines · 77 code · 10 blank · 0 comment · 0 complexity · 17f55bd791cfb244e5a46e810107f364 MD5 · raw file

  1. <evoldap>
  2. <server>
  3. <host></host> <!-- e.g. ldap.blaa.com -->
  4. <port></port> <!-- defaults to 389 -->
  5. <base_dn></base_dn> <!-- e.g. ou=people,dc=blaa,dc=com -->
  6. </server>
  7. <!--
  8. The values of the following keys:
  9. - /apps/evolution/mail/accounts
  10. - /apps/evolution/addressbook/sources
  11. - /apps/evolution/calendar/sources
  12. - /apps/evolution/tasks/sources
  13. will be constructed by applying each LDAP entry which matches
  14. the "filter" attribute on the <template> tag to the template
  15. template corresponding to the key.
  16. If the filter returns multiple values, the value of the GConf
  17. key will be a multiple element list.
  18. Valid variables:
  19. 1) $(USER) - the username
  20. 2) $(EVOLUTION_UID) - mystical magical per-account UID string
  21. 3) $(LDAP_ATTR_foo) - the value of the "foo" attribute on the
  22. LDAP entry which matches the filter
  23. -->
  24. <template filter="(&amp;(uid=$(USER))(objectClass=inetOrgPerson)(objectClass=evolutionMailAccount)(objectClass=evolutionAddressbookSource)(objectClass=evolutionCalendarSource)(objectClass=evolutionTasksSource))">
  25. <!-- /apps/evolution/mail/accounts -->
  26. <account_template>
  27. <account name="$(LDAP_ATTR_mail)" uid="$(EVOLUTION_UID)" enabled="true">
  28. <identity>
  29. <name>$(LDAP_ATTR_cn)</name>
  30. <addr-spec>$(LDAP_ATTR_mail)</addr-spec>
  31. <reply-to></reply-to>
  32. <organization></organization>
  33. <signature uid=""/>
  34. </identity>
  35. <source save-passwd="false" keep-on-server="false" auto-check="false" auto-check-timeout="10">
  36. <url>$(LDAP_ATTR_evolutionMailSourceURI)</url>
  37. </source>
  38. <transport save-passwd="false">
  39. <url>$(LDAP_ATTR_evolutionMailTransportURI)</url>
  40. </transport>
  41. <drafts-folder></drafts-folder>
  42. <sent-folder></sent-folder>
  43. <auto-cc always="false">
  44. <recipients></recipients>
  45. </auto-cc>
  46. <auto-bcc always="false">
  47. <recipients></recipients>
  48. </auto-bcc>
  49. <pgp encrypt-to-self="false" always-trust="false" always-sign="false" no-imip-sign="false">
  50. <key-id></key-id>
  51. </pgp>
  52. <smime sign-default="false" encrypt-default="false" encrypt-to-self="false">
  53. <sign-key-id></sign-key-id>
  54. <encrypt-key-id></encrypt-key-id>
  55. </smime>
  56. </account>
  57. </account_template>
  58. <!-- /apps/evolution/addressbook/sources -->
  59. <addressbook_template>
  60. <group uid="$(EVOLUTION_UID)" name="Addressbook" base_uri="" readonly="no">
  61. <source uid="$(EVOLUTION_UID)" name="Addressbook" relative_uri="" uri="$(LDAP_ATTR_evolutionAddressbookURI)"/>
  62. </group>
  63. </addressbook_template>
  64. <!-- /apps/evolution/calendar/sources -->
  65. <calendar_template>
  66. <group uid="$(EVOLUTION_UID)" name="Calendar" base_uri="" readonly="no">
  67. <source uid="$(EVOLUTION_UID)" name="Calendar" relative_uri="" uri="$(LDAP_ATTR_evolutionCalendarURI)"/>
  68. </group>p
  69. </calendar_template>
  70. <!-- /apps/evolution/tasks/sources -->
  71. <tasks_template>
  72. <group uid="$(EVOLUTION_UID)" name="Tasks" base_uri="" readonly="no">
  73. <source uid="$(EVOLUTION_UID)" name="Tasks" relative_uri="" uri="$(LDAP_ATTR_evolutionTasksURI)"/>
  74. </group>
  75. </tasks_template>
  76. </template>
  77. </evoldap>