his chapter describes how to use the forms in the general administration Users & Groups area. This chapter covers creating and managing users, groups, and organizational units; importing a directory from LDIF; and exporting a database to LDIF.
Note
If you are using Novell Directory Services mode, you must use the Netware® administration tools to manage users and groups.
Note
If you enter a given name (or first name) and a surname, then the gateway
automatically fills in the user's full name and user ID for you. The user ID is
generated as the first initial of the user's first name followed by the user's last
name. For example, if the user's name is Babs Jensen, then the user ID is automatically
set to bjensen. You can replace this user ID with an ID of your own choice
if you wish.
The user ID must be unique. The administration server ensures that the user ID is
unique by searching the entire directory from the search base (base DN) down to
see if the user ID is in use. Be aware, however, that if you use the ldapmodify
command-line utility to create a user, it does not ensure unique user IDs. If
duplicate user IDs exist in your directory, the effected users will not be able to
authenticate to the directory.
For information on editing users, see "Managing users."
Notes on user entries
The following notes may be of interest to the directory administrator concerning creating user entries:
cn=full name, ou=organization, ...,o=base organization, c=countryFor example, if a user entry for Babs Jensen is created within the organizational unit Engineering, and the directory's suffix is o=Ace Industry, c=US, then the person's DN is
cn=Babs Jensen, ou=Engineering, o=Ace Industry, c=USHowever, you can change this format to a uid-based distinguised name. For information on how to set this default, see "Using uid-based distinguished names."
User field
Corresponding LDAP attribute
Given Name
givenName
Surname
sn
Full Name
cn
User ID
uid
Password
userPassword
E-Mail Address
mail
| User field | Corresponding LDAP attribute |
|---|---|
| Title |
title
|
| Telephone |
telephoneNumber
|
For information on these attributes, see "Object Classes and Attributes" (Appendix A).
Finding user entries
Before you can edit a user entry, you must display the entry.
To find an entry, perform the following:
The Find all users whose field
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 Find user.
Find all users whose provides the following search criteria:
Options are
Options are
Editing user information
To change a user's entry, perform the following:
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 ldapmodify command-line utility.
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 Netscape servers for user authentication.
To change or create a user's password, perform the following:
You can also disable the user's password by clicking Disable Password. Doing this prevents the user from logging into a Netscape server without deleting the user's directory entry. You can reinstate the password by using the Password Management Form to enter a new password.
Managing user licenses
This area allows you to track which Netscape server products your users are licensed to use.
To manage the licenses available to the user, perform the following:
Note
Currently Netscape servers do not enforce these licenses.
Renaming users
To rename a user entry, perform the following:
NSHOME/admin-serv/config/dsgw-orgperson.conf
Note
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
You can rename the entry from Babs Jensen to Barbara Jensen, but you cannot rename the entry such that Babs Jensen under the Marketing organizational unit becomes Babs Jensen under the Accounting organizational unit.To return to the general information form, click General.
Creating groups
To create a group entry within the directory, perform the following:
Managing groups
You edit groups and manage group memberships from the Group Edit form. From this form you can
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.
Find all groups whose provides the following search criteria:
Options are
Options are
For more information on how to find a group entry, see "Finding group entries."
Editing group attributes
To change a group entry, perform the following:
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 ldapmodify command-line utility.
Adding group members
To add members to the group, perform the following:
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 Babs Jensen is a member of the Marketing Managers group, and you make the Marketing Managers group a member of the Marketing Personnel group, then Babs Jensen is also a member of the Marketing Personnel group.
To add a group to the members list of another group, add the group as if it were a user entry. See "Adding group members" for more information.
Removing entries from the group members list
To delete an entry from the group members list, perform the following:
Managing owners
You manage a group's owners list the same way as you manage the group members list. The following table shows you which section to read for more information:
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:
Removing groups
To delete a group, perform the following:
Renaming groups
To rename a group, perform the following:
Note
When you rename a group entry, you only change the group's name; you cannot use
the rename feature to move the entry from one organizational unit to another. For
example, suppose you have
You can rename the group from Bean Counters to Counters of Beans, but you cannot rename the entry such that Bean Counters under the Accounting organizational unit becomes Bean Counters under the Marketing organizational unit.
To create an organizational unit, perform the following:
Notes on organizational units
The following notes may be of interest to the directory administrator:
ou=new organization, ou=parent organization, ...,o=base organization, c=countryFor 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
ou=Accounting, ou=West Coast, o=Ace Industry, c=US
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:
Find all units whose provides the following search criteria:
Options are
Options are
For more information on how to find an organizational unit entry, see "Finding organizational units."
Editing organizational unit attributes
To change an organizational unit entry, perform the following:
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 ldapmodify command-line
utility.
Renaming organizational units
To rename an organizational unit entry, perform the following:
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 example, suppose you have
You can rename the entry from Widget 1 to Widget 2, but you cannot rename the entry such that Widget 1 under the Marketing organizational unit becomes Widget 1under the Accounting organizational unit.
Importing a directory from LDIF
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 Users and Groups import function. This function accepts a file containing LDIF and attempts to build a directory or a new subtree from the LDIF entries.
If you are using the Netscape local directory, the import function will optionally overwrite any existing directories. If you are using a directory server and you attempt to import an entry that already exists, then that operation will fail.
To merge LDIF formatted entries into an existing directory (either for a local directory or for directory server), it is best to convert the LDIF to LDIF update statements and use ldapmodify to perform the merge.
To create an new directory or subtree from Users and Groups, perform the following:
Exporting a directory to LDIF
You can export your current directory to LDIF using the Users and Groups export function. This function creates an LDIF-formatted file that represents your directory.
To export your directory to an LDIF file, perform the following:
NSHOME\db\ldap\tools where NSHOME is your administration server's installation root directory.