Update ooo320-m1
[ooovba.git] / officecfg / registry / data / org / openoffice / LDAP.xcu.sample
blobb59cd7d5fe81585ff4ce85dff52a7d8be8afe6d3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--***********************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2008 by Sun Microsystems, Inc.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * $RCSfile: LDAP.xcu.sample,v $
11 * $Revision: 1.4 $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************ -->
31 <!-- This file is an example of an LDAP.xcu ldap configuration file.
33 To use user data from LDAP in your installation, you need to provide a
34 customized version of this file named 'LDAP.xcu'.
36 To customize values in this file, please replace the data within
37 <value>...</value> elements with the values for your organization.
39 If a certain setting is not necessary for your installation, you may remove the
40 entire 'prop' element, i.e. everything from '<prop oor:name="[SettingName]"' to
41 the closing '</prop>'.
42 -->
43 <oor:component-data oor:name="LDAP" oor:package="org.openoffice"
44 xmlns:oor="http://openoffice.org/2001/registry"
45 xmlns:xs="http://www.w3.org/2001/XMLSchema"
46 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
47 <node oor:name="UserDirectory">
48 <node oor:name="ServerDefinition">
49 <prop oor:name="Server" oor:type="xs:string">
50 <value>ldapserver.mycorp.com</value>
51 </prop>
52 <prop oor:name="BaseDN" oor:type="xs:string">
53 <value>dc=mycorp,dc=com</value>
54 </prop>
55 <prop oor:name="Port" oor:type="xs:int">
56 <value>389</value>
57 </prop>
58 </node>
59 <!-- The following settings should be omitted, if anonymous access is possible
60 <prop oor:name="SearchUser" oor:type="xs:string"><value>MyUserLogin</value></prop>
61 <prop oor:name="SearchPassword" oor:type="xs:string"><value>MyPassword</value></prop>
62 -->
63 <prop oor:name="UserObjectClass" oor:type="xs:string">
64 <value>inetorgperson</value>
65 </prop>
66 <prop oor:name="UserUniqueAttribute" oor:type="xs:string">
67 <value>uid</value>
68 </prop>
69 <prop oor:name="Mapping" oor:type="xs:string">
70 <value>oo-ldap</value>
71 </prop>
72 </node>
73 </oor:component-data>