
Novell eDirectory Management Utilities
167
n
ov
do
cx (e
n)
11
Ju
ly 20
08
dn,sn,objectclass
and objectclass has 4 values, whereas
dn
and
sn
have only 1 value for all
the entries exported,
dn
and
sn
would have 1 column each, whereas objectclass would have 4
columns. If however, we want only 2 values for objectclass to be output to the delimited file,
order.csv
should contain
dn,sn,objectclass,objectclass.
In both cases the attributes are written to the
/tmp/server1.csv
in the first line. In the first case
/tmp/server1.csv
would have
dn,sn,objectclass,objectclass,objectclass,objectclasss
in the first line of
/tmp/server1.csv
and in the second case it would have
dn,sn,objectclass,objectclass.
To prevent the first line to be treated as a sequence of attibutes during a subsequent import, use the -
k option. See
“Performing a Comma-Delimited Import” on page 165
for more information.
Performing a Data Migration between LDAP Servers
To perform a data migration between LDAP servers, combine the LDAP source and LDAP
destination handlers. For example:
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 and the password “password” and
sends it to the LDAP server server2.acme.com at port 389 using the identity cn=admin,c=us and the
password “secret.”
Performing a Schema Import
To perform a schema file import, use a command similar to the following:
ice -S SCH -f $HOME/myfile.sch -D LDAP -s myserver -d cn=admin,o=novell -w passwd
This command line reads schema data from myfile.sch and sends it to the LDAP server myserver
using the identity cn=admin,o=novell and the password “passwd.”
Performing a LOAD File Import
To perform a LOAD file import, use a command similar to the following:
ice -S LOAD -f attrs -D LDIF -f new.ldf
In this example, the contents of the attribute file attrs is as follows:
#=====================================================================
# DirLoad 1.00
#=====================================================================
!COUNTER=300
!OBJECTCOUNT=2
#-----------------------------------------------------------------------
Содержание EDIRECTORY 8.8 SP3
Страница 4: ...novdocx en 11 July 2008...
Страница 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Страница 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...