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 03-28-2010, 08:44 AM
Junior Member
 
Posts: 8
Default Find members of a class of service

If I'm in the admin console and want to see just the account that are members of a particular class of service, how would I do that?

Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 03-28-2010, 03:58 PM
Trained Alumni
 
Posts: 70
Default

Quote:
Originally Posted by DGSO View Post
If I'm in the admin console and want to see just the account that are members of a particular class of service, how would I do that?

Thanks in advance!
  1. Get the ID of the COS you are looking for
    a. Click on Class of Service
    b. Click on the class of service you are looking for
    c. Copy the ID that is shown in the blue bar (it'll look like f9abebeb-4119-4f71-9e73-f5fc42424bbc)
  2. Enter the LDAP search
    a. You'll enter something like "(zimbracosid=yourcosid_from_step1c)"in the search bar like (excluding quotes and obviously replacing with your actual COSid )

I know you were asking about the admin console, but if you wanted to do it from the terminal, you could do something like:
  1. Get the ID of the COS you're interested in
    Code:
    for x in $(zmprov gac); do ID=$(zmprov gc $x|grep -i "zimbraid:"|awk ' { print $2 } '); echo "$x $ID"; done
  2. Perform the LDAP search with your COSid
    Code:
    zmprov sa "(zimbracosid=yourCOSId)"

Last edited by alexkelly; 03-28-2010 at 05:05 PM.. Reason: tried to clean up formatting
Reply With Quote
  #3 (permalink)  
Old 03-28-2010, 05:09 PM
Junior Member
 
Posts: 8
Default

Awesome! Works perfectly! Thanks!
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.