After having solved the problem regarding finding out if a user has a signature, I'm now looking for a way to find out if a user defined shares/grants, WITHOUT having to call "zmprov gsi" for each and every user.

As mentioned in this other post, I've got files containing the output of "zmprov -l ga $mailbox" for every user. In those files (or maybe in LDAP? in MySQL?) are there "easily" parseable hints which allow me to generate a list of accounts which have shares defined?

Basically, I'd like to call "zmprov" only as often as absolutely required. Not for every user, if ~99% of the calls don't return anything…

Any ideas?


PS: ZCS NE 6.0.15