1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23<!-- This file is an example of an LDAP configuration file.
24
25     To use user data from LDAP in your installation, you need to provide a
26     customized version of this file, removing the ".sample" suffix.
27
28     This sample file is designed to work with a Sun Java System Directory
29     Server.  There is another sample file designed to work with a Windows
30     Active Directory Server.  Only one of those files should be activated by
31     removing its ".sample" suffix.
32
33     To customize values in this file, replace the data within <value>...
34     </value> elements flagged as "CUSTOMIZE" with the values for your
35     organization.  If a certain setting is not necessary for your installation,
36     you can remove the compelete corresponding <value>...</value> element.
37-->
38
39<oor:data xmlns:oor="http://openoffice.org/2001/registry">
40  <dependency file="main"/>
41  <oor:component-data oor:package="org.openoffice" oor:name="LDAP">
42    <node oor:name="UserDirectory">
43      <prop oor:name="SearchUser">
44        <!-- CUSTOMIZE, activate unless anonymous access is possible:
45        <value>MyUserLogin</value> -->
46      </prop>
47      <prop oor:name="SearchPassword">
48        <!-- CUSTOMIZE, activate unless anonymous access is possible:
49        <value>MyPassword</value> -->
50      </prop>
51      <prop oor:name="UserObjectClass">
52        <!-- CUSTOMIZE --><value>inetorgperson</value>
53      </prop>
54      <prop oor:name="UserUniqueAttribute">
55        <!-- CUSTOMIZE --><value>uid</value>
56      </prop>
57      <node oor:name="ServerDefinition">
58        <prop oor:name="Server">
59          <!-- CUSTOMIZE --><value>ldapserver.mycorp.com</value>
60        </prop>
61        <prop oor:name="Port">
62          <!-- CUSTOMIZE --><value>389</value>
63        </prop>
64        <prop oor:name="BaseDN">
65          <!-- CUSTOMIZE --><value>dc=mycorp,dc=com</value>
66        </prop>
67      </node>
68    </node>
69  </oor:component-data>
70  <oor:component-data oor:package="org.openoffice" oor:name="UserProfile">
71    <node oor:name="Data">
72      <prop oor:name="o">
73        <value oor:external=
74     "com.sun.star.configuration.backend.LdapUserProfileBe o,organizationName"/>
75      </prop>
76      <prop oor:name="givenname">
77        <value oor:external=
78            "com.sun.star.configuration.backend.LdapUserProfileBe givenname"/>
79      </prop>
80      <prop oor:name="sn">
81        <value oor:external=
82            "com.sun.star.configuration.backend.LdapUserProfileBe sn"/>
83      </prop>
84      <prop oor:name="initials">
85        <value oor:external=
86            "com.sun.star.configuration.backend.LdapUserProfileBe initials"/>
87      </prop>
88      <prop oor:name="street">
89        <value oor:external=
90"com.sun.star.configuration.backend.LdapUserProfileBe street,postalAddress,streetAddress"
91/>
92      </prop>
93      <prop oor:name="l">
94        <value oor:external=
95            "com.sun.star.configuration.backend.LdapUserProfileBe l"/>
96      </prop>
97      <prop oor:name="st">
98        <value oor:external=
99            "com.sun.star.configuration.backend.LdapUserProfileBe st"/>
100      </prop>
101      <prop oor:name="postalcode">
102        <value oor:external=
103            "com.sun.star.configuration.backend.LdapUserProfileBe postalcode"/>
104      </prop>
105      <!--
106      <prop oor:name="c">
107        <value oor:external=
108            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
109      </prop>
110      -->
111      <prop oor:name="title">
112        <value oor:external=
113            "com.sun.star.configuration.backend.LdapUserProfileBe title"/>
114      </prop>
115      <prop oor:name="position">
116        <value oor:external=
117            "com.sun.star.configuration.backend.LdapUserProfileBe position"/>
118      </prop>
119      <prop oor:name="homephone">
120        <value oor:external=
121            "com.sun.star.configuration.backend.LdapUserProfileBe homephone"/>
122      </prop>
123      <prop oor:name="telephonenumber">
124        <value oor:external=
125        "com.sun.star.configuration.backend.LdapUserProfileBe telephonenumber"/>
126      </prop>
127      <prop oor:name="facsimiletelephonenumber">
128        <value oor:external=
129"com.sun.star.configuration.backend.LdapUserProfileBe facsimiletelephonenumber,officeFax"
130/>
131      </prop>
132      <prop oor:name="mail">
133        <value oor:external=
134        "com.sun.star.configuration.backend.LdapUserProfileBe mail"/>
135      </prop>
136      <!--
137      <prop oor:name="fathersname">
138        <value oor:external=
139            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
140      </prop>
141      -->
142      <!--
143      <prop oor:name="apartment">
144        <value oor:external=
145            "com.sun.star.configuration.backend.LdapUserProfileBe ..."/>
146      </prop>
147      -->
148    </node>
149  </oor:component-data>
150</oor:data>
151