Laird,
I don't know if zmprov alone can do this, but ldapsearch can.
Here's a guess of what you're looking for (not well tested):
[zimbra@ldap /]$ ldapsearch -LLL -x -h zldap.example.org -D cn=config -w $ldap_root_password \
-b '' '(&(!(zimbraLastLogonTimestamp=*))(description=Sta ff)(!(zimbraMailForwardingAddress=*@*))(&(objectCl ass=zimbraAccount)))'
HTH
-Jessie
Last edited by Jesster; 12-02-2008 at 08:45 PM..
Reason: forum is showing a space in the word Staff and objectClass - not sure why!
|