Search found 4 matches

by pisavi
Wed May 31, 2017 11:56 am
Forum: Developers
Topic: Zimbra API error
Replies: 6
Views: 15884

Re: Zimbra API error

For testing purpose you can try my own zimbra API library. https://gist.github.com/iomarmochtar/b9f03a05937d46e8535b673133730ba7 just install python-requests module then modify in the bottom of file as your environment then use gaa method for fetch all users. eg: zmprov = ZMPROV( username='admin', ...
by pisavi
Mon May 29, 2017 7:48 am
Forum: Developers
Topic: Zimbra API error
Replies: 6
Views: 15884

Re: Zimbra API error

you may change max search result configuration if you have more than 5000 account. run this command in (each) mailbox server, for instance allow max to 10000 su - zimbra zmlocalconfig -e zimbra_directory_max_search_result=10000 zmcontrol restart the better way to fetch list of user is through ldap,...
by pisavi
Wed May 17, 2017 2:58 pm
Forum: Developers
Topic: Zimbra API error
Replies: 6
Views: 15884

Re: Zimbra API error

There's a chance that the code wasn't updated to use "zmprov -l gaa" vs "zmprov gaa". I forget which version of ZCS is was, but there was a change where -l was required for gaa to work. Hi, thanks for your answer. Unfortunately, searching trough the files, I can see that the wra...
by pisavi
Tue May 16, 2017 2:31 pm
Forum: Developers
Topic: Zimbra API error
Replies: 6
Views: 15884

Zimbra API error

I'm using https://github.com/zimbra-api/zimbra-api as a php api wrapper, following these rules https://files.zimbra.com/docs/soap_api/8.7.0/api-reference/index.html . Some of the call works (getAccountInfo, getDomainInfo) but others don't, like GetAllAccounts. Here's that part of code: <?php $mUsern...