zmprov getRights for ALL users

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
zimbrat0r
Posts: 3
Joined: Tue Aug 25, 2020 7:53 am

zmprov getRights for ALL users

Post by zimbrat0r »

Hi all !

I'm trying to export the send as like permissions for all of the mailboxes.

I tried the following but the include group flag is missing and i tried many different maners to do it , none of them is working :(
zmprov gg -g all @by=id
ERROR: service.INVALID_REQUEST (invalid request: invalid value for the include group flag, must be 0 or 1)



By Example:
[zimbra@mailsrv tmp]$ zmprov gg -g 1
ERROR: service.PARSE_ERROR (parse error: invalid grantee type: 1)
[zimbra@mailsrv tmp]$ zmprov gg -g true all @by=id
ERROR: service.PARSE_ERROR (parse error: invalid grantee type: true)
[zimbra@mailsrv tmp]$ zmprov gg -g all 0 @by=id
ERROR: service.INVALID_REQUEST (invalid request: missing required attribute: by)
[zimbra@mailsrv tmp]$ zmprov gg -g all 0 @by=id
ERROR: service.INVALID_REQUEST (invalid request: missing required attribute: by)
[zimbra@mailsrv tmp]$ zmprov gg -g all 1 @by=id
ERROR: service.INVALID_REQUEST (invalid request: missing required attribute: by)
[zimbra@mailsrv tmp]$ zmprov gg -g true all @by=idc^C

If anybody can help me, it would be very graceful :)
Post Reply