Results 1 to 2 of 2

Thread: attribute question

  1. #1
    Join Date
    Apr 2006
    Rep Power

    Question attribute question


    I am trying to send in a CreateAccountRequest SOAP call to Zimbra API. If I just send in <name> and <password> elements. Zimbra create new account successfully. But when I try to add custom attributes to the xml, Zimbra returns http 500.

    Here is the XML I am using :

    <soap:Envelope xmlns:soap="">
    <context xmlns="urn:zimbra">
    <CreateAccountRequest xmlns="urn:zimbraAdmin">
    <a n="firstname">test</a>
    <a n="lastname">test</a>

    Any suggestions would be most welcome.


  2. #2
    Join Date
    Aug 2005
    San Mateo, CA
    Rep Power


    You need to use valid LDAP attr names. The list is in the zimbraAccount object class. You can find it here.

    For the two you tried it should be gn (Givename) and sn (Sur Name)
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Similar Threads

  1. Zimbra not listening on port 7071
    By carllerche in forum Installation
    Replies: 10
    Last Post: 04-03-2007, 09:23 PM
  2. Multiple Domains Question
    By kristiaan_d in forum Administrators
    Replies: 2
    Last Post: 03-14-2007, 04:38 AM
  3. attribute question
    By rafrio in forum Developers
    Replies: 0
    Last Post: 11-02-2006, 02:39 PM
  4. Replies: 6
    Last Post: 09-01-2006, 09:28 AM
  5. Replies: 1
    Last Post: 11-23-2005, 12:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts