Hi,

I'm need to migrate about 8500 accounts from ZCS 5 to ZCS 7.

I've got :

<soap:Fault><soap:faultcode>soap:Server</soap:faultcode><soap:faultstring>number of results exceeded the limit: too many search results returned</soap:faultstring><soap:detail><Error xmlns="urn:zimbra"><Code>account.TOO_MANY_SEARCH_R ESULTS</Code>

Detail :

Code:
[zimbra@lxlyosmc10 ~]$ /opt/zimbra/libexec/zmztozmig -d
[INFO|main:1| 04/12/2013 11:04:16]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 04/12/2013 11:04:16]: Version: 1.2
[INFO|main:1| 04/12/2013 11:04:16]: Processing Domain: mydomain.net
Creating account list....
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
[INFO|main:1| 04/12/2013 11:04:16]: AUTH_REQUEST: <soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><nsg:context soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="0" xmlns:nsg="urn:zimbra"/><name:userAgent soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="0" xmlns:name="ZimbraProvisioningTool"/><type:format soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="0" xmlns:type="xml"/></soap:Header><soap:Body><nsg:AuthRequest xmlns:nsg="urn:zimbraAdmin"><name xmlns="">admin</name><password xmlns="">myzimbrapassword</password><virtualHost xmlns="">lxlyosmc10.mydomain.net(10.69.200.237)</virtualHost></nsg:AuthRequest></soap:Body></soap:Envelope>
[INFO|main:1| 04/12/2013 11:04:16]: Request URL: https://127.0.0.1:7071/service/admin/soap
ZMSSLSocketFactory instantiated
[INFO|main:1| 04/12/2013 11:04:17]: AUTH_RESPONSE: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context xmlns="urn:zimbra"><sessionId type="admin" id="3101122">3101122</sessionId><change token="408899"/></context></soap:Header><soap:Body><AuthResponse xmlns="urn:zimbraAdmin"><authToken>0_b1e285373b348471e0720e757402f9532925b526_69643d33363a38313664303632392d323332392d346137352d383164652d3062343232323236353535323b6578703d31333a313336353736343635373538363b61646d696e3d313a313b747970653d363a7a696d6272613b</authToken><lifetime>7200000</lifetime><a n="zimbraIsDomainAdminAccount">false</a><sessionId type="admin" id="3101122">3101122</sessionId></AuthResponse></soap:Body></soap:Envelope>
[INFO|main:1| 04/12/2013 11:04:18]: *******SOAP Request: : <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context soap:actor="http://schemas.xmlsoap.org/soap/actor/next" soap:mustUnderstand="0" xmlns="urn:zimbra"><userAgent xmlns="ZimbraProvisioningTool"/><type:format xmlns:type="xml"/><sessionId id="3101122"/><authToken xsi:type="xsd:string">0_b1e285373b348471e0720e757402f9532925b526_69643d33363a38313664303632392d323332392d346137352d383164652d3062343232323236353535323b6578703d31333a313336353736343635373538363b61646d696e3d313a313b747970653d363a7a696d6272613b</authToken></context></soap:Header><soap:Body><SearchDirectoryRequest types="accounts" domain="mydomain.net" sortBy="name" sortAscending="1" applyConfig="false" applyCos="false" offset="0" attrs="name" xmlns="urn:zimbraAdmin"><query xmlns="">(objectclass=zimbraAccount)</query></SearchDirectoryRequest></soap:Body></soap:Envelope>
[INFO|main:1| 04/12/2013 11:04:18]: *******SOAP Response: : <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context xmlns="urn:zimbra"><sessionId type="admin" id="3101122">3101122</sessionId><change token="408899"/></context></soap:Header><soap:Body><soap:Fault><soap:faultcode>soap:Server</soap:faultcode><soap:faultstring>number of results exceeded the limit: too many search results returned</soap:faultstring><soap:detail><Error xmlns="urn:zimbra"><Code>account.TOO_MANY_SEARCH_RESULTS</Code><Trace>btpool0-37:1365757458493:753be7aff414b911</Trace></Error></soap:detail></soap:Fault></soap:Body></soap:Envelope>
[SEVERE|main:1| 04/12/2013 11:04:18]: GetMultipleAttributeList Exception: org.apache.axis.message.Text
[SEVERE|main:1| 04/12/2013 11:04:18]: ------
java.lang.ClassCastException: org.apache.axis.message.Text
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:410)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:380)
        at com.zimbra.zcsprov.ZCSAccounts.GetAllAccountsList(ZCSAccounts.java:246)
        at com.zimbra.zcsprov.ZCSACProvision.GetDomainAllAccountList(ZCSACProvision.java:305)
        at com.zimbra.tarformatter.tarFormatter.Init(tarFormatter.java:523)
        at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:765)
------

[SEVERE|main:1| 04/12/2013 11:04:18]: GetMultipleAttributeList Exception: org.apache.axis.message.Text
[SEVERE|main:1| 04/12/2013 11:04:18]: ------
java.lang.ClassCastException: org.apache.axis.message.Text
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:410)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:420)
        at com.zimbra.zcsprov.ZMSoapSession.GetMultipleAttributeList(ZMSoapSession.java:380)
        at com.zimbra.zcsprov.ZCSAccounts.GetAllAccountsList(ZCSAccounts.java:246)
        at com.zimbra.zcsprov.ZCSACProvision.GetDomainAllAccountList(ZCSACProvision.java:305)
        at com.zimbra.tarformatter.tarFormatter.Init(tarFormatter.java:523)
        at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:765)
------

Accounts list created.
[INFO|main:1| 04/12/2013 11:04:18]: Thread count: 2
[INFO|main:1| 04/12/2013 11:04:18]: Request URL: https://lxlyozim31.mydomain.dom:7071/service/admin/soap
[INFO|main:1| 04/12/2013 11:04:18]: ****************SUMMARY**************************
[INFO|main:1| 04/12/2013 11:04:18]: Total Accounts processed         :    0
[INFO|main:1| 04/12/2013 11:04:18]: Successfull Accounts             :    0
[INFO|main:1| 04/12/2013 11:04:18]: Failed accounts                  :    0
[INFO|main:1| 04/12/2013 11:04:18]: Total Migration Time(seconds)    :    0.0
[INFO|main:1| 04/12/2013 11:04:18]: *************************************************

Thanks in advance for your help,

Regards,

Victor