1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir<!--********************************************************************** 3*cdf0e10cSrcweir* 4*cdf0e10cSrcweir* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5*cdf0e10cSrcweir* 6*cdf0e10cSrcweir* Copyright 2000, 2010 Oracle and/or its affiliates. 7*cdf0e10cSrcweir* 8*cdf0e10cSrcweir* OpenOffice.org - a multi-platform office productivity suite 9*cdf0e10cSrcweir* 10*cdf0e10cSrcweir* This file is part of OpenOffice.org. 11*cdf0e10cSrcweir* 12*cdf0e10cSrcweir* OpenOffice.org is free software: you can redistribute it and/or modify 13*cdf0e10cSrcweir* it under the terms of the GNU Lesser General Public License version 3 14*cdf0e10cSrcweir* only, as published by the Free Software Foundation. 15*cdf0e10cSrcweir* 16*cdf0e10cSrcweir* OpenOffice.org is distributed in the hope that it will be useful, 17*cdf0e10cSrcweir* but WITHOUT ANY WARRANTY; without even the implied warranty of 18*cdf0e10cSrcweir* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19*cdf0e10cSrcweir* GNU Lesser General Public License version 3 for more details 20*cdf0e10cSrcweir* (a copy is included in the LICENSE file that accompanied this code). 21*cdf0e10cSrcweir* 22*cdf0e10cSrcweir* You should have received a copy of the GNU Lesser General Public License 23*cdf0e10cSrcweir* version 3 along with OpenOffice.org. If not, see 24*cdf0e10cSrcweir* <http://www.openoffice.org/license.html> 25*cdf0e10cSrcweir* for a copy of the LGPLv3 License. 26*cdf0e10cSrcweir* 27*cdf0e10cSrcweir**********************************************************************--> 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir<!-- This file is an example of an LDAP configuration file. 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir To use user data from LDAP in your installation, you need to provide a 32*cdf0e10cSrcweir customized version of this file, removing the ".sample" suffix. 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir This sample file is designed to work with a Sun Java System Directory 35*cdf0e10cSrcweir Server. There is another sample file designed to work with a Windows 36*cdf0e10cSrcweir Active Directory Server. Only one of those files should be activated by 37*cdf0e10cSrcweir removing its ".sample" suffix. 38*cdf0e10cSrcweir 39*cdf0e10cSrcweir To customize values in this file, replace the data within <value>... 40*cdf0e10cSrcweir </value> elements flagged as "CUSTOMIZE" with the values for your 41*cdf0e10cSrcweir organization. If a certain setting is not necessary for your installation, 42*cdf0e10cSrcweir you can remove the compelete corresponding <value>...</value> element. 43*cdf0e10cSrcweir--> 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir<oor:data xmlns:oor="http://openoffice.org/2001/registry"> 46*cdf0e10cSrcweir <dependency file="main"/> 47*cdf0e10cSrcweir <oor:component-data oor:package="org.openoffice" oor:name="LDAP"> 48*cdf0e10cSrcweir <node oor:name="UserDirectory"> 49*cdf0e10cSrcweir <prop oor:name="SearchUser"> 50*cdf0e10cSrcweir <!-- CUSTOMIZE, activate unless anonymous access is possible: 51*cdf0e10cSrcweir <value>MyUserLogin</value> --> 52*cdf0e10cSrcweir </prop> 53*cdf0e10cSrcweir <prop oor:name="SearchPassword"> 54*cdf0e10cSrcweir <!-- CUSTOMIZE, activate unless anonymous access is possible: 55*cdf0e10cSrcweir <value>MyPassword</value> --> 56*cdf0e10cSrcweir </prop> 57*cdf0e10cSrcweir <prop oor:name="UserObjectClass"> 58*cdf0e10cSrcweir <!-- CUSTOMIZE --><value>inetorgperson</value> 59*cdf0e10cSrcweir </prop> 60*cdf0e10cSrcweir <prop oor:name="UserUniqueAttribute"> 61*cdf0e10cSrcweir <!-- CUSTOMIZE --><value>uid</value> 62*cdf0e10cSrcweir </prop> 63*cdf0e10cSrcweir <node oor:name="ServerDefinition"> 64*cdf0e10cSrcweir <prop oor:name="Server"> 65*cdf0e10cSrcweir <!-- CUSTOMIZE --><value>ldapserver.mycorp.com</value> 66*cdf0e10cSrcweir </prop> 67*cdf0e10cSrcweir <prop oor:name="Port"> 68*cdf0e10cSrcweir <!-- CUSTOMIZE --><value>389</value> 69*cdf0e10cSrcweir </prop> 70*cdf0e10cSrcweir <prop oor:name="BaseDN"> 71*cdf0e10cSrcweir <!-- CUSTOMIZE --><value>dc=mycorp,dc=com</value> 72*cdf0e10cSrcweir </prop> 73*cdf0e10cSrcweir </node> 74*cdf0e10cSrcweir </node> 75*cdf0e10cSrcweir </oor:component-data> 76*cdf0e10cSrcweir <oor:component-data oor:package="org.openoffice" oor:name="UserProfile"> 77*cdf0e10cSrcweir <node oor:name="Data"> 78*cdf0e10cSrcweir <prop oor:name="o"> 79*cdf0e10cSrcweir <value oor:external= 80*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe o,organizationName"/> 81*cdf0e10cSrcweir </prop> 82*cdf0e10cSrcweir <prop oor:name="givenname"> 83*cdf0e10cSrcweir <value oor:external= 84*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe givenname"/> 85*cdf0e10cSrcweir </prop> 86*cdf0e10cSrcweir <prop oor:name="sn"> 87*cdf0e10cSrcweir <value oor:external= 88*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe sn"/> 89*cdf0e10cSrcweir </prop> 90*cdf0e10cSrcweir <prop oor:name="initials"> 91*cdf0e10cSrcweir <value oor:external= 92*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe initials"/> 93*cdf0e10cSrcweir </prop> 94*cdf0e10cSrcweir <prop oor:name="street"> 95*cdf0e10cSrcweir <value oor:external= 96*cdf0e10cSrcweir"com.sun.star.configuration.backend.LdapUserProfileBe street,postalAddress,streetAddress" 97*cdf0e10cSrcweir/> 98*cdf0e10cSrcweir </prop> 99*cdf0e10cSrcweir <prop oor:name="l"> 100*cdf0e10cSrcweir <value oor:external= 101*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe l"/> 102*cdf0e10cSrcweir </prop> 103*cdf0e10cSrcweir <prop oor:name="st"> 104*cdf0e10cSrcweir <value oor:external= 105*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe st"/> 106*cdf0e10cSrcweir </prop> 107*cdf0e10cSrcweir <prop oor:name="postalcode"> 108*cdf0e10cSrcweir <value oor:external= 109*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe postalcode"/> 110*cdf0e10cSrcweir </prop> 111*cdf0e10cSrcweir <!-- 112*cdf0e10cSrcweir <prop oor:name="c"> 113*cdf0e10cSrcweir <value oor:external= 114*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe ..."/> 115*cdf0e10cSrcweir </prop> 116*cdf0e10cSrcweir --> 117*cdf0e10cSrcweir <prop oor:name="title"> 118*cdf0e10cSrcweir <value oor:external= 119*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe title"/> 120*cdf0e10cSrcweir </prop> 121*cdf0e10cSrcweir <prop oor:name="position"> 122*cdf0e10cSrcweir <value oor:external= 123*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe position"/> 124*cdf0e10cSrcweir </prop> 125*cdf0e10cSrcweir <prop oor:name="homephone"> 126*cdf0e10cSrcweir <value oor:external= 127*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe homephone"/> 128*cdf0e10cSrcweir </prop> 129*cdf0e10cSrcweir <prop oor:name="telephonenumber"> 130*cdf0e10cSrcweir <value oor:external= 131*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe telephonenumber"/> 132*cdf0e10cSrcweir </prop> 133*cdf0e10cSrcweir <prop oor:name="facsimiletelephonenumber"> 134*cdf0e10cSrcweir <value oor:external= 135*cdf0e10cSrcweir"com.sun.star.configuration.backend.LdapUserProfileBe facsimiletelephonenumber,officeFax" 136*cdf0e10cSrcweir/> 137*cdf0e10cSrcweir </prop> 138*cdf0e10cSrcweir <prop oor:name="mail"> 139*cdf0e10cSrcweir <value oor:external= 140*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe mail"/> 141*cdf0e10cSrcweir </prop> 142*cdf0e10cSrcweir <!-- 143*cdf0e10cSrcweir <prop oor:name="fathersname"> 144*cdf0e10cSrcweir <value oor:external= 145*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe ..."/> 146*cdf0e10cSrcweir </prop> 147*cdf0e10cSrcweir --> 148*cdf0e10cSrcweir <!-- 149*cdf0e10cSrcweir <prop oor:name="apartment"> 150*cdf0e10cSrcweir <value oor:external= 151*cdf0e10cSrcweir "com.sun.star.configuration.backend.LdapUserProfileBe ..."/> 152*cdf0e10cSrcweir </prop> 153*cdf0e10cSrcweir --> 154*cdf0e10cSrcweir </node> 155*cdf0e10cSrcweir </oor:component-data> 156*cdf0e10cSrcweir</oor:data> 157