Novell is now a part of Micro Focus

ICE: Performing a Comma-Delimited Export

Articles and Tips: tip

Paul Thompson
Novell, Inc.

01 Jul 2002


To perform a comma-delimited export with the Novell Import/Convert/Export (ICE) utility, use a command similar to the following:

ice -SLDAP -sserver1.acme.com -p389
-dcn=admin,c=us -wpassword -lobjectClass=* -csub
-DDELIM -f/tmp/server1.csv -Forder.csv

This command line performs a subtree search for all objects on the server server1.acme.com at port 389 using the identity cn=admin,c=us, and password "password." It also outputs the data in comma-delimited format to the /TMP/SERVER1.CSV file.

Performing a Data Migration between LDAP Servers through ICE

To perform a data migration between LDAP servers, combine the LDAP source and LDAP destination handlers. An example of this follows:

ice -S LDAP -s server1.acme.com -p 389 -d cn=admin,c=us -w password -F objectClass=* -c
sub -D LDAP -s server2.acme.com -p 389 -d cn=admin,c=us -w secret

This particular command line performs a subtree search for all objects in the server server1.acme.com at port 389 using the identity cn=admin,c=us with the password "password." It also sends the output to the LDAP server server2.acme.com at port 389 using the identity cn=admin,c=us and the password "secret."

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Micro Focus