oo-ad-ldap.xcd.sample 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 Windows Active Directory
  23. Server. There is another sample file designed to work with a Sun Java
  24. System 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 department"/>
  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"/>
  83. </prop>
  84. <prop oor:name="l">
  85. <value oor:external=
  86. "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
  87. </prop>
  88. <prop oor:name="st">
  89. <value oor:external=
  90. "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
  91. </prop>
  92. <prop oor:name="postalcode">
  93. <value oor:external=
  94. "com.sun.star.configuration.backend.LdapUserProfileBe postalCode"/>
  95. </prop>
  96. <prop oor:name="c">
  97. <value oor:external=
  98. "com.sun.star.configuration.backend.LdapUserProfileBe c,co"/>
  99. </prop>
  100. <prop oor:name="title">
  101. <value oor:external=
  102. "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
  103. </prop>
  104. <prop oor:name="position">
  105. <value oor:external=
  106. "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
  107. </prop>
  108. <prop oor:name="homephone">
  109. <value oor:external=
  110. "com.sun.star.configuration.backend.LdapUserProfileBe homePhone"/>
  111. </prop>
  112. <prop oor:name="telephonenumber">
  113. <value oor:external=
  114. "com.sun.star.configuration.backend.LdapUserProfileBe telephoneNumber"/>
  115. </prop>
  116. <prop oor:name="facsimiletelephonenumber">
  117. <value oor:external=
  118. "com.sun.star.configuration.backend.LdapUserProfileBe facsimileTelephoneNumber"
  119. />
  120. </prop>
  121. <prop oor:name="mail">
  122. <value oor:external=
  123. "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
  124. </prop>
  125. <!--
  126. <prop oor:name="fathersname">
  127. <value oor:external=
  128. "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
  129. </prop>
  130. -->
  131. <!--
  132. <prop oor:name="apartment">
  133. <value oor:external=
  134. "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
  135. </prop>
  136. -->
  137. </node>
  138. </oor:component-data>
  139. </oor:data>