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