Mahabub
Mahabub

Reputation: 531

LDAP set organization as root of the tree

I am following THIS tutorial to setup my OpenLDAP server. I can setup the server properly. but in this process i had to set dn as root of the tree when i run

dpkg-reconfigure slapd

But i want the o (organization) to be the root of the tree. Basically I want to setup the server as following

o
|
ou-
  |
  ou--cn
  |
  ou--cn

How can I do this??

Upvotes: 1

Views: 495

Answers (1)

mystery
mystery

Reputation: 925

  1. Go to installation location of OpenLDAP and find slapd.conf file.
  2. Open slapd.conf file with any text editor.
  3. Change the following value according to your need

    suffix "o=exampleOrg"

  4. Save the changes and Restart OpenLDAP Server

Upvotes: 2

Related Questions