UPDATE ALTERNATE SERVER FOR LDAP DATABASE command
The 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
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.