Results 1 to 3 of 3

Thread: Find members of a class of service

  1. #1
    DGSO is offline Junior Member
    Join Date
    Jul 2009
    Location
    Lawrence, KS
    Posts
    8
    Rep Power
    6

    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!

  2. #2
    alexkelly is offline Trained Alumni
    Join Date
    Oct 2007
    Location
    Columbus, OH
    Posts
    70
    Rep Power
    7

    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

  3. #3
    DGSO is offline Junior Member
    Join Date
    Jul 2009
    Location
    Lawrence, KS
    Posts
    8
    Rep Power
    6

    Default

    Awesome! Works perfectly! Thanks!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. List of accounts by Class of service (OSS)
    By kevindods in forum Administrators
    Replies: 3
    Last Post: 09-24-2009, 07:52 AM
  2. Replies: 0
    Last Post: 08-19-2008, 02:48 AM
  3. 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
  •