Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
Use ldapsearch from the cli. But be aware that a CoS can be defined both on domain level and on account level and that they're not mutually exclusive. (e.g. Domain "example.com" can have CoS "Example", but there may be accounts in domain example.com which have a different CoS.)
Domain CoS is defined by: zimbraDomainDefaultCOSId
Account CoS is defined by: zimbraCOSId
Thanks for that it was a useful pointer and problem ;-)
When I use an ldap search it seems some of the zimbraDomainDefaultCOSId are in plain text and others are in some form of hex/hash of it. Not sure where that comes from! I dumped the entire db to plain text output and wandered through some making sense of it.
The domain tie with the COS doesnt bother me much as I don't use COS for domain based controls but I think I will need to script some wider reports and a frontend for some of the admin needs as I keep finding things that although are knowable they are easily found!
Thanks again for the pointer, I expected this to be one of those simple zmprov CLI tasks. Might use the domain and desc field to gather some more context for results.