Results 1 to 5 of 5

Thread: where is the code of doing operator for mysql

  1. #1
    antelopeming Guest

    Post where is the code of doing operator for mysql

    now i want to create a new user in zimbra by code , i saw it from com.zimbra.qa.unittest.TestAccount, so i know i can use this method (createAccount()) to create a new account , but where is the place i can know how to add new record on mysql database , like :add new record on mailbox , use jdbc to conn to mysql database , my MSN is :antelopeming@hotmail.com , so your can add me msn or tell me the answer about this question under forums, thanks

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Why not just use a SOAP request in PHP ? this will do it all for you then.

  3. #3
    antelopeming Guest

    Default

    because my boss want me to cut it down right side in soap , he dont' want to use soap , what he want is create a new accout by other way like a jsp , so i have to know more thing about zimbra how to edit the mysql and ldap , thanks ,

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    playing directly with ZCS LDAP is not good, plus every step release change could potentially update the schema. perhaps you should explain that to your boss, as the management overhead and regression testing would be a knightmare.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by antelopeming View Post
    ....how to edit the mysql and ldap , thanks ,
    No, you really, really don't want to do that. You may break your installation by directly modifying mysql or LDAP and if you make any unexpected modifications to those service they won't surviive an upgrade. Use the interface we provide for it.

    Did I mention that you may break you installation doing what you propose? If your mail server is important to your company, use the API for creating users.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  2. [SOLVED] upgrade zimbra 5.0.2 32 bit to 64 bit
    By jwilson in forum Installation
    Replies: 1
    Last Post: 03-11-2008, 12:15 PM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. 4.53: tomcat is not running
    By michaeln in forum Administrators
    Replies: 41
    Last Post: 06-13-2007, 06:42 PM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 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
  •