It would probably be a good idea to upgrade to a later version of ZCS. There have been so many improvements since 5.0.9. However, if that's not an option, you should be able to limit the amount of time this takes by doing a batch zmprov command. Something like:
Originally Posted by Jay2k1
this would produce output of something like this:
zmprov gaa > /tmp/accounts.txt
for account in `cat /tmp/accounts.txt`
echo "ga $account zimbraAccountStatus" >> /tmp/zmprov.txt
zmprov < /tmp/zmprov.txt | grep -B1 locked
for each account that is locked.