Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

zmaccts truncates long account names (2021196)

Symptoms

The zmaccts command (located at /opt/zimbra/bin/zmaccts) truncates long account names in its output.

Cause

The default maximum account name length in zmaccts output is 36 characters.

Resolution

To resolve this issue, modify the zmaccts script:

Note: Root access is required to modify this file.

  1. Back up the existing script by running the command:

    cp /opt/zimbra/bin/zmaccts /opt/zimbra/bin/zmaccts2

  2. Open the /opt/zimbra/bin/zmaccts2 script in a text editor, and locate this line:

    format DOMAIN = @<<<<<<<<<<<<<<<<<<<<<< @>>>>>>> @>>>>>>> @>>>>>>> @>>>>>>>>>>>> @>>>>>>>

  3. Change the line to:

    format DOMAIN = @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @>>>>>>> @>>>>>>> @>>>>>>> @>>>>>>>>>>>> @>>>>>>>

    This doubles the number of characters displayed for the account name.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: