10 Accessing OpenOffice.org User Profiles
on an LDAP Server
OpenOffice.org can use an LDAP User Profile Back End to access user profiles, such as first name, last name,
and address, on an LDAP server. As a result, you do not need to manually enter user profiles when you install
OpenOffice.org on a network.
To retrieve user profiles for OpenOffice.org from an LDAP repository, you need to provide the LDAP User
Profile Back End with the following information:
Location of the LDAP repository
Mapping file that identifies the attributes in the LDAP repository that are required to generate an
OpenOffice.org user profile
Configuring OpenOffice.org to Retrieve User
Profiles From an LDAP Repository
You specify the settings for the LDAP User Profile Back End in LDAP.xcu, an XML file. OpenOffice.org loads
these settings during startup. The structure of the LDAP.xcu file is defined by the configuration schema for the
org.openoffice.LDAP component. The schema is located in install-
dir/share/registry/schema/org/openoffice/LDAP.xcs.
To Configure OpenOffice.org to Access User Profiles From
an LDAP Repository
1 In a text editor, create an XML configuration file with the name LDAP.xcu
Note – A sample LDAP.xcu file is provided at install-
dir/share/registry/data/org/openoffice/LDAP.xcu.sample
The structure of the LDAP.xcu.sample file is:
<oor:component-data oor:name="LDAP" oor:package="org.openoffice"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="UserDirectory">
<node oor:name="ServerDefinition">
<prop oor:name="Server" oor:type="xs:string">
<value>ldapserver.mycorp.com</value>
</prop>
37
Comentarios a estos manuales