How to use zmprov to request a filtered list of users, filtered by what they have in the "description" field.
The CLI help suggests it has something to do with the "sa" command?
How to use zmprov to request a filtered list of users, filtered by what they have in the "description" field.
The CLI help suggests it has something to do with the "sa" command?
Last edited by Laird; 07-12-2010 at 09:49 AM.
try zmprov sa description=Faculty
zmprov sa zimbraAccountStatus=closed;description=Faculty
Hmm sorry when I tested that I thought it was working but it just happened that my test query would return the same results as just the first one.
The syntax of this command is:
If that is any help.Code:searchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [domain {domain}]
Yeah I've tried a few different things and no go. maybe a dev will chime in.
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
Try to Ask Questions The Smart Way -- you'll get better answers.
Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
There are currently 1 users browsing this thread. (0 members and 1 guests)