blob: 8862b1b2c8304308a2f838279e240837928ed37d [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<chapter id="gettingstarted">
<title>Getting started</title>
<para>
This getting started guide provides a brief introduction to the LDAP Studio Browser.
</para>
<section id="gettingstarted_download_install">
<title>Download and installation</title>
<para>
Beside the integration in LDAP Studio the LDAP Studio Browser could also be installed
as a plug-in into a regular Eclipse installation. This section describes this
alternative.
</para>
<para>
Using the Eclipse Install/Update Manager is the easiest way to
install the LDAP Studio Browser plug-in.
From workbench menu choose
<emphasis role="strong">
<menuchoice>
<guimenu>Help</guimenu>
<guisubmenu>Software Updates</guisubmenu>
<guimenuitem>Find and Install...</guimenuitem>
</menuchoice>
</emphasis>
.
</para>
<para>
In the opened wizard choose
<emphasis role="strong">Search for new features to install</emphasis>
and click <emphasis role="strong">Next</emphasis>.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Next please specify the LDAP Studio update site. Click the <emphasis role="strong">New Remote Site...</emphasis> button.
In the dialog input the following and press <emphasis role="strong">OK</emphasis>:
<itemizedlist>
<listitem>Name: LDAP Studio Update Site</listitem>
<listitem>URL: http://directory.apache.org/ldapstudio/update/</listitem>
</itemizedlist>
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_2.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Make sure the new update site is checked an press
<emphasis role="strong">Finish</emphasis>.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_3.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Now the install manager checks the update site and presents the search results. Select the
feature you want to install - of course the LDAP Studio Browser - and click
<emphasis role="strong">Next</emphasis>.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_4.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Accept the license agreement, the LDAP Studio Browser is distributed under the
Apache License, Version 2.0.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_5.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
In the next dialog ensure that the LDAP Studio Browser feature is selected and
click to <emphasis role="strong">Finish</emphasis>.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_6.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Now the install manager loads the necessary files. When download is finished
you have to verify the installation, please click to
<emphasis role="strong">Install</emphasis>.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_install_7.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
After installation it is recommended to restart the Eclipse workbench.
</para>
</section>
<section id="gettingstarted_open_perspecitve">
<title>Open LDAP perspective</title>
<para>
To use the LDAP Studio Browser plug-in open the LDAP perspective. Therefore go to
<emphasis role="strong">
<menuchoice>
<guimenu>Window</guimenu>
<guisubmenu>Open Perspective</guisubmenu>
<guimenuitem>Other...</guimenuitem>
</menuchoice>
</emphasis>
and select the <emphasis role="strong">LDAP</emphasis> perspective.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_open_perspective_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
For more information about the LDAP perspective see <link linkend="tools_ldap_perspective">LDAP perspective</link>
</para>
</section>
<section id="gettingstarted_create_connection">
<title>Create connection</title>
<para>
The bottom left corner shows all of the LDAP connections. As can be seen, the view is empty, meaning a connection still needs to be specified.
</para>
<para>
To create a new connection click the
<inlinemediaobject><imageobject><imagedata fileref="icons/connection_add.gif" format="GIF"/></imageobject></inlinemediaobject>
<emphasis role="strong">New Connection</emphasis> button.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_create_connection_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
In the wizard's first page enter a connection name as well as the hostname and the port of the LDAP server. To check the connection
parameter you entered you may click to <emphasis role="strong"><guibutton>Check Network Parameter</guibutton></emphasis>.
Click <emphasis role="strong">Next</emphasis> when done.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_create_connection_2.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
In the wizard's second page select the authentication method. If you choose the simple bind method also enter your bind DN or user and bind password.
To check the authentication parameter you entered you may click to <emphasis role="strong"><guibutton>Check Authentication</guibutton></emphasis>.
Click <emphasis role="strong">Finish</emphasis> when done.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_create_connection_3.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
Observe that the <emphasis role="strong">Connections view</emphasis> now shows the created connection.
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_create_connection_4.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
For more information see <link linkend="tools_connections_view">Connections view</link>
</para>
</section>
<section id="gettingstarted_browse">
<title>Browse the directory</title>
<para>
The <emphasis role="strong">LDAP Browser view</emphasis> is on the top left.
The category <inlinemediaobject><imageobject><imagedata fileref="icons/dit.gif" format="GIF"/></imageobject></inlinemediaobject>
<emphasis role="strong">DIT</emphasis> shows the hierarchical content of the directory. You may expand and collapse the tree.
</para>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_browse_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
When selecting an entry its attributes and values will be displayed in the <emphasis role="strong">Entry editor</emphasis>.
</para>
<para>
For more information see <link linkend="tools_browser_view">LDAP Browser view</link> and <link linkend="tools_entry_editor">Entry editor</link>.
</para>
</section>
<section id="gettingstarted_search">
<title>Search the directory</title>
<para>
To search the directory you may use the Eclipse search function.
</para>
<orderedlist numeration="arabic">
<listitem>
<para>
In the Workbench toolbar, click the
<inlinemediaobject><imageobject><imagedata fileref="icons/search.gif" format="GIF"/></imageobject></inlinemediaobject>
<emphasis role="strong">Search</emphasis> button.
</para>
</listitem>
<listitem>
<para>
If it is not already selected, select the
<inlinemediaobject><imageobject><imagedata fileref="icons/browser_searchresulteditor.gif" format="GIF"/></imageobject></inlinemediaobject>
<emphasis role="strong">LDAP Search</emphasis> tab.
</para>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_search_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
In the search dialog type in a search name. Select a connection to search on and the search base DN.
Specify a valid LDAP filter and the returning attributes as comma separated list, hit Ctrl-Space to get content assistance.
Additionally you may choose scope, limits, alias and referral options.
</para>
</listitem>
<listitem>
<para>
Press the <emphasis role="strong">Search</emphasis> button.
</para>
</listitem>
<listitem>
<para>
The category <inlinemediaobject><imageobject><imagedata fileref="icons/searches.gif" format="GIF"/></imageobject></inlinemediaobject>
<emphasis role="strong">Searches</emphasis> in the LDAP Browser shows the searches. You may expand the search to see all search result enties.
</para>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/gettingstarted_search_2.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
When selecting a search the search results and returning attributes will be displayed in the <emphasis role="strong">Search Result editor</emphasis>.
</para>
<para>
When selecting a search result entry its attributes and values will be displayed in the <emphasis role="strong">Entry editor</emphasis>.
</para>
</listitem>
</orderedlist>
<para>
For more information see <link linkend="tools_browser_view">LDAP Browser view</link> and <link linkend="tools_search_result_editor">Search Result editor</link>.
</para>
</section>
</chapter>