DB2 Version 9.7 for Linux, UNIX, and Windows

UPDATE ALTERNATE SERVER FOR LDAP DATABASE command

Updates the alternate server for a database in Lightweight Directory Access Protocol (LDAP).

Authorization

Read/write access to the LDAP server.

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-UPDATE ALTERNATE SERVER FOR LDAP--+-DATABASE-+--database-alias-->
                                     '-DB-------'                   

>--USING--+-NODE--node-----+------------------------------------>
          '-GWNODE--gwnode-'   

>--+----------------------------------------+------------------><
   '-USER--username--+--------------------+-'   
                     '-PASSWORD--password-'     

Command parameters

DATABASE database-alias
Specifies the alias of the database to be updated.
NODE node
Specifies the node name where the alternate server for the database resides.
GWNODE gwnode
Specifies the node name where the alternate gateway for the database resides.
USER username
Specifies the user's LDAP distinguished name (DN). The LDAP user DN must have sufficient authority to create the object in the LDAP directory. If the user's LDAP DN is not specified, the credentials of the current logon user will be used.

If the user's LDAP DN and password have been specified using db2ldcfg, the user name and password do not have to be specified here.

PASSWORD password
Account password.

If the user's LDAP DN and password have been specified using db2ldcfg, the user name and password do not have to be specified here.