1<?xml version="1.0" encoding="UTF-8"?>
2<!--**********************************************************************
3*
4* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5*
6* Copyright 2000, 2010 Oracle and/or its affiliates.
7*
8* OpenOffice.org - a multi-platform office productivity suite
9*
10* This file is part of OpenOffice.org.
11*
12* OpenOffice.org is free software: you can redistribute it and/or modify
13* it under the terms of the GNU Lesser General Public License version 3
14* only, as published by the Free Software Foundation.
15*
16* OpenOffice.org is distributed in the hope that it will be useful,
17* but WITHOUT ANY WARRANTY; without even the implied warranty of
18* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19* GNU Lesser General Public License version 3 for more details
20* (a copy is included in the LICENSE file that accompanied this code).
21*
22* You should have received a copy of the GNU Lesser General Public License
23* version 3 along with OpenOffice.org.  If not, see
24* <http://www.openoffice.org/license.html>
25* for a copy of the LGPLv3 License.
26*
27**********************************************************************-->
28
29<!-- This file is an example of an LDAP configuration file.
30
31     To use user data from LDAP in your installation, you need to provide a
32     customized version of this file, removing the ".sample" suffix.
33
34     This sample file is designed to work with a Windows Active Directory
35     Server.  There is another sample file designed to work with a Sun Java
36     System Directory Server.  Only one of those files should be activated by
37     removing its ".sample" suffix.
38
39     To customize values in this file, replace the data within <value>...
40     </value> elements flagged as "CUSTOMIZE" with the values for your
41     organization.  If a certain setting is not necessary for your installation,
42     you can remove the compelete corresponding <value>...</value> element.
43-->
44
45<oor:data xmlns:oor="http://openoffice.org/2001/registry">
46  <dependency file="main"/>
47  <oor:component-data oor:package="org.openoffice" oor:name="LDAP">
48    <node oor:name="UserDirectory">
49      <prop oor:name="SearchUser">
50        <!-- CUSTOMIZE, activate unless anonymous access is possible:
51        <value>MyUserLogin</value> -->
52      </prop>
53      <prop oor:name="SearchPassword">
54        <!-- CUSTOMIZE, activate unless anonymous access is possible:
55        <value>MyPassword</value> -->
56      </prop>
57      <prop oor:name="UserObjectClass">
58        <!-- CUSTOMIZE --><value>inetorgperson</value>
59      </prop>
60      <prop oor:name="UserUniqueAttribute">
61        <!-- CUSTOMIZE --><value>uid</value>
62      </prop>
63      <node oor:name="ServerDefinition">
64        <prop oor:name="Server">
65          <!-- CUSTOMIZE --><value>ldapserver.mycorp.com</value>
66        </prop>
67        <prop oor:name="Port">
68          <!-- CUSTOMIZE --><value>389</value>
69        </prop>
70        <prop oor:name="BaseDN">
71          <!-- CUSTOMIZE --><value>dc=mycorp,dc=com</value>
72        </prop>
73      </node>
74    </node>
75  </oor:component-data>
76  <oor:component-data oor:package="org.openoffice" oor:name="UserProfile">
77    <node oor:name="Data">
78      <prop oor:name="o">
79        <value oor:external=
80            "com.sun.star.configuration.backend.LdapUserProfileBe department"/>
81      </prop>
82      <prop oor:name="givenname">
83        <value oor:external=
84            "com.sun.star.configuration.backend.LdapUserProfileBe givenname"/>
85      </prop>
86      <prop oor:name="sn">
87        <value oor:external=
88            "com.sun.star.configuration.backend.LdapUserProfileBe sn"/>
89      </prop>
90      <prop oor:name="initials">
91        <value oor:external=
92            "com.sun.star.configuration.backend.LdapUserProfileBe initials"/>
93      </prop>
94      <prop oor:name="street">
95        <value oor:external=
96   "com.sun.star.configuration.backend.LdapUserProfileBe street,postalAddress"/>
97      </prop>
98      <prop oor:name="l">
99        <value oor:external=
100            "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
101      </prop>
102      <prop oor:name="st">
103        <value oor:external=
104            "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
105      </prop>
106      <prop oor:name="postalcode">
107        <value oor:external=
108            "com.sun.star.configuration.backend.LdapUserProfileBe postalCode"/>
109      </prop>
110      <prop oor:name="c">
111        <value oor:external=
112            "com.sun.star.configuration.backend.LdapUserProfileBe c,co"/>
113      </prop>
114      <prop oor:name="title">
115        <value oor:external=
116            "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
117      </prop>
118      <prop oor:name="position">
119        <value oor:external=
120            "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
121      </prop>
122      <prop oor:name="homephone">
123        <value oor:external=
124            "com.sun.star.configuration.backend.LdapUserProfileBe homePhone"/>
125      </prop>
126      <prop oor:name="telephonenumber">
127        <value oor:external=
128        "com.sun.star.configuration.backend.LdapUserProfileBe telephoneNumber"/>
129      </prop>
130      <prop oor:name="facsimiletelephonenumber">
131        <value oor:external=
132 "com.sun.star.configuration.backend.LdapUserProfileBe facsimileTelephoneNumber"
133/>
134      </prop>
135      <prop oor:name="mail">
136        <value oor:external=
137        "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
138      </prop>
139      <!--
140      <prop oor:name="fathersname">
141        <value oor:external=
142            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
143      </prop>
144      -->
145      <!--
146      <prop oor:name="apartment">
147        <value oor:external=
148            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
149      </prop>
150      -->
151    </node>
152  </oor:component-data>
153</oor:data>
154