Exporting Directory Info to a Database or LDAP via LDIF
Novell Cool Solutions: Tip
Digg This -
Posted: 6 Mar 2002
We've fielded a number of requests lately asking how to export from eDirectory to a database-friendly format. We had to hit the books for this one since the common way to move directory data today is with DirXML.
We found some history in TID-10023217:
Novell used to sell the software OIMPORT and OEXPORT. This utility pulled information out of Directory Services and put it in a file that database programs could import.
Because of Y2K issues, in October of 1999, this software was obsoleted. An alternate solution to export NDS information is to use the Novell Import/Export Utility more commonly known as ICE. This utility is LDAP based and comes packaged with eDirectory 8.5. ICE allows you to use LDAP and export NDS information to an LDIF format.
The DeveloperNet group thoroughly documented the tool on developer.novell.com. Here's how to get *all* the details: developer.novell.com/ndk/doc/cldap/index.html?ldaplibc/data/a5hgmnu.html
We also found an AppNote article titled Using the Novell Import Convert Export Utility. This article covers all the bases. Here's an excerpt:
As its name implies, the Novell Import Convert Export Utility allows you import data into and export data from directories. It can be used to import LDIF (LDAP Data Interchange Format) data into an LDAP directory, to export data from an LDAP directory to an LDIF file, and to migrate data between two directories without using an intermediate file format. Because the Novell Import Convert Export Utility is designed to efficiently import LDIF data into an LDAP directory it is especially well-suited for performing bulk loads of directory data. Its user interface is designed to simplify the process of importing, exporting, and migrating directory data. You can also use the utility to perform tasks such as schema mapping, entry creation, entry modification, schema modification, and LDIF file format checking.
The Novell Import Convert Export Utility is included with NDS eDirectory 8.5. It has both a graphical user interface (GUI) and a command-line interface. It is available on all platforms that run NDS eDirectory 8.5 or its associated ConsoleOne including:
Win32 (Windows 2000, Windows NT, Windows 98 and Windows 95)
The GUI version of the utility is a ConsoleOne snap-in wizard called the NDS Import/Export wizard. You can run it by clicking Wizards-->NDS Import/Export in ConsoleOne.
The command line version of the utility is named "ICE" (an acronym for Import Convert Export). The executable name follows the naming conventions for executables on the platform where it is running, so on Win32 platforms, its full name is ICE.EXE, on NetWare, its name is ICE.NLM, and on UNIX platforms, its name is ice.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com