View Single Post
  #8 (permalink)  
Old 01-13-2006, 06:54 PM
tim brennan tim brennan is offline
Zimbra Employee
 
Posts: 93
Default

Take a look at ZimbraServer/docs/soapadmin.txt, you'll see:

Code:
<CreateAccountRequest>
  <name>...</name>
  <password>...</password>*
  <a n="attr-name>...</a>+
</CreateAccountRequest>

<CreateAccountResponse>
  <account name="{name}" id="{id}">
    <a n="...">...</a>+
  </account>  
</CreateAccountResponse>

Notes:
  accounts without passwords can't be logged into
  name must include domain (uid@name), and domain specified in name must exist
  default value for zimbraAccountStatus is "active"  

Access: domain admin sufficient
From that point it should be relatively easy to modify one of the existing perl scripts -- I'd suggest starting with getacct.pl since it is already an admin command (the admin namespace is different and the login params are slightly different than non-admin)
Reply With Quote