Complete Contents
About This Guide
Chapter 1 Introduction to iPlanet Web Server
Chapter 2 Administrating iPlanet Web Servers
Chapter 3 Setting Administration Preferences
Chapter 4 Managing Users and Groups
Chapter 5 Working with Server Security
Chapter 6 Managing Server Clusters
Chapter 7 Configuring Server Preferences
Chapter 8 Understanding Log Files
Chapter 9 Using SNMP to Monitor Servers
Chapter 10 Configuring the Server for Performance
Chapter 11 Extending Your Server with Programs
Chapter 12 Working with Configuration Styles
Chapter 13 Managing Server Content
Chapter 14 Controlling Access to Your Server
Chapter 15 Configuring Web Publishing
Chapter 16 Using Search
Appendix A HyperText Transfer Protocol
Appendix B ACL File Syntax
Appendix C Internationalized iPlanet Web Server
Appendix D Server Extensions for Microsoft FrontPage
Appendix E iPlanet Web Server User Interface
Glossary
Index
Previous Next Contents Index Bookshelf


Chapter 4 Managing Users and Groups

This chapter describes how to use the forms in the Administration Server Users and Groups tab.

This chapter includes the following sections:


About Users and Groups
The Administration Server provides you access to your application data about user accounts, group lists, access privileges, organization units, and other user/group-specific information. You can use the Administration Server to create, locate, and manage records for users and groups within your iPlanet Web Servers.

iPlanet Web Server 4.x does not support local LDAP. In order to add users and groups, you must have a directory server installed, such as Netscape Directory Server. If you need to create, locate, or manage records for users and groups on any other servers within your network, you should use Netscape Console with your Directory Server. For more information, see Managing Servers with Netscape Console.

Warning (NT).  You cannot install Netscape Directory Server 4.0 and iPlanet Web Server 4.x on the same Windows NT machine because of system library conflicts. Install Directory Server on a separate machine and use the Administration Server's Global Settings tab to configure iPlanet Web Server to use that Directory Server.

The Users and Groups tab of the Administration Server enables you to create or modify users, groups, and organizational units. Each user and group in your enterprise is represented by a Distinguished Name (DN) attribute. A DN attribute is a text string that contains identifying information for an associated user, group, or object. You use DNs whenever you make changes to a user or group directory entry. For more information regarding distinguished name syntax and frequently used attributes, see Managing Servers with Netscape Console.

Note that if you do not currently have a directory, or if you want to add a new subtree to an existing directory, you can use the Directory Server's Administration Server LDIF import function. This function accepts a file containing LDIF and attempts to build a directory or a new subtree from the LDIF entries. You can also export your current directory to LDIF using the Directory Server's LDIF export function. This function creates an LDIF-formatted file that represents your directory. For more information, see your Directory Server documentation.


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

This section includes the following topics:

Guidelines for Creating User Entries
Consider the following guidelines when using the administrator forms to create new user entries:

Note.  The user edit text fields for international information differs between the Administration Server and Netscape Console. In Netscape 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 User Entries and then perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the New User link and add the associated information to the displayed page.
For more information, see The New User Page. For information on editing users, see Managing Users.

Directory Server User Entries
The following user entry notes may be of interest to the directory administrator:

Table 4.1 LDAP Attributes
User Field
Corresponding LDAP Attribute
Given Name
givenName
Surname
sn
Full Name
cn
User ID
uid
Password
userPassword
Email Address
mail

Table 4.2 User Entry LDAP Attributes
User Field
Corresponding LDAP Attribute
Title
title
Telephone
telephoneNumber


Managing Users
You edit user attributes from the Administration Server Manage Users form. From this form you can find, change, rename, and delete user entries; manage user licenses; and potentially change product-specific information.

Some, but not all, Netscape/iPlanet servers add additional forms to this area that allow you to manage product-specific information. For example, if a messaging server is installed under your Administration Server, then an additional form is added that allows you to edit messaging server-specific information. See the server documentation for details on these additional management capabilities.

This section includes the following topics:

Finding User Information
Before you can edit a user entry, you must display the associated information. To find the specific user information, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Users link.
  3. In the Find User field, enter some descriptive value for the entry that you want to edit. You can enter any of the following in the search field:
  4. In the Look within field, select the organizational unit under which you want to search for entries. The default is the directory's root point (or top most entry).
  5. In the Format field, choose either On-Screen or Printer.
  6. Click Find. All the users in the selected organizational unit are displayed.
  7. In the resulting table, click the name of the entry that you want to edit.
  8. The user edit form is displayed. Change the displayed fields as desired and click Save Changes. The changes are made immediately.
Building Custom Search Queries
The Find all users whose field allows you to build a custom search filter. Use this field to narrow down the search results returned by a "Find user" search.

The Find all users whose field provides the following search criteria:

To display all of the users entries contained in the Look Within directory, enter either an asterisk (*) or simply leave this text field blank.

Search Attribute Options
The available search attribute options are described in the following table:

Table 4.3 Search Attribute Options
Option Name
Description
full name
Search each entry's full name for a match.
last name
Search each entry's last name, or surname for a match.
user id
Search each entry's user id for a match.
phone number
Search each entry's phone number for a match.
email address
Search each entry's email address for a match.
unit name
Search each entry's name for a match.
description
Search each organizational unit entry's description for a match.

Search Type Options
The available search type options are described in the following table:

Table 4.4 Search Type Options
Option Name
Description
contains
Causes a substring search to be performed. Entries with attribute values containing the specified search string are returned. For example, if you know an user's name probably contains the word "Dylan," use this option with the search string "Dylan" to find the user's entry.
is
Causes an exact match to be found. That is, this option specifies an equality search. Use this option when you know the exact value of an user's attribute. For example, if you know the exact spelling of the user's name, use this option.
isn't
Returns all the entries whose attribute value does not exactly match the search string. That is, if you want to find all the users in the directory whose name is not "John Smith", use this option. Be aware, however, that use of this option can cause an extremely large number of entries to be returned to you.
sounds like
Causes an approximate, or phonetic, search to be performed. Use this option if you know an attribute's value, but you are unsure of the spelling. For example, if you are not sure if a user's name is spelled "Sarret," "Sarette," or "Sarett," use this option.
starts with
Causes a substring search to be performed. Returns all the entries whose attribute value starts with the specified search string. For example, if you know a user's name starts with "Miles," but you do not know the rest of the name, use this option.
ends with
Causes a substring search to be performed. Returns all the entries whose attribute value ends with the specified search string. For example, if you know a user's name ends with "Dimaggio," but you do not know the rest of the name, use this option.

Editing User Information
To change a user's entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Display the user entry as described in Finding User Information.
  3. Edit the field corresponding to the attribute that you wish to change.
For more information, see The Edit Users Page.

Note.  It is possible that you will want to change an attribute value that is not displayed by the edit user form. In this situation, use the Directory Server ldapmodify command line utility, if available.

In addition, note that you can change the user's first, last, and full name field from this form, but to fully rename the entry (including the entry's distinguished name), you need to use the Rename User form. For more information on how to rename an entry, see Renaming Users.

Managing a User's Password
The password you set for user entries is used by the various servers for user authentication.

To change or create a user's password, perform the following steps:

  1. Access the Administration Server and choose Users & Groups tab.
  2. Display the user entry as described in Finding User Information.
  3. Make the desired changes and click OK.
For more information, see The Manage Users Page.

Note.  You can change the Administration Server user from root to another user on the operating system to enable multiple users (belonging to the group) to edit/manage the configuration files. However, note that while on Unix/Linux platforms, the installer can give "rw" permissions to a group for the configuration files, on Windows NT platforms, the user must belong to the "Administrators" group.

Note.  You can also disable the user's password by clicking the Disable Password button. Doing this prevents the user from logging into a server without deleting the user's directory entry. You can allow access for the user again by using the Password Management Form to enter a new password.

Managing User Licenses
Administration Server enables you to track which iPlanet server products your users are licensed to use.

To manage the licenses available to the user, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Display the user entry as described in Finding User Information.
  3. Click the Licenses link at the top of the User Edit form.
  4. Make the desired changes and click OK.
For more information, see The Manage Users Page.

Renaming Users
The rename feature changes only the user's name; all other fields are left intact. In addition, the user's old name is still preserved so searches against the old name will still find the new entry.

When you rename a user entry, you can only change the user's name; you cannot use the rename feature to move the entry from one organizational unit to another. For example, suppose you have organizational units for Marketing and Accounting and an entry named "Billie Holiday" under the Marketing organizational unit. You can rename the entry from Billie Holiday to Doc Holiday, but you cannot rename the entry such that Billie Holiday under the Marketing organizational unit becomes Billie Holiday under the Accounting organizational unit.

To rename a user entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Display the user entry as described in Finding User Information.
  3. Click the Rename User button.
  4. Change the Given Name, Surname, Full Name, or UID fields as is appropriate to match the new distinguished name for the entry.
  5. You can specify that the Administration Server no longer retains the old full name or uid values when you rename the entry by setting the keepOldValueWhenRenaming parameter to false. You can find this parameter in the following file:
For more information, see The Manage Users Page.

Removing Users
To delete a user entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Display the user entry as described in Finding User Information.
  3. Click Delete User.
For more information, see The Manage Users Page.


Creating Groups
A group is an object that describes a set of objects in an LDAP database. An iPlanet Web Server group consists of users who share a common attribute. There are two ways to define membership of a group: statically and dynamically. Static groups enumerate their member objects explicitly. A static group is a CN and contains uniqueMembers and/or memberURLs and/or memberCertDescriptions. For static groups, the members do not share a common attribute except for the CN=<Groupname> attribute.

Dynamic groups allow you to use a LDAP URL to define a set of rules that match only for group members. For Dynamic Groups, the members do share a common attribute or set of attributes that are defined in the memberURL filter. For example, if you need a group that contains all employees in Sales, and they are already in the LDAP database under "ou=Sales,o=Airius.com," you'd define a dynamic group with the following memberurl:

This group would subsequently contain all objects that have an uid attribute in the tree below the "ou=Sales,o=Netscape" point; thus, all the Sales members.

For static and dynamic groups, members can share a common attribute from a certificate if you use the memberCertDescription. Note that these will only work if the ACL uses the SSL method.

Once you create a new group, you can add users, or members, to it.

This section includes the following topics for creating groups:

Static Groups
The Administration Server enables you to create a static group by specifying the same group attribute in the DNs of any number of users. A static group doesn't change unless you add a user to it or delete a user from it.

Guidelines for Creating Static Groups
Consider the following guidelines when using the Administration Server forms to create new static groups:

To Create a Static Group
To create a static group entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the New Group link.
  3. Enter the required information and click OK.
For more information, see The New Group Page.

Dynamic Groups
A dynamic group has an objectclass of groupOfURLs, and has zero or more memberURL attributes, each of which is a LDAP URL that describes a set of objects.

iPlanet Web Server enables you to create a dynamic group when you want to group users automatically based on any attribute, or when you want to apply ACLs to specific groups which contain matching DNs. For example, you can create a group that automatically includes any DN that contains the attribute department=marketing. If you apply a search filter for department=marketing, the search returns a group including all DNs containing the attribute department=marketing. You can then define a dynamic group from the search results based on this filter. Subsequently, you can define an ACL for the resulting dynamic group.

This section includes the following topics:

How iPlanet Web Server Implements Dynamic Groups
iPlanet Web Server implements dynamic groups in the LDAP server schema as objectclass = groupOfURLs. A groupOfURLS class can have multiple memberURL attributes, each one consisting of an LDAP URL that enumerates a set of objects in the directory. The members of the group would be the union of these sets. For example, the following group contains just one member URL:

This example describes a set that consists of all objects below "o=mcom.com" whose department is "marketing."

The LDAP URL can contain a search base DN, a scope and filter, however, not a hostname and port. This means that you can only refer to objects on the same LDAP server. All scopes are supported.

The DNs are included automatically, without your having to add each individual to the group. The group changes dynamically, because iPlanet Web Server performs an LDAP server search each time a group lookup is needed for ACL verification. The user and group names used in the ACL file correspond to the cn attribute of the objects in the LDAP database.

Note.  iPlanet Web Server uses the cn (commonName) attribute as group name for ACLs.

The mapping from an ACL to an LDAP database is defined both in the dbswitch.conf configuration file (which associates the ACL database names with actual LDAP database URLs) and the ACL file (which defines which databases are to be used for which ACL). For example, if you want base access rights on membership in a group named "staff," the ACL code looks up an object that has an object class of groupOf<anything> and a CN set to "staff." The object defines the members of the group, either by explicitly enumerating the member DNs (as is done for groupOfUniqueNames for static groups), or by specifying LDAP URLs (for example, groupOfURLs).

Groups Can Be Static and Dynamic
A group object can have both objectclass = groupOfUniqueMembers and objectclass = groupOfURLs; therefore, both "uniqueMember" and "memberURL" attributes are valid. The group's membership is the union of its static and dynamic members.

Dynamic Group Impact on Server Performance
There is a server performance impact when using dynamic groups. If you are testing group membership, and the DN is not a member of a static group, iPlanet Web Server checks all dynamic groups in the database's baseDN. iPlanet Web Server accomplishes this task by checking if each memberURL matches by checking its baseDN and scope against the DN of the user, and then performing a base search using the user DN as baseDN and the filter of the memberURL. This procedure can amount to a large number of individual searches.

Guidelines for Creating Dynamic Groups
Consider the following guidelines when using the Administration Server forms to create new dynamic groups:

Table 4.5 Dynamic Groups: Required Parameters
Parameter Name
Description
<base_dn>
The Distinguished Name (DN) of the search base, or point from which all searches are performed in the LDAP directory. This parameter is often set to the suffix or root of the directory, such as "o=mcom.com".
<attributes>
A list of the attributes to be returned by the search. To specify more than one, use commas to delimit the attributes (for example, "cn,mail,telephoneNumber"); if no attributes are specified, all attributes are returned. Note that this parameter is ignored for dynamic group membership checks.
<scope>
The scope of the search, which can be one of these values:

This parameter is required.
<(filter)>
Search filter to apply to entries within the specified scope of the search. If you are using the Administration Server forms, you must specify this attribute. Note that the parentheses are required.

This parameter is required.

To Create a Dynamic Group
To create a dynamic group entry within the directory, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the New Group link.
  3. Select Dynamic Group from the Type of Group dropdown list.
  4. Enter the required information and click OK.
For more information, see The New Group Page.


Managing Groups
The Administration Server enables you to edit groups and manage group memberships from the Manage Group form. This section describes the following topics:

Finding Group Entries
Before you can edit a group entry, you must display the entry.

To find a group entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link.
  3. Enter the name of the group that you want to find in the Find Group field. You can enter any of the following values in the search field:
  4. In the Look within field, select the organizational unit under which you want to search for entries. The default is the directory's root point, or top-most entry.
  5. In the Format field, choose either On-Screen or Printer.
  6. Click Find. All the groups matching your search criteria are displayed.
  7. In the resulting table, click the name of the entry that you want to edit.
The "Find all groups whose" Field
The Find all groups whose field allows you to build a custom search filter. Use this field to narrow down the search results that are otherwise returned by Find groups. For more information regarding how to build a custom search filter, see Building Custom Search Queries.

To display all of the group entries contained in the Look Within directory, enter either an asterisk (*) or simply leave this text field blank.

Editing Group Attributes
To edit a group entry, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link.
  3. Locate the group you want to edit, and type the desired changes.
Note. You can change the Administration Server user from root to another user on the operating system to enable multiple users (belonging to the group) to edit/manage the configuration files. However, note that while on Unix/Linux platforms, the installer can give "rw" permissions to a group for the configuration files, on Windows NT platforms, the user must belong to the "Administrators" group.

For more information about editing group attributes, see The Manage Groups Page.

Note. It is possible that you will want to change an attribute value that is not displayed by the group edit form. In this situation, use the Directory Server ldapmodify command line utility, if available.

Adding Group Members
To add members to a group, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link.
  3. Locate the group you want to manage as described in Finding Group Entries, and click the Edit button under Group Members.
  4. In the right-most text field, enter a search string. Enter any of the following options:
  5. Click Find and Add to find all the matching entries and add them to the group.
  6. When the list of group members is complete, click Save Changes. The currently displayed entries are now members of the group.
For more information about adding groups members, see The Edit Members Page.

Adding Groups to the Group Members List
You can add groups (instead of individual members) to the group's members list. Doing so causes any users belonging to the included group to become a member of the receiving group. For example, if Neil Armstrong is a member of the Engineering Managers group, and you make the Engineering Managers group a member of the Engineering Personnel group, then Neil Armstrong is also a member of the Engineering Personnel group.

To add a group to the members list of another group, add the group as if it were a user entry. For more information, see Adding Group Members.

Removing Entries from the Group Members List
To delete an entry from the group members list, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link, locate the group you want to manage as described in Finding Group Entries, and click the Edit button under Group Members.
  3. For each member that you want to remove from the list, click the corresponding box under the Remove from list? column.
  4. Click Save Changes. The entry(s) are deleted from the group members list.
Managing Owners
You manage a group's owners list the same way as you manage the group members list. The following table identifies which section to read for more information:

Table 4.6 Additional Information
Task You Want to Complete
Read Section
Add owners to the group
Adding Group Members.
Add groups to the owners list
Adding Groups to the Group Members List.
Remove entries from the owners list
Removing Entries from the Group Members List.

Managing See Alsos
"See alsos" are references to other directory entries that may be relevant to the current group. They allow users to easily find entries for people and other groups that are related to the current group.

You manage see alsos the same way as you manage the group members list. The following table shows you which section to read for more information:

Table 4.7 Additional Information
Task You Want to Complete
Read Section
Add users to see alsos
Adding Group Members.
Add groups to see alsos
Adding Groups to the Group Members List.
Remove entries from see alsos
Removing Entries from the Group Members List.

Removing Groups
To delete a group, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link, locate the group you want to manage as described in Finding Group Entries, and click Delete Group.
Note. The Administration Server does not remove the individual members of the group(s) you remove; only the group entry is removed.

Renaming Groups
To rename a group, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Groups link and locate the group you want to manage as described in Finding Group Entries.
  3. Click the Rename Group button and type the new group name in the resulting dialog box.
When you rename a group entry, you only change the group's name; you cannot use the Rename Group feature to move the entry from one organizational unit to another. For example, a business might have the following organizations:

In this example, you can rename the group from Online Sales to Internet Investments, but you cannot rename the entry such that Online Sales under the Marketing organizational unit becomes Online Sales under the Product Management organizational unit.


Creating Organizational Units
An organizational unit can include a number of groups, and it usually represents a division, department, or other discrete business group. A DN can exist in more than one organizational unit.

To create an organizational unit, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the New Organizational Unit link and enter the required information.
For more information, see The New Organizational Unit Page.

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

For example, if you create a new organization called Accounting within the organizational unit West Coast, and your Base DN is o=Ace Industry, c=US, then the new organization unit's DN is:


Managing Organizational Units
You edit and manage organizational units from the Organizational Unit Edit form. This section describes the following tasks:

Finding Organizational Units
To find organizational units, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Organizational Units link.
  3. Type the name of the unit you want to find in the Find organizational unit field. You can enter any of the following in the search field:
  4. In the Look within field, select the organizational unit under which you want to search for entries. The default is the root point of the directory.
  5. In the Format field, choose either On-Screen or Printer.
  6. Click Find. All the organizational units matching your search criteria are displayed.
  7. In the resulting table, click the name of the organizational unit that you want to find.
The "Find all units whose" Field
The Find all units whose field allows you to build a custom search filter. Use this field to narrow down the search results that are otherwise returned by Find organizational unit. For more information regarding how to build a custom search filter, see Building Custom Search Queries.

To display all of the group entries contained in the Look Within directory, enter either an asterisk (*) or simply leave this text field blank.

Editing Organizational Unit Attributes
To change a organizational unit entry, access the Administration Server and perform the following steps:

  1. Locate the organizational unit you want to edit as described in Finding Organizational Units.
  2. The organizational unit edit form is displayed. Change the displayed fields as desired and click Save Changes. The changes are made immediately.
Note. It is possible that you will want to change an attribute value that is not displayed by the organizational unit edit form. In this situation, use the Directory Server ldapmodify command line utility, if available.

Renaming Organizational Units
To rename an organizational unit entry, access the Administration Server and perform the following steps:

  1. Make sure no other entries exist in the directory under the organizational unit that you want to rename.
  2. Locate the organizational unit you want to edit as described in Finding Organizational Units.
  3. Click the Rename button.
  4. Enter the new organizational unit name in the resulting dialog box.
Note. When you rename an organizational unit entry, you can only change the organizational unit's name; you cannot use the rename feature to move the entry from one organizational unit to another. For more information, see Renaming Organizational Units.

Deleting Organizational Units
To delete an organizational unit entry, access the Administration Server and perform the following steps:

  1. Make sure no other entries exist in the directory under the organizational unit that you want to rename.
  2. Locate the organizational unit you want to delete as described in Finding Organizational Units.
  3. Click the Delete button.
  4. Click OK in the resulting confirmation box. The organizational unit is immediately deleted.

Managing a Preferred Language List
iPlanet Web Server enables you to display and maintain the list of preferred languages.

To manage the preferred language list, perform the following steps:

  1. Access the Administration Server and choose the Users & Groups tab.
  2. Click the Manage Preferred Language List link.
  3. In the Display Language Selection List field, click Yes or No to specify whether iPlanet Web Server displays the Language Selection List.
  4. In the Languages in the Selection List field, click the Add to List checkbox to add each language you want specified as part of the Preferred Language List.
  5. Click the default value for the language you want to specify as the default language in the Preferred Language List.
  6. Click Save Changes.

 

© Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.