Initial Configuration

To Specify an Administrator Name, Password, and Distinguished Name  

166  

When you install Sun Directory Services, most configurable characteristics are given default settings that enable you to start and run a directory server. The only parameters that you must configure are the name and password of the administrator and the distinguished name of the naming context held in the data store and the data store location. This is described in "To Specify an Administrator Name, Password, and Distinguished Name" on page 166). When you have specified these parameters, you have a server with a default configuration with the following characteristics:

The port used for LDAP communications is 389.
The port used by the email administrator's configuration interface is 1760.
Searches are limited to 5000 entries or 3600 seconds (1 hour). A search stops when the first of these limits is reached.
The schema is checked for each add/modify directory operation.
The data store is in /var/opt/SUNWconn/ldap/dbm.
Log files are stored in /var/opt/SUNWconn/ldap/log.
1000 entries are cached.
Default indexing is used, as described in "Indexing the Data Store" on page 194.
Passwords are stored in encrypted format.
Alias dereferencing on bind operations is enabled.
The directory contains no entries (the name and password for the administrator are stored in the configuration file).
Default access control is used, as described in CODE EXAMPLE 1-1 on page 39.
There are no knowledge references to other servers.

Note - The SLAPD server is by default configured for only 256 maximum connections. Go to the Sun Directory Services page and in the General section change 256 to 1000.

 

To Specify an Administrator Name, Password, and Distinguished Name



AdminConsole>SUN Directory Services>General Properties  

  1. In the Admin Console home page, click the Sun Directory Services icon.
  2. In the General Properties section of the Sun Directory Services properties, specify the name and password for the directory administrator.
  The administrator name and password are stored in the configuration file, so that the administrator always has access to the directory. This is necessary so that the administrator can solve problems with access control, for example.
  3. Determine whether the administrator's password should be encrypted through the Password Encryption menu.
To encrypt the password (the default), choose encrypt.
To store the password unencrypted, choose None.
  4. Click Data Store in the Sections list.
  5. Choose Ldbm Data Store from the Create menu.
  Alternatively, you can rename the default data store o=XYZ, c=US, by highlighting that line in the Data Store section, and choosing Modify from the Selected menu.
  6. Specify the distinguished name of the naming context that the directory server will store.
  See "Using the Distinguished Name Editor" on page 211 for details of how to enter a DN in the Admin Console.
  7. Specify the path name to the directory where the data store is to be held.
  For a default configuration, you do not need to specify any other information. For more information about creating a data store, see "Configuring the Data Store" on page 190.
  8. Click Apply.
  The changes are implemented when you stop and start the slapd daemon.
  9. Log out of the Admin Console and then log back in.



Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.