Results 1 to 8 of 8

Thread: Built-in Remote Access to zmprov

  1. #1
    Join Date
    Oct 2005
    Posts
    52
    Rep Power
    10

    Default Built-in Remote Access to zmprov

    I am wondering if zimbra has built-in support for allowing the zmprov utility to be access from a remote server, e.g., via SOAP, so that zm provisioning can be tied to some external billing software?

  2. #2
    Join Date
    Sep 2005
    Posts
    42
    Rep Power
    10

    Default

    i'm currently in the process of creating a PHP class that will allow you to provision accounts via that, instead of manually provisioning them using the administration panel or via ssh/physical terminal access to your server.

    this class is being used by another member to create accounts via a registration page, so that he doesn't have to manually provision accounts.

    if you want the source code to this class when i'm done (which should be soon), please pm me or post a reply. i'll no doubt make it publically available on the zimbra forums.

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    We have a SOAP api for all the admin commands. You can see the doc for this in the source build under ZimbraServer/docs/soapadmin.txt

  4. #4
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    10

    Default

    We also plan to update zmprov in the future so it uses SOAP instead of directly updating LDAP, at which point you could run zmprov itself from a remote host.

    roland

  5. #5
    Join Date
    Sep 2005
    Posts
    42
    Rep Power
    10

    Default

    yeh, thats what im using in the php class - SOAP calls to create accounts. when finished i'll post it on the forum, and if zimbra wants they can put it on their site (the only functionality available in the first version will be to create accounts. i'll add more as i see fit)

  6. #6
    Join Date
    Dec 2005
    Posts
    74
    Rep Power
    10

    Default Perl with soap api

    Do you have any example of using perl to communicate to zimbra through your soap api? Or any idea how to do this?

    Thanks.

  7. #7
    Join Date
    Sep 2005
    Posts
    42
    Rep Power
    10

    Default

    see http://www.zimbra.com/forums/showpos...69&postcount=3 for examples of the soap calls required to create/provision an account.

    if you want to call this from perl you may want to use a soap library for perl such as: http://www.xav.com/perl/site/lib/SOAP.html (i'm no perl developer, i just pulled that from google - i have never used it)

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default perl and soap

    There are some scripts in /opt/zimbra/bin that use soap in simple ways, that will show you how to get an auth token, etc. I think that purgemessage does this, for instance.

    grep -i soap in /opt/zimbra/bin should find something.

Similar Threads

  1. Access Zimbra on port 443 via apache
    By CatiaL in forum Administrators
    Replies: 1
    Last Post: 06-15-2007, 03:11 AM
  2. About Forbidden Remote Access
    By hudson in forum Administrators
    Replies: 0
    Last Post: 06-01-2007, 09:27 AM
  3. Replies: 9
    Last Post: 04-14-2007, 09:31 AM
  4. Replies: 5
    Last Post: 03-01-2007, 03:20 AM
  5. remote access through Cisco 3005 fails
    By zelkova in forum Administrators
    Replies: 0
    Last Post: 11-21-2006, 11:55 AM

Posting Permissions

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