Commit 335e77a7 authored by Dr. Martin Goik's avatar Dr. Martin Goik

ADS screenshot connection configuration

parent e1314404
......@@ -250,32 +250,35 @@ print(fivestar)</programlisting></td>
<figure xml:id="dbDevel_selectedDbOverview_ldap_fig_docker">
<title>Running a Docker container</title>
<screen>docker run --detach \ <co
<screen>docker run --detach <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-1"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-1-co"/>
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-1-co"/> \
--name openldap <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2.2"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2.2-co"/>\
-p 389:389 \ <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2-co"/>
--env LDAP_ORGANISATION="Betrayers heaven" \ <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-3"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-3-co"/>
--env LDAP_TLS=false \ <co
--env LDAP_TLS=false <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-4"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-4-co"/>
--env LDAP_DOMAIN="betrayer.com" \ <co
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-4-co"/>\
--env LDAP_DOMAIN="betrayer.com" <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-5"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-5-co"/>
--env LDAP_ADMIN_PASSWORD="password" \ <co
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-5-co"/>\
--env LDAP_ADMIN_PASSWORD="secret" <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-6"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-6-co"/>
--env LDAP_CONFIG_PASSWORD="configPassword" \ <co
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-6-co"/>\
--env LDAP_CONFIG_PASSWORD="secret" <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-7"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-7-co"/>
--volume ~/OpenLdap/Data:/var/lib/ldap \ <co
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-7-co"/>\
--volume ~/OpenLdap/Data:/var/lib/ldap <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8-co"/>
--volume ~/OpenLdap/Config:/etc/ldap/slapd.d \ <coref
linkend="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8-co"/>
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8-co"/>\
--volume ~/OpenLdap/Config:/etc/ldap/slapd.d <coref
linkend="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8-co"/>\
osixia/openldap:1.4.0 <co
linkends="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-9"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-9-co"/></screen>
......@@ -287,6 +290,18 @@ osixia/openldap:1.4.0 <co
shell. This will start a background process.</para>
</callout>
<callout arearefs="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2.2-co"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2.2">
<para>The container's name to appear <abbrev>i.e.</abbrev> in a
<xref linkend="glo_Docker"/> listing:</para>
<screen><command>docker</command> <option>container</option> <option>ls</option>
CONTAINER ID IMAGE ... PORTS NAMES
e82c438cda24 osixia/openldap:1.4.0 ... 0.0.0.0:389-&gt;389/tcp, 636/tcp <emphasis
role="red">openldap</emphasis></screen>
</callout>
<callout arearefs="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2-co"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-2">
<para>Bind the containers port 389 to the host system's port
......@@ -324,10 +339,37 @@ osixia/openldap:1.4.0 <co
<callout arearefs="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-7-co"
xml:id="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-7">
<para>The server configuration tree's administrator password
corresponding to the bind <xref linkend="glo_DN"/>
<code>cn=admin,cn=config</code> granting full access. This
grants full access to the server's configuration tree starting
at <code>cn=config</code>.</para>
corresponding to an entirely distinct tree starting at
<code>cn=config</code>. This tree among with its top level node
of objectclass <code>olcGlobal</code> having <xref
linkend="glo_RDN"/> <code>cn=config</code> represents the
server's configuration including:</para>
<itemizedlist>
<listitem>
<para>Schema classes.</para>
</listitem>
<listitem>
<para>Access rules (permissions).</para>
</listitem>
<listitem>
<para>Logging configuration.</para>
</listitem>
<listitem>
<para>Search index definitions.</para>
</listitem>
<listitem>
<para>Database backend parameters.</para>
</listitem>
</itemizedlist>
<para><code>LDAP_CONFIG_PASSWORD</code> corresponds to the bind
<xref linkend="glo_DN"/> <code>cn=admin,cn=config</code>
granting full access to the server's configuration tree.</para>
</callout>
<callout arearefs="dbDevel_selectedDbOverview_ldap_fig_dockerinstall-8-co"
......@@ -341,8 +383,8 @@ osixia/openldap:1.4.0 <co
OpenLdap server's back</para>
<para>end databases will reside on the docker host system's file
system. This allows for <abbrev>e.g.</abbrev> deleting the
container before upgrading without loosing data.</para>
system. This allows for <abbrev>e.g.</abbrev> deleting and
restoring the container without loosing data.</para>
<para>This way your local server's database and the server's log
files will exist outside your <xref linkend="glo_Docker"/>
......@@ -392,6 +434,29 @@ osixia/openldap:1.4.0 <co
</itemizedlist>
</figure>
<figure xml:id="dbDevel_selectedDbOverview_ldap_fig_docker_compose">
<title>Using docker-compose</title>
<programlisting language="yaml">version: '3.7'
services:
openldap:
image: osixia/openldap:1.4.0
container_name: openldap
restart: always
environment:
LDAP_ORGANISATION: "Betrayers heaven"
LDAP_TLS: "false"
LDAP_DOMAIN: "betrayer.com"
LDAP_ADMIN_PASSWORD: "secret"
LDAP_CONFIG_PASSWORD: "secret"
ports:
- 389:389
volumes:
- ~/OpenLdap/Data:/var/lib/ldap
- ~/OpenLdap/Config:/etc/ldap/slapd.d</programlisting>
</figure>
<figure xml:id="dbDevel_selectedDbOverview_ldap_fig_apacheDirectoryInstall">
<title>Installing Apache Directory Studio</title>
......@@ -407,6 +472,26 @@ osixia/openldap:1.4.0 <co
</listitem>
</itemizedlist>
</figure>
<figure xml:id="dbDevel_selectedDbOverview_ldap_fig_apacheDirectoryConfigureAdminDit">
<title>Administrator access to your DIT</title>
<mediaobject>
<imageobject>
<imagedata fileref="Ref/dbOverview/Ldap/connectDitAdmin.multi.svg"/>
</imageobject>
</mediaobject>
</figure>
<figure xml:id="dbDevel_selectedDbOverview_ldap_fig_apacheDirectoryConfigureAdminConfig">
<title>Administrator access to your server's configuration</title>
<mediaobject>
<imageobject>
<imagedata fileref="Ref/dbOverview/Ldap/connectDitAdmin.multi.svg"/>
</imageobject>
</mediaobject>
</figure>
</section>
<section xml:id="sect_dbDevel_overview_openLdap_features">
......
wmctrl -l
wmctrl -r 'Data Sources and Drivers' -e 0,200,300,1149,470
wmctrl -r 'New LDAP Connection' -e 0,2200,300,1331,550
170,0 75
1149,2 470 +37
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment