Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-24-2009, 04:32 AM
Special Member
 
Posts: 166
Default List of accounts by Class of service (OSS)

I want to check which users will be affected by a change to a class of service, but I cant seem to find a way to do so easily.

Similar to zmprov gaa domain I would like to output a list for the class of service but having search forums and wiki it eludes me!

Anyone have ideas?

Thanks,

K
Reply With Quote
  #2 (permalink)  
Old 09-24-2009, 05:17 AM
Advanced Member
 
Posts: 192
Default

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
Reply With Quote
  #3 (permalink)  
Old 09-24-2009, 07:13 AM
Special Member
 
Posts: 166
Default

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.

K
Reply With Quote
  #4 (permalink)  
Old 09-24-2009, 07:52 AM
Advanced Member
 
Posts: 192
Default

I only just noticed that you can use LDAP queries in the search bar from the Admin console. Try entering:
Quote:
((zimbraCOSId=*))
Replace * with the COS ID your looking for:
Quote:
zmprov gc <CoSname> | grep zimbraId
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.