Ability to locate the Directory Server's configuration files. Ability to make simple changes to slapd.conf using a text editor.
Try This: Locate the slapd.conf file on your target system and examine its contents with a text editor.
It's possible to delete the root password from slapd.conf by manually editing this file. In this situation, the root DN can only obtain the same access to your directory as you allow for anonymous access. Always make sure that a root password is defined in slapd.conf when a root DN is configured for your database.
Although general parameters may be repeated within the database definition, the last instance of any repeated parameter takes precedence over all other duplicated parameters. The only restriction is that all non-database parameters must appear in the file before any database-specific parameters.
Chapter 16 of the Directory Server Administration Guide.
> | # Manual Configuration Although you can change most of the Directory Server's configuration parameters through Netscape Console, there are situations in which you may want to make changes by manually editing the configuration files. The most important one of these files is `slapd.conf`. ### Locating the Configuration Files
> | All of the Directory Server's configuration files are located in the nshome`/slapd-`serverId`/config` folder. Unix:`/usr/netscape/Servr4/slapd-mrbrown/config` NT: `c:\netscape\server4\slapd-mrbrown\config`
> ### Editing slapd.conf
> | The `slapd.conf` file is a simple ASCII file that's read only when the Directory Server is started. It contains the server's parameters and their associated values. These parameters define everything from the server's name and the port that it uses, to the type of database used to store the directory, to tuning values.
> To modify this file directly: Edit the file with a standard text editor (Notepad on NT systems; TextEdit on Solaris systems) Stop and then restart the Directory Server. You should only change those parameters that are not supported in `slapd.dynamic_ldbm.conf`. Currently this is only the index parameter. The `slapd.conf` file begins with several include statements that include the standard attribute and object class definitions. The remainder of `slapd.conf` consists of a series of general configuration parameters that apply to the Directory Server as a whole, followed by a database definition that contains information specific to the database. Comment lines begin with a pound symbol (#). Blank lines and comment lines are ignored by ns-slapd. A line beginning with white space is considered a continuation of the previous line. Entry arguments are separated by white space. If a parameter value contains white space, then it must be enclosed in double quotation marks (for example, "like this"). If a parameter value contains a double quotation mark (") or a backslash (\), the character must be preceded (escaped) by a backslash character. The general format of the `slapd.conf file` is:
> `# comment - slapd.at.conf contains common attribute` `# definitions, slapd.oc.conf contains common` `# object class definitions.` `include /usr/netscape/suitespot/slapd-<serverId>/config/slapd.at.conf` `include /usr/netscape/suitespot/slapd-<serverId>/config/slapd.oc.conf` `# The first parameters apply to ns-slapd as a whole` `<general parameter>` `<general parameter>` `...` `# The database ldbm parameter that follows must appear as a separator` `# between the general and the database parameters.` `database ldbm` `<database parameter>` `<database parameter>` `...`

Copyright © 2000
Sun-Netscape Alliance