Skip Headers

Oracle® Internet Directory Administrator's Guide
10g (9.0.4)

Part Number B12118-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to beginning of chapter Go to next page

Globalization Support in the Directory, 6 of 7


Tool Example

ldapbind

ldapbind -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapsearch

ldapsearch -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapadd

ldapadd -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapaddmt

ldapaddmt -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapmodify

ldapmodify -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapmodifymt

ldapmodifymt -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapdelete

ldapdelete -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password

ldapcompare

ldapcompare -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password
-b "ou=Construction,ou=Manufacturing,o=acme,c=us" -a title -v manager

ldapmoddn

ldapmoddn -h my_host -p 389 -E ".ZHS16GBK"
-D "o=acme,c=us" -w my_password -b "cn=Franklin Badlwins,ou=Construction,ou=Manufacturing,c=us,o=acme" -N "ou=Contracting,ou=Manufacturing,o=acme,c=us" -r

Setting NLS_LANG in the Client Environment

If the output required by the client is UTF-8, then you do not need to set the NLS_LANG environment variable. In this case, the NLS_LANG environment variable defaults to .AL32UTF8, and both the input path from client to server, and the output path from server to client, do not require any character set conversion.

If the output required by the client is not UTF-8, then you must set the NLS_LANG environment variable. This ensures that proper character set conversion can occur from the UTF-8 character set to the character set required by the client.

For example, if the NLS_LANG environment variable is set to the simplified Chinese character set, then the command-line tool displays output in that character set. Otherwise the output defaults to the UTF-8 character set.


Note:

If you are using Windows NT, then, to use the command-line tools after server startup, you must reset NLS_LANG in an MS-DOS window. Set it to the character set that matches the code page of your MS-DOS session. UTF-8 cannot be used.See the Oracle9i Database Installation Guide for Windows for more information on which character set to use for command-line tools in an MS-DOS session.

If you are using a pre-installed Oracle9i release 9.2 database with Oracle Internet Directory, then you must also set the database character set to UTF-8. See the Oracle9i Database Globalization Support Guide in the Oracle Database Documentation Library and Oracle9i Database Installation Guide for Windows for more information.

Be careful not to change the NLS_LANG parameter value in the registry.



Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1999, 2003 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index