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.

Option 3:<br />

Add cn to the definition of Top in <strong>eDirectory</strong>, which causes a potential naming attribute for all<br />

objectClasses.<br />

There are two ways of adding cn to Top:<br />

• Method 1:<br />

Create a file as shown below and name it topsch.ldf.<br />

version : 1<br />

dn:cn=schema<br />

changetype :modify<br />

delete : objectclasses<br />

objectclasses : ( 2.5.6.0 NAME ’top’ STRUCTURAL )<br />

-<br />

add:objectclasses<br />

objectclasses : (2.5.6.0 NAME ’top’ STRUCTURAL MAY cn)<br />

Use the following <strong>Novell</strong> Import Conversion Export command line:<br />

ice -SLDIF -f LDIF_file_name -DLDAP -s <strong>eDirectory</strong>_server -p<br />

<strong>eDirectory</strong>_port -d <strong>eDirectory</strong>_Admin_DN -w <strong>eDirectory</strong>_password<br />

For example:<br />

ice -SLDIF -f topsch.ldf -DLDAP -s edir_srv2 -p edir_port2 -d<br />

cn=admin,o=org -w pwd1<br />

• Method 2:<br />

1. In <strong>Novell</strong> iManager, click the Roles and Tasks button .<br />

2. Click Schema > Add Attribute.<br />

3. In the Available Classes list, select Top, then click OK.<br />

4. Double-click CN in the Available Optional Attributes list.<br />

5. Click OK.<br />

• Some objectClass definitions contain userPassword as part of their mandatory attributes list.<br />

Adding such objectClasses to <strong>eDirectory</strong> cause the following error:<br />

LDAP error : 16 (No such attribute)<br />

To resolve this error, modify the objectClass definition to inherit the new objectClass from<br />

ndsLoginProperties and remove the userPassword attribute from the mandatory attribute list.<br />

For example:<br />

An objectClass containing userPassword in the mandatory attributes list:<br />

version : 1<br />

dn: cn=schemaz<br />

changetype: modify<br />

add: objectClasses<br />

objectClasses: ( 0.9.2342.19200300.100.4.19 NAME ’simpleSecurityObject’<br />

DESC ’<br />

Standard LDAP objectClass’ SUP top STRUCTURAL MUST userPassword )<br />

novdocx (en) 22 June 2009<br />

Migrating to <strong>Novell</strong> <strong>eDirectory</strong> 61

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

Saved successfully!

Ooh no, something went wrong!