Hi!
I wrote 'zmgroup', a python script to handle this. You can download it from
Fichiers WHM (user 'invite' password 'invite').
There are still some improvements to do, like reading the LDAP password automatically from the zmlocalconfig, but otherwise it works just fine. Many people use it for reporting.
Test it, you can modify it and then launch it by cron and do group updates automatically. The documentation is in the code or with '--help'.
I leaving on a trip for 10 days, so I will not be very available in the next few days, but don't hesitate to drop me some e-mails if you have any question.
Carlos
carlos at whitehatmail.fr