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