18.07.2014 Views

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.2.3 Step 3: Import the LDIF File<br />

Now, import the modified entry using the following ICE command:<br />

ice -S ldif -f LDIF_file -D ldap -s <strong>Novell</strong>_<strong>eDirectory</strong>_server -p port_number -d<br />

full_admin_context -w password<br />

novdocx (en) 11 July 2008<br />

For example:<br />

ice -S ldif -f err.ldf -D ldap -s edirsrv1 -p edirport1 -d cn=admin,o=company -w<br />

pwd1<br />

8.3 Migrating from OpenLDAP to <strong>Novell</strong><br />

<strong>eDirectory</strong><br />

• Section 8.3.1, “Prerequisites,” on page 54<br />

• Section 8.3.2, “Migrating the OpenLDAP Schema to <strong>eDirectory</strong>,” on page 54<br />

• Section 8.3.3, “Migrating the Open LDAP Data to <strong>Novell</strong> <strong>eDirectory</strong>,” on page 55<br />

• Section 8.3.4, “Making PAM Work with <strong>Novell</strong> <strong>eDirectory</strong> After Migration,” on page 55<br />

8.3.1 Prerequisites<br />

The data that is migrated from an OpenLDAP server can have MD5 passwords, which may cause<br />

the applications to break if the appropriate NMAS methods are not installed. The NMAS method,<br />

SimplePassword, needs to be installed for the <strong>Novell</strong> <strong>eDirectory</strong> using the command as below:<br />

nmasinst -addmethod admin_context treename configfile -h<br />

Hostname:port-w password<br />

Example: nmasinst -addmethod admin.novell eDir-Tree /Linux/<strong>eDirectory</strong>/nmas/NmasMethods/<br />

<strong>Novell</strong>/SimplePassword/config.txt -h eDir_srv:524 -w secret<br />

8.3.2 Migrating the OpenLDAP Schema to <strong>eDirectory</strong><br />

To migrate the OpenLDAP schema to <strong>eDirectory</strong>, complete the following steps:<br />

• “Step 1: Perform the Schema Cache Update Operation” on page 54<br />

• “Step 2: Rectify the Error LDIF File to Eliminate the Errors” on page 55<br />

Step 1: Perform the Schema Cache Update Operation<br />

You can write the errors encountered while comparing the schema to an error file using the<br />

following command:<br />

ice -e error_file -C -a -S ldap -s OpenLDAP_server -p Open_LDAP_port - D ldap -s<br />

<strong>eDirectory</strong>_server -p <strong>eDirectory</strong>_port -d <strong>eDirectory</strong>_full_admin_context -w<br />

<strong>eDirectory</strong>_password<br />

For example:<br />

ice -e err.ldf -C -a -SLDAP -s open_srv1 -p open_port1 -DLDAP -s edir_srv2 -p<br />

edir_port2 -d cn=admin,o=novell -w secret<br />

54 <strong>Novell</strong> <strong>eDirectory</strong> <strong>8.8</strong> <strong>Troubleshooting</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!