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 Sun Java System Directory
35     Server.  There is another sample file designed to work with a Windows
36     Active 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 o,organizationName"/>
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,streetAddress"
97/>
98      </prop>
99      <prop oor:name="l">
100        <value oor:external=
101            "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
102      </prop>
103      <prop oor:name="st">
104        <value oor:external=
105            "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
106      </prop>
107      <prop oor:name="postalcode">
108        <value oor:external=
109            "com.sun.star.configuration.backend.LdapUserProfileBe postalcode"/>
110      </prop>
111      <!--
112      <prop oor:name="c">
113        <value oor:external=
114            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
115      </prop>
116      -->
117      <prop oor:name="title">
118        <value oor:external=
119            "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
120      </prop>
121      <prop oor:name="position">
122        <value oor:external=
123            "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
124      </prop>
125      <prop oor:name="homephone">
126        <value oor:external=
127            "com.sun.star.configuration.backend.LdapUserProfileBe homephone"/>
128      </prop>
129      <prop oor:name="telephonenumber">
130        <value oor:external=
131        "com.sun.star.configuration.backend.LdapUserProfileBe telephonenumber"/>
132      </prop>
133      <prop oor:name="facsimiletelephonenumber">
134        <value oor:external=
135"com.sun.star.configuration.backend.LdapUserProfileBe facsimiletelephonenumber,officeFax"
136/>
137      </prop>
138      <prop oor:name="mail">
139        <value oor:external=
140        "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
141      </prop>
142      <!--
143      <prop oor:name="fathersname">
144        <value oor:external=
145            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
146      </prop>
147      -->
148      <!--
149      <prop oor:name="apartment">
150        <value oor:external=
151            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
152      </prop>
153      -->
154    </node>
155  </oor:component-data>
156</oor:data>
157