Results 1 to 4 of 4

Thread: List of accounts by Class of service (OSS)

  1. #1
    kevindods is offline Advanced Member
    Join Date
    Oct 2005
    Posts
    181
    Rep Power
    9

    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

  2. #2
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    201
    Rep Power
    5

    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

  3. #3
    kevindods is offline Advanced Member
    Join Date
    Oct 2005
    Posts
    181
    Rep Power
    9

    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

  4. #4
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    201
    Rep Power
    5

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 09:50 AM
  2. One contact list for multiple accounts in Zimbra Desktop?
    By Brad Swanson in forum General Questions
    Replies: 5
    Last Post: 03-04-2010, 12:23 PM
  3. Problem syncing all folders
    By mark_the_chain in forum Error Reports
    Replies: 0
    Last Post: 11-23-2008, 04:59 PM
  4. Replies: 20
    Last Post: 03-18-2008, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •