1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 <!-- This file is an example of an LDAP configuration file.
22 To use user data from LDAP in your installation, you need to provide a
23 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.
30 To customize values in this file, replace the data within <value>...
31 </value> elements flagged as "CUSTOMIZE" with the values for your
32 organization. If a certain setting is not necessary for your installation,
33 you can remove the complete corresponding <value>...</value> element.
36 <oor:data xmlns:
oor=
"http://openoffice.org/2001/registry">
37 <dependency file=
"main"/>
38 <oor:component-data oor:
package=
"org.openoffice" oor:
name=
"LDAP">
39 <node oor:
name=
"UserDirectory">
40 <prop oor:
name=
"SearchUser">
41 <!-- CUSTOMIZE, activate unless anonymous access is possible:
42 <value>MyUserLogin</value> -->
44 <prop oor:
name=
"SearchPassword">
45 <!-- CUSTOMIZE, activate unless anonymous access is possible:
46 <value>MyPassword</value> -->
48 <prop oor:
name=
"UserObjectClass">
49 <!-- CUSTOMIZE --><value>inetorgperson
</value>
51 <prop oor:
name=
"UserUniqueAttribute">
52 <!-- CUSTOMIZE --><value>uid
</value>
54 <node oor:
name=
"ServerDefinition">
55 <prop oor:
name=
"Server">
56 <!-- CUSTOMIZE --><value>ldapserver.mycorp.com
</value>
58 <prop oor:
name=
"Port">
59 <!-- CUSTOMIZE --><value>389</value>
61 <prop oor:
name=
"BaseDN">
62 <!-- CUSTOMIZE --><value>dc=mycorp,dc=com
</value>
67 <oor:component-data oor:
package=
"org.openoffice" oor:
name=
"UserProfile">
68 <node oor:
name=
"Data">
71 "com.sun.star.configuration.backend.LdapUserProfileBe o,organizationName"/>
73 <prop oor:
name=
"givenname">
75 "com.sun.star.configuration.backend.LdapUserProfileBe givenname"/>
79 "com.sun.star.configuration.backend.LdapUserProfileBe sn"/>
81 <prop oor:
name=
"initials">
83 "com.sun.star.configuration.backend.LdapUserProfileBe initials"/>
85 <prop oor:
name=
"street">
87 "com.sun.star.configuration.backend.LdapUserProfileBe street,postalAddress,streetAddress"
92 "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
96 "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
98 <prop oor:
name=
"postalcode">
100 "com.sun.star.configuration.backend.LdapUserProfileBe postalcode"/>
105 "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
108 <prop oor:
name=
"title">
110 "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
112 <prop oor:
name=
"position">
114 "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
116 <prop oor:
name=
"homephone">
118 "com.sun.star.configuration.backend.LdapUserProfileBe homephone"/>
120 <prop oor:
name=
"telephonenumber">
122 "com.sun.star.configuration.backend.LdapUserProfileBe telephonenumber"/>
124 <prop oor:
name=
"facsimiletelephonenumber">
126 "com.sun.star.configuration.backend.LdapUserProfileBe facsimiletelephonenumber,officeFax"
129 <prop oor:
name=
"mail">
131 "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
134 <prop oor:name="fathersname">
136 "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
140 <prop oor:name="apartment">
142 "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
146 </oor:component-data>