Red Hat DIRECTORY SERVER 7.1 SP7 - S Guía para resolver problemas Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 120
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
Migrating to Novell eDirectory 61
-
add:objectclasses
objectclasses : (2.5.6.0 NAME ’top’ STRUCTURAL MAY cn)
Use the following Novell Import Conversion Export command line:
ice -SLDIF -f LDIF_file_name -DLDAP -s eDirectory_server -p eDirectory_port
-d eDirectory_Admin_DN -w eDirectory_password
For example:
ice -SLDIF -f topsch.ldf -DLDAP -s edir_srv2 -p edir_port2 -d
cn=admin,o=org -w pwd1
Method 2:
1. In Novell iManager, click the Roles and Tasks button .
2. Click Schema > Add Attribute.
3. In the Available Classes list, select Top, then click OK.
4. Double-click CN in the Available Optional Attributes list.
5. Click OK.
Some objectClass definitions contain
userPassword
as part of their mandatory attributes list.
Adding such objectClasses to eDirectory cause the following error:
LDAP error : 16 (No such attribute)
To resolve this error, modify the objectClass definition to inherit the new objectClass from
ndsLoginProperties
and remove the
userPassword
attribute from the mandatory attribute
list.
For example:
An objectClass containing
userPassword
in the mandatory attributes list:
version : 1
dn: cn=schemaz
changetype: modify
add: objectClasses
objectClasses: ( 0.9.2342.19200300.100.4.19 NAME ’simpleSecurityObject’ DESC ’
Standard LDAP objectClass’ SUP top STRUCTURAL MUST userPassword )
Needs to be modified as following (notice the change to the last line):
version : 1
dn: cn=schema
changetype: modify
add: objectClasses
objectClasses: ( 0.9.2342.19200300.100.4.19 NAME ’simpleSecurityObject’ DESC ’
Standard LDAP objectClass’ SUP (ndsLoginProperties $ top) STRUCTURAL )
10.1.3 Step 3: Import the LDIF File
Use the following Novell Import Conversion Export command to import the modified schema
compare LDIF file (
err.ldf
in our example):
ice -e error_file -SLDIF -f modified_LDIF_file -DLDAP -s eDirectory_server -p
eDirectory_port -d eDirectory_Admin_DN -w eDirectory_password
For example:
ice -e errors.ldf -SLDIF -f err.ldf -DLDAP -s edir_srv2 -p edir_port2 -d
cn=admin,o=org -w pwd1
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 119 120

Comentarios a estos manuales

Sin comentarios