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
24<!DOCTYPE oor:component-schema SYSTEM "../../../component-schema.dtd">
25<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="LDAP" oor:package="org.openoffice" xml:lang="en-US">
26    <info>
27        <author>JB</author>
28        <desc>Specifies the LDAP related settings</desc>
29    </info>
30    <templates>
31        <group oor:name="ServerDefinition">
32            <info><desc>Specifies LDAP server settings</desc></info>
33            <prop oor:name="Server" oor:type="xs:string"><info><desc>Host name of LDAP Server</desc></info>
34            </prop>
35            <prop oor:name="Port" oor:type="xs:int"><info><desc>Port number of the LDAP Server</desc></info>
36    			<value>389</value>
37            </prop>
38            <prop oor:name="BaseDN" oor:type="xs:string"><info><desc>Root entry of the LDAP server</desc></info>
39            </prop>
40		</group>
41    </templates>
42	<component>
43    	<group oor:name="UserDirectory">
44            <info><desc>Specifies LDAP settings used for UserProfile settings</desc></info>
45            <prop oor:name="SearchUser" oor:type="xs:string"><info><desc>DN of user with read-only access to LDAP repository. Only required if anonymous access is not supported.</desc></info>
46            </prop>
47            <prop oor:name="SearchPassword" oor:type="xs:string"><info><desc>Password of Search User. Only required if anonymous access is not supported.</desc></info>
48            </prop>
49            <prop oor:name="UserObjectClass" oor:type="xs:string"><info><desc>Name of User entity object class in LDAP repository</desc></info>
50			</prop>
51			<prop oor:name="UserUniqueAttribute" oor:type="xs:string"><info><desc>Name of User entity unique attribute in LDAP repository</desc></info>
52			</prop>
53			<prop oor:name="Mapping" oor:type="xs:string"><info><desc>Obsolete and unused</desc></info>
54            </prop>
55			<node-ref oor:name="ServerDefinition" oor:node-type="ServerDefinition">
56				<info><desc>Specifies the LDAP related settings</desc></info>
57			</node-ref>
58		</group>
59    </component>
60</oor:component-schema>
61