createDomain

Creates a new CIFS PDC domain in the eDirectory tree and designates the specified server as the starting PDC.

Request

<createDomain>
   <server/>
   <context/>
   <domainName/>
   <comment/>
   <unp/>
   <user/>
   <password/>
</createDomain>

Reply

<createDomain>             
   <result value=" ">
      <description/>
   </result>
</createDomain>

Elements

server

(Optional) Specifies the distinguished name of the eDirectory server object (must be a fully distinguished name with a leading dot before the object name and a trailing dot after the tree name or an identifier of the object within the current tree). The default is the eDirectory object for the physical server.

context

Specifies the eDirectory name (in typeless, distinguished-name format) of the tree context where the domain object is to be created.

domainName

Specifies the name of the new domain.

comment

(Optional) Specifies any descriptions or text strings relevant to the domain.

unp

(Optional) Specifies the NMAS-encrypted username and password that has rights to perform the operation at the specified context.

user

(Optional) Specifies the clear-text username of a user that has rights to perform the operation. The user element is present only if the unp element is not specified.

password

(Optional) Specifies the clear-text password of a user that has rights to perform the operation. The password element is present only if the unp element is not specified.

result

Specifies a zError or eDirectory value or 0 (for no error).

description

Specifies a text description of the result.