Mgolfieri-Zmaccts trunks long account names

Revision as of 14:42, 8 December 2011 by Mgolfieri (talk | contribs) (Created page with "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/zimbr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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