Apache Directory Studio Apache DS User Guide
Apache Directory Studio Apache DS User Guide
User's Guide
Apache Directory Studio Apache DS: User's Guide
Version 2.0.0.v20210717-M17
Copyright © 2006-2021 The Apache Software Foundation
http://www.apache.org/licenses/LICENSE-2.0
iii
Chapter I. Getting started
This part of the guide provides you a sum up of the basic concepts of the Apache DS plugin.
• Create a server
• Rename a server
• Configure a server
• Start a server
• Stop a server
• Delete a server
The LDAP Servers view displays the current status of all the servers. The State column indicates whether
or not a server has been started. The following lists the possible server status:
• Starting
• Started
• Stopping
• Stopped
1
Getting started
Toolbar
The toolbar of the LDAP Servers view contains the following actions:
Context Menu
The context menu of the LDAP Servers view contains the following actions:
• Properties : Opens the properties dialog of the selected LDAP server which shows details like version
and the path the to configuration folder.
Icons
Icon Description
Server
Starting server
Started server
Stopping server
Stopped server
• The Overview gives you a quick overview about enabled protocols, ports, and configured partitions.
2
Getting started
• The LDAP/LDAPS Servers page allows you to configure the LDAP server.
• The Kerberos Server page allows you to configure the Kerberos server.
It contains four sections : LDAP/LDAPS Servers , Kerberos Server , Partitions and Options .
LDAP/LDAPS Servers
This section allows you to enable/disable each of the following protocols and specify the port it is running
on:
Kerberos Server
This section allows you to enable/disable each of the following protocols and specify the port it is running
on:
3
Getting started
Limits
This section shows the partitions defined.
Options
Check the Allow Anonymous Access checkbox to allow anonymous access on the server.
Check the Enable Access Control to enable Access Control on the server.
Check the Enable Hidden Password to hide password attributes in search results.
It contains the following sections : LDAP/LDAPS Servers , Limits , SSL/Start TLS Keystore , SSL
Advanced Settings , Supported Authentication Mechanisms , SASL Settings and Advanced .
LDAP/LDAPS Servers
This section allows you to enable/disable the LDAP and LDAPS protocols. For each protocol you can
specify
• Address: the IP address the server should bind to (default 0.0.0.0 means to bind to all network interfaces)
4
Getting started
• Backlog Size: the number of requests to queue when all threads are busy
Limits
This section allows you to specify the Limits of the server.
Max. Time Limit lets you choose the maximum time that should last a request (in milliseconds).
Max. Size Limit lets you choose the maximum number of entries that should be returned.
Max. PDU Size lets you choose the maximum PDU size (in bytes).
Ciphers Suite lets you select which cipher suites are allowed to use.
Enabled Protocols lets you select which protocols are enabled (default: TLSv1, TLSv1.1, TLSv1.2).
• SIMPLE
• GSSAPI (SASL)
• CRAM-MD5 (SASL)
• DIGEST-MD5 (SASL)
SASL Settings
This section allows you to specify to the SASL settings.
5
Getting started
The SASL Principal field represents the service principal name that the server-side of the LDAP protocol
provider will use to "accept" a GSSAPI context initiated by the LDAP client. The SASL principal MUST
follow the name-form "ldap/[fqdn]@[realm]".
The Search Base DN field represents the Distinguished Name where a subtree-scoped DIT search will be
performed. This is BOTH where the LDAP service principal must reside, as well as where user principals
must reside.
The SASL Realms field allows you specify to the SASL realms.
Use the Add... , Edit... and Delete buttons to set your SASL Realms.
Advanced
This section allows you to specify other advanced settings of the server.
Check the Enable TLS checkbox to enable the Start TLS extended operation.
Check the Enable server-side password hashing checkbox to instruct the server to hash modified user
passwords on the server side. When checked this also allows you to select the hashing method to use.
The Replication pinger sleep field allows you to define the frequency how often the replication consumer
pings the replication producer (in seconds).
The Disk synchronization delay field allows you to define the frequency how often data is synchronized
to the disk (in milliseconds).
It contains the following sections : Kerberos Server , Kerberos Settings and Ticket Settings .
Kerberos Server
This section allows you to enable/disable the Kerberos and Change Password protocols. For each protocol
you can specify
6
Getting started
• Address: the IP address the server should bind to (default 0.0.0.0 means to bind to all network interfaces)
Kerberos Settings
This section allows you to specify to the Kerberos server settings.
The Primary KDC Realm field represents the primary realm of the key distribution controller.
The Search Base DN field represents base DN in the LDAP server where principals are searched.
Encryption Types lets you select which encryption types are allowed to use.
Ticket Settings
This section allows you to specify to the Ticket specific settings. Please refer to RFC 1510 and RFC 4120
for detailed information about each setting.
The left side of the page shows the partitions defined on the server. This is where you can add or delete
a partition.
• : Standard Partition
• : System Partition
The right side of the page display and lets you edit the details of the selected partition in the left side.
7
Getting started
A Suffix is mandatory for the partition and defines the context entry DN.
Check the Synchronization On Write checkbox to enable the synchronization on write for the partition.
Context Entry
Check the Auto-generate context entry from suffix DN to instruct the server to automatically generate
the context entry on first startup.
Check the Enable Optimizer checkbox to enable the optimizer for the partition.
Indexed Attributes
This section allows you to specify to the server the attributes that should be indexed and their cache size.
Use the Add... , Edit... and Delete buttons to set the indexed attributes.
8
Getting started
The left side of the page shows the password policies defined on the server. This is where you can add
or delete a policy.
The right side of the page display and lets you edit the details of the selected password policy in the left side.
Quality
Check Quality defines which quality level a new password must fulfil. One of the following options can
be chosen:
• Relaxed - Check the password and accept passwords that can't be checked (hashed passwords)
• Strict - Check the password but reject passwords that can't be checked (hashed passwords)
Check Enable Minimum Length to enable and specify the minimum password length.
Check Enable Maximum Length to enable and specify the maximum password length.
Expiration
Minimum Age defines the number of seconds that must elapse between modifications to the password.
Maximum Age defines the number of seconds after which a modified password will expire. Default value
is 0, does not expire. If not 0, the value must be greater than or equal to the value of the minimum age.
Check Enable Expire Warning to enable and specify the number of seconds before password expiration
a warning message will be returned to an authentication user.
Check Enable Grace Authentication Limit to enable and specify the how often an expired password can
be used to authenticate.
Check Enable Grace Expire to enable and specify the number of seconds for the grace period.
Options
Check Enable Must Change to enforce that the password must be changed by the user after a password
reset.
Check Enable Allow User Change to allow users to change their own password.
Check Enable Safe Modify to enforce that the existing password must be ent when changing the password.
9
Getting started
Lockout
Check Enable Lockout to enable password lockout.
Lockout Duraton defines the number of seconds that the password cannot be used to authenticate due
to too many failed bind attempts.
Maximum consecutive Failrues defines the number of consecutive failed bind attempts after which the
password may not be used to authenticate.
Check Enable Maximum Idle to enable and specify the number of seconds an account may remain unused
before it becomes locked.
Check Enable In History to enable and specify the maximum number of used password history is
preserved.
Minimum Delay defines the number of seconds to delay responding to the first failed authentication
attempt. Default value 0, no delay
Maximum Delay defines the maximum number of seconds to delay responding to the first failed
authentication attempt.
10
Getting started
The left side of the page shows the replication consumers defined on the server. This is where you can
add or delete an replication consumer.
The right side of the page display and lets you edit the details of the selected replication consumer in the
left side.
Connection
Replication Mode defines the replication mode to use. One of the following options can be chosen:
The reminder of the section allows to configure the connection parameters to the replication provider.
Configuration
The configuration section allows to define the search parameters for the entries to replicate.
11
Chapter II. Tasks
1. Creating a new LDAP server
To create a new LDAP server, in the Servers view toolbar, click on the New Server button, or use the
Strg-E shortcut.
2. Starting a server
To start a server, in the Servers view, select the server you want to start and click the Run button in
the toolbar, or use the Strg-R shortcut.
3. Stopping a server
To stop a server, in the Servers view, select the server you want to stop and click the Stop button in
the toolbar, or use the Strg-T shortcut.
12
Tasks
5. Deleting a server
To delete a server, in the Servers view, select the server you want to delete and click the Delete action
in the context menu, or use the Delete shortcut.
13
Chapter III. Reference
14