Mgolfieri-Zmaccts trunks long account names

zmaccts by default is limited to 36 characters. Should you have any account longer than that, you need to make another copy of the script:

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

and then modify /opt/zimbra/bin/zmaccts2 so that:

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

becomes:

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

This will double the characters displayed for the account name, the above bumps the length to 72. You need to be root to modify this file. Needless to say, this applies to any of the above column templates.

Jump to: navigation, search