Results 1 to 4 of 4

Thread: zmprov with php

  1. #1
    meisel is offline Junior Member
    Join Date
    Mar 2011
    Posts
    6
    Rep Power
    4

    Default zmprov with php

    from this post
    i can change user password via command line
    Code:
    zmprov sp meisel@meisel.com adminmeisel
    the point is i want to :
    - change user password for reason "forgotten password" for user
    - or make zmprov run in php

    could it be??

  2. #2
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    I don't understand your question?

    If you're asking if that is possible, yes. You can reset the users password like that.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  3. #3
    meisel is offline Junior Member
    Join Date
    Mar 2011
    Posts
    6
    Rep Power
    4

    Default

    Quote Originally Posted by Krishopper View Post
    I don't understand your question?

    If you're asking if that is possible, yes. You can reset the users password like that.
    thanks for reply
    I basically want to create a system so that users can change their own passwords if the 'forgot password'
    I as an administrator can change their passwords with 'zmprov', is there a system user can to change their user password?

  4. #4
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    Yes, you could use "zmprov sp user@domain.com newpassword" to reset the password for a user through a web page. You just need to make sure that the page can properly call zmprov.

    It might be better to use the SOAP API (search forums and see wiki), since it is a bit faster and you don't have to risk the security of executing powerful commands from a script.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 02-09-2011, 03:02 AM
  2. Unable to script zmprov changes completely
    By todd_dsm in forum Installation
    Replies: 1
    Last Post: 12-16-2009, 07:39 AM
  3. zmprov ca command returns NO_SUCH_DOMAIN
    By admin1 in forum Migration
    Replies: 2
    Last Post: 10-03-2007, 10:32 AM
  4. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  5. zmprov authentication error
    By WhiplashFunk in forum Installation
    Replies: 6
    Last Post: 03-11-2007, 10:22 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
  •