oo-ldap.xcd.sample 5.6 KB

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