Results 1 to 2 of 2

Thread: [SOLVED] What does -e option to zmprov getAccount do?

  1. #1
    Join Date
    Jul 2010
    Rep Power

    Default [SOLVED] What does -e option to zmprov getAccount do?

    Can someone point me to a reference that explains how the -e option works to the zmprov getAccount command.

    Without the option, it appears that getAccount returns all the attributes for a user whether it is in their account OR derived from something else such as their COS.

    With the -e option it looks like only the attributes from the person's account is shown.

    I've been looking for verification of this, thanks.

  2. #2
    Join Date
    May 2006
    Rep Power


    Welcome to the forums,

    That's correct (-e shows values set only on that individual account).

    The code is implemented in //depot/main/ZimbraServer/src/java/com/zimbra/cs/account/

     private void doGetAccount(String[] args) throws ServiceException {
            boolean applyDefault = true;
            int acctPos = 1;
            if (args[1].equals("-e")) {
                if (args.length > 1) {
                    applyDefault = false;
                    acctPos = 2;
                } else {
            dumpAccount(lookupAccount(args[acctPos], true, applyDefault), applyDefault, getArgNameSet(args, acctPos+1));
    (Where applyDefault above = the actual defaultCOS or their customCOS settings based on value of zimbraCOSid.)
    Last edited by mmorse; 07-31-2010 at 05:00 AM.

Similar Threads

  1. Unable to script zmprov changes completely
    By todd_dsm in forum Installation
    Replies: 1
    Last Post: 12-16-2009, 06:39 AM
  2. Zimbra 6.0 Rc1 Ubuntu 804lts -Attachments Block Error
    By mshanley in forum Administrators
    Replies: 26
    Last Post: 10-09-2009, 11:13 AM
  3. Domain alias with zmprov
    By Klug in forum Administrators
    Replies: 2
    Last Post: 03-25-2009, 07:49 AM
  4. Scripting zmprov with Ruby (getting stdout/stderr)
    By Chewie71 in forum Developers
    Replies: 6
    Last Post: 07-24-2008, 07:21 AM
  5. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 07:39 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