oo-ldap.xcd.sample 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. * This file is part of the LibreOffice project.
  4. *
  5. * This Source Code Form is subject to the terms of the Mozilla Public
  6. * License, v. 2.0. If a copy of the MPL was not distributed with this
  7. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  8. *
  9. * This file incorporates work covered by the following license notice:
  10. *
  11. * Licensed to the Apache Software Foundation (ASF) under one or more
  12. * contributor license agreements. See the NOTICE file distributed
  13. * with this work for additional information regarding copyright
  14. * ownership. The ASF licenses this file to you under the Apache
  15. * License, Version 2.0 (the "License"); you may not use this file
  16. * except in compliance with the License. You may obtain a copy of
  17. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  18. -->
  19. <!-- This file is an example of an LDAP configuration file.
  20. To use user data from LDAP in your installation, you need to provide a
  21. customized version of this file, removing the ".sample" suffix.
  22. This sample file is designed to work with a Sun Java System Directory
  23. Server. There is another sample file designed to work with a Windows
  24. Active Directory Server. Only one of those files should be activated by
  25. removing its ".sample" suffix.
  26. To customize values in this file, replace the data within <value>...
  27. </value> elements flagged as "CUSTOMIZE" with the values for your
  28. organization. If a certain setting is not necessary for your installation,
  29. you can remove the complete corresponding <value>...</value> element.
  30. -->
  31. <oor:data xmlns:oor="http://openoffice.org/2001/registry">
  32. <dependency file="main"/>
  33. <oor:component-data oor:package="org.openoffice" oor:name="LDAP">
  34. <node oor:name="UserDirectory">
  35. <prop oor:name="SearchUser">
  36. <!-- CUSTOMIZE, activate unless anonymous access is possible:
  37. <value>MyUserLogin</value> -->
  38. </prop>
  39. <prop oor:name="SearchPassword">
  40. <!-- CUSTOMIZE, activate unless anonymous access is possible:
  41. <value>MyPassword</value> -->
  42. </prop>
  43. <prop oor:name="UserObjectClass">
  44. <!-- CUSTOMIZE --><value>inetorgperson</value>
  45. </prop>
  46. <prop oor:name="UserUniqueAttribute">
  47. <!-- CUSTOMIZE --><value>uid</value>
  48. </prop>
  49. <node oor:name="ServerDefinition">
  50. <prop oor:name="Server">
  51. <!-- CUSTOMIZE --><value>ldapserver.mycorp.com</value>
  52. </prop>
  53. <prop oor:name="Port">
  54. <!-- CUSTOMIZE --><value>389</value>
  55. </prop>
  56. <prop oor:name="BaseDN">
  57. <!-- CUSTOMIZE --><value>dc=mycorp,dc=com</value>
  58. </prop>
  59. </node>
  60. </node>
  61. </oor:component-data>
  62. <oor:component-data oor:package="org.openoffice" oor:name="UserProfile">
  63. <node oor:name="Data">
  64. <prop oor:name="o">
  65. <value oor:external=
  66. "com.sun.star.configuration.backend.LdapUserProfileBe o,organizationName"/>
  67. </prop>
  68. <prop oor:name="givenname">
  69. <value oor:external=
  70. "com.sun.star.configuration.backend.LdapUserProfileBe givenname"/>
  71. </prop>
  72. <prop oor:name="sn">
  73. <value oor:external=
  74. "com.sun.star.configuration.backend.LdapUserProfileBe sn"/>
  75. </prop>
  76. <prop oor:name="initials">
  77. <value oor:external=
  78. "com.sun.star.configuration.backend.LdapUserProfileBe initials"/>
  79. </prop>
  80. <prop oor:name="street">
  81. <value oor:external=
  82. "com.sun.star.configuration.backend.LdapUserProfileBe street,postalAddress,streetAddress"
  83. />
  84. </prop>
  85. <prop oor:name="l">
  86. <value oor:external=
  87. "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
  88. </prop>
  89. <prop oor:name="st">
  90. <value oor:external=
  91. "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
  92. </prop>
  93. <prop oor:name="postalcode">
  94. <value oor:external=
  95. "com.sun.star.configuration.backend.LdapUserProfileBe postalcode"/>
  96. </prop>
  97. <!--
  98. <prop oor:name="c">
  99. <value oor:external=
  100. "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
  101. </prop>
  102. -->
  103. <prop oor:name="title">
  104. <value oor:external=
  105. "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
  106. </prop>
  107. <prop oor:name="position">
  108. <value oor:external=
  109. "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
  110. </prop>
  111. <prop oor:name="homephone">
  112. <value oor:external=
  113. "com.sun.star.configuration.backend.LdapUserProfileBe homephone"/>
  114. </prop>
  115. <prop oor:name="telephonenumber">
  116. <value oor:external=
  117. "com.sun.star.configuration.backend.LdapUserProfileBe telephonenumber"/>
  118. </prop>
  119. <prop oor:name="facsimiletelephonenumber">
  120. <value oor:external=
  121. "com.sun.star.configuration.backend.LdapUserProfileBe facsimiletelephonenumber,officeFax"
  122. />
  123. </prop>
  124. <prop oor:name="mail">
  125. <value oor:external=
  126. "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
  127. </prop>
  128. <!--
  129. <prop oor:name="fathersname">
  130. <value oor:external=
  131. "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
  132. </prop>
  133. -->
  134. <!--
  135. <prop oor:name="apartment">
  136. <value oor:external=
  137. "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
  138. </prop>
  139. -->
  140. </node>
  141. </oor:component-data>
  142. </oor:data>