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 Windows Active Directory
26 Server. There is another sample file designed to work with a Sun Java
27 System 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 compelete 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 department"/>
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"/>
91 "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
95 "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
97 <prop oor:
name=
"postalcode">
99 "com.sun.star.configuration.backend.LdapUserProfileBe postalCode"/>
103 "com.sun.star.configuration.backend.LdapUserProfileBe c,co"/>
105 <prop oor:
name=
"title">
107 "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
109 <prop oor:
name=
"position">
111 "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
113 <prop oor:
name=
"homephone">
115 "com.sun.star.configuration.backend.LdapUserProfileBe homePhone"/>
117 <prop oor:
name=
"telephonenumber">
119 "com.sun.star.configuration.backend.LdapUserProfileBe telephoneNumber"/>
121 <prop oor:
name=
"facsimiletelephonenumber">
123 "com.sun.star.configuration.backend.LdapUserProfileBe facsimileTelephoneNumber"
126 <prop oor:
name=
"mail">
128 "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
131 <prop oor:name="fathersname">
133 "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
137 <prop oor:name="apartment">
139 "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
143 </oor:component-data>