Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-03-2008, 11:26 PM
Member
 
Posts: 10
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
Reply With Quote
  #2 (permalink)  
Old 06-05-2008, 12:21 AM
Moderator
 
Posts: 7,928
Default

Why not just use a SOAP request in PHP ? this will do it all for you then.
__________________
Reply With Quote
  #3 (permalink)  
Old 06-05-2008, 12:28 AM
Member
 
Posts: 10
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 ,
Reply With Quote
  #4 (permalink)  
Old 06-05-2008, 12:37 AM
Moderator
 
Posts: 7,928
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.
__________________
Reply With Quote
  #5 (permalink)  
Old 06-05-2008, 12:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.