此内容没有您所选择的语言版本。

8.2. Set-up a Directory Server and Browser


Overview

In this stage of the tutorial you will install an X.500 directory server and browser client from the Apache Directory project. These applications will be used throughout the rest of this tutorial.

Install Apache Directory Studio

To install Apache Directory Studio:
  1. Download the Apache Directory Studio RCP Application (Eclipse-based, standalone executable) for your platform:
  2. Follow the Installation instructions on the relevant download page.
  3. Start Apache Directory Studio by double-clicking the relevant icon to launch the application.

Create an embedded Directory Server instance

Apache Directory Studio is able to create embedded Directory Server instances. This is a convenient way to access a Directory Server for the purpose of running examples and tutorials. To create an embedded Directory Server instance:
  1. Start up Apache Directory Studio.
  2. In the lower left corner of the screen, click on the LDAP Server tab to access the LDAP Server view.
  3. While hovering your mouse over the LDAP Server view, open the context menu and select New | New Server. The Create an LDAP Server dialog opens, as shown. Select Apache 2.0.0 and click Finish.
  4. To start the new Directory Server instance, select Apache 2.0.0 in the LDAP Server view and click the Run icon (or select Run from the context menu).

Connect the LDAP browser to the server

To connect the LDAP browser to the LDAP server:
  1. Right-click inside the Connections view.
  2. Select New Connection....
    The New LDAP Connection wizard opens.
  3. In the Connection name field, enter Apache Directory Server.
  4. In the Hostname field enter localhost.
  5. In the Port field, enter 10389.

    Figure 8.1. New LDAP Connection Wizard

    LDAP connection wizard
  6. Click Next.
  7. In the Bind DN or user field, enter uid=admin,ou=system).
  8. In the Bind password field, enter secret).

    Figure 8.2. Authentication Step of New LDAP Connection

    form for adding LDAP connection information
  9. Click Finish.
If the connection is successfully established, you should see an outline of the Directory Information Tree (DIT) in the LDAP Browser view.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.