Renames an NSS storage pool on the server (and optionally renames the corresponding eDirectory pool object).
<renamePool> <poolName/> <newPoolName/> <newNDSName/> <dontRenameNDSObject/> </renamePool>
<renamePool> <result value=" "> <description/> </result> </renamePool>
Specifies the current name of the pool.
Specifies the new name the pool is known by on the server.
(Required unless dontRenameNDSObject is specified) Specifies the new name to assign to the pool's eDirectory object. If NULL is passed, a default name is generated by prepending the server name and adding “_POOL” to the end of the name.
Specifies not to rename the eDirectory object for the pool. If this element is used, newNDSName is ignored.
Specifies an error value or 0 (for no error).
Specifies a text description of the result.
The following example renames MYPOOL to YOURPOOL and also renames the eDirectory pool object to the new default name:
<nssRequest> <pool> <renamePool> <poolName>MYPOOL</poolName> <newPoolName>YOURPOOL</newPoolName> <newNDSName> </renamePool> </pool> </nssRequest>
A nssReply packet to the rename pool command follows:
<nssReply> <pool> <renamePool> <result value="0"> <description/>success</description> </result> </renamePool> </pool> <result value="0"> <description/>zOK</description> </result> </nssReply>