Sun Java System Web Server 6.1 SP12 Administrator's Guide

Creating Users

The Users and Groups tab of the Administration Server allows you to create or modify user entries. A user entry contains information about an individual person or object in the database.

When you create a user, you must protect server security by ensuring that the user does not have unauthorized access to resources. Sun Java System Web server 6.1 provides you with a range of choices to enhance security:

This section includes the following topics:

Creating a New User in an LDAP-based Authentication Database

When you add user entries to an LDAP-based directory service, the services of an underlying LDAP-based directory server are used to authenticate and authorize users. This section provides certain guidelines you need to consider while using an LDAP-based authentication database and describes how you can add users through the Administration Server.

Guidelines for Creating LDAP-based User Entries

Consider the following guidelines when using the administrator forms to create new user entries in an LDAP-based directory service:


Note –

The user edit text fields for international information differs between the Administration Server and the Sun Java System Web Server Administration Console. In the Sun Java System Web Server Administration Console, in addition to the untagged cn fields, there is a preferred language cn field which doesn’t exist in the Administration Server.


How to Create a New User Entry

To create a user entry, read the guidelines outlined in Guidelines for Creating LDAP-based User Entries, then perform the following steps:

ProcedureTo create a user entry

  1. Access the Administration Server and choose the Users and Groups tab.

  2. Click New User.

  3. Select the LDAP directory service from the Select Directory Service drop-down list, and click Select.

  4. Add the required information to the page that displays.

    For more information see Directory Server User Entries.

  5. Click Create User or Create and Edit User.

    For more information, see the New User page in the online help.

Directory Server User Entries

The following user entry notes may be of interest to the directory administrator:

Table 3–1 LDAP Attributes

User Field  

Corresponding LDAP Attribute  

Given Name 

givenName

Surname 

sn

Full Name 

cn

User ID 

uid

Password 

userPassword

Email Address 

mail

The following fields are also available when editing the user entry:

Table 3–2 User Entry LDAP Attributes

User Field  

Corresponding LDAP Attribute  

Title 

title

Telephone 

telephoneNumber

Creating a New User in a Key File Authentication Database

ProcedureTo create a user entry in a key file authentication database

  1. Access the Administration Server and choose the Users and Groups tab.

  2. Click the New User link.

  3. Select the file-based directory service ID from the Select Directory Service drop-down list and click Select.

  4. Enter the following information:

    • User ID (Required): Specifies a unique user name for the user.

      • Password: Specifies the password for the user.

      • Password (Again): Confirms the password entered in the Password field.

      • Groups: Specifies a comma-separated list of groups of which the user is a member.

  5. Click Create User.

Creating a New User in a Digest File Authentication Database

To create a user entry in a digest file authentication database, which stores user and group information in an encrypted form, perform the following steps:

ProcedureTo create a user entry in a digest file authentication database

  1. Access the Administration Server and choose the Users and Groups tab.

  2. Click the New User link.

  3. Select the digest-based directory service ID from the Select Directory Service drop-down list and click Select.

  4. Enter the following information:

    • User ID (Required) : Specifies a unique user name for the user.

      • Realm. Specifies the realm that will authenticate this user.

      • Password :. Specifies the password for the user.

      • Password (Again) : Confirms the password entered in the Password field.

      • Groups: Specifies a comma-separated list of groups of which the user is a member.

  5. Click Create User.


    Note –

    The same realm string must be specified when creating an ACL that uses digest authentication using the Sun Java System Web Server ACL user interface. For more information, see Setting Access Control.