I use the following commands to add a child account to a parent account:
zmprov ma primary@domain.com +zimbraChildAccount {zimbraIdSecondary}
zmprov ma primary@domain.com +zimbraPrefChildVisibleAccount {zimbraIdSecondary}

Whenever I do this the Parent account is able to share the Child's resources.

But, when the user who receives the share email notification clicks the "Accept" button the following error shows up and the share is not mounted.
Code:
An unknown error has occurred. msg: invalid request: invalid long value 'da33e345-5544-3b23-3b23-23d78a668e43:10' for attribute: rid
code: service.INVALID_REQUEST
method: CreateMountpointRequest
detail: soap:Sender
trace: btpool0-9131:1228335855209:921f960683f0a060
If I resend the share email notification directly from the Child account then the user can click "Accept" and the share is mounted.

I compared the two share email notifications and I noticed that the "link id" in the bad share email notification includes the Child account's ID number which seems to be causing the error.


Is there a way to fix this or is there a bug created for this?


The following are snippets from the good and bad share email notifications. I changed the account id's in case somehow they represented sensitive information.

Good share email notification:
Code:
<share xmlns="urn:zimbraShare" version="0.1" action="new" >
  <grantee id="da33e345-7733-3b54-3b54-23d78a554e34" email="test2@mydomain.com" name="test2@mydomain.com" />
  <grantor id="da33e345-5544-3b23-3b23-23d78a668e43" email="test@mydomain.com" name="test" />
  <link id="10" name="Calendar" view="appointment" perm="r" />
  <notes></notes>
</share>
Bad share email notification:
Code:
<share xmlns="urn:zimbraShare" version="0.1" action="new" >
  <grantee id="da33e345-7733-3b54-3b54-23d78a554e34" email="test2@mydomain.com" name="test2@mydomain.com" />
  <grantor id="da33e345-5544-3b23-3b23-23d78a668e43" email="test@mydomain.com" name="test" />
  <link id="da33e345-5544-3b23-3b23-23d78a668e43:10" name="Calendar" view="appointment" perm="r" />
  <notes></notes>
</share>