Managing the NDS tree

Preparing to import user information into the NDS database

This topic gives some background information you should be familiar with before performing the import.

Generating the data file

You generate a data file from within your database application, or any other application, by saving the data as a delimited ASCII text file. Most applications use commas as the default field separator and quotation marks as the default delimiter.

If you need instructions on how to save your data as a delimited ASCII file, see the documentation accompanying your application.

Embedded punctuation

Before you generate a data file from within your database application, look for embedded punctuation in the data fields.


NOTE: If the fields in your database have embedded punctuation (for example, quotation marks or commas), you should not use that same punctuation as field separators or delimiters when you export the data.

If you do, UIMPORT will not be able to distinguish between new fields and embedded punctuation.


Since embedded quotation marks and commas are the most commonly found punctuation in database fields, here are some guidelines, grouped according to four situations you might encounter, to help you avoid problems in generating a data file:

Required ``Name'' Field

One of the fields required to create new user objects in the NDS database is name. If you do not have a field in your database that records each individual's login name, you have a few options:

Creating the import control file

You can create the import control file using any text editor under DOS or OS/2.

This file controls how the information in the data file will be imported into the NDS database and determines which fields (called properties in NDS) the data will be placed in. The import control file contains two types of information:

Use these guidelines to create the control file: Although you do not have to save the import control file in the same directory in which you saved the data file, doing so makes locating the files and running UIMPORT easier. If you do not, you will have to specify the path to each of the files when you run UIMPORT.

After generating the data file and creating the import control file, see ``Creating user objects with the UIMPORT utility'' to start the import process.

For more information about creating and managing User objects, see ``Setting up and managing NDS objects''. Details of starting the import process can be found in ``Creating user objects with the UIMPORT utility''.

Control parameters

Use the application control parameters in the following list to create the ``Import control'' section of the import control file. These can be changed by adding the control parameter in the data file. When doing so, add an exclamation point (!) before the control parameter in the data file. (See ``Data file edited to update user objects''.)

Field definitions

Use the applicable field definitions in the following table to create the import control file.

A single-value property can contain only one entry (property). If you put more than one entry for a single-value property in the control file, only the last one is saved.

A multiple-value property can contain more than one entry. If you want to replace existing values in existing users, make sure to set the Replace Value control parameter to ``Y''. By default, all values are added to those already in the user object.

UIMPORT field name changes

UIMPORT data field names have changed in NetWare 4.1. Field names used in NetWare Services are listed in the left column of the following table and new NetWare 4.1 names are listed in the right column.

NetWare Services UIMPORT field name 4.1 UIMPORT field name
Facsimile telephone number FAX number
Login disabled Account disabled
Login expiration time Account has expiration date
Login grace limit Grace logins allowed
Login maximum simultaneous Maximum connections
Minimum account balance Low balance limit
Password allow change Allow user to change password
Password expiration interval Days between forced changes
Password expiration time Date password expires
Password minimum length Minimum password length
Password required Require a password
Password unique required Require a unique password
Postal address Mailing label information
Security equals Security equal to
Telephone number Telephone
New field Foreign email address
New field Foreign email alias
New field Full name
New field Generational qualifier
New field Initials
New field Mailbox ID
New field Mailbox location

 NetWare Services UIMPORT field name   4.1 UIMPORT field name
 Facsimile telephone number            FAX number
 Login disabled                        Account disabled
 Login expiration time                 Account has expiration date
 Login grace limit                     Grace logins allowed
 Login maximum simultaneous            Maximum connections
 Minimum account balance               Low balance limit
 Password allow change                 Allow user to change password
 Password expiration interval          Days between forced changes
 Password expiration time              Date password expires
 Password minimum length               Minimum password length
 Password required                     Require a password
 Password unique required              Require a unique password
 Postal address                        Mailing label information
 Security equals                       Security equal to
 Telephone number                      Telephone
 New field                             Foreign email address
 New field                             Foreign email alias
 New field                             Full name
 New field                             Generational qualifier
 New field                             Initials
 New field                             Mailbox ID
 New field                             Mailbox location

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999