Auto mount a folder

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

Auto mount a folder

Post by 13546dalmate »

Hi, I have a question:

My boss want to auto mount every folder he created. Every one in my company don't need to accept share mail any more.

But when I code this function and run it, I received this soap document:

{"Body":{"Fault":{"Code":{"Value":"soap:Sender"},"Reason":{"Text":"permission denied: you do not have

sufficient permissions"},"Detail":{"Error":{"Code":"service.PERM_DENIED","Trace":"btpool0-25:1245144899620

:ef914d2550d779d5","_jsns":"urn:zimbra"}}}},"Header":{"context":{"sessionId":[{"_content":"1473","id"

:"1473"}],"change":{"acct":"548438cc-8a53-4669-8f42-7ee36ccf410e","token":110},"notify":[{"modified"

:{"folder":[{"acl":{"grant":[{"d":"test1@ducla.zimbra.com","gt":"usr","perm":"r","zid":"548438cc-8a53-4669-8f42-7ee36c
cf410e"

}]},"f":"i","id":"265"}]},"seq":2}],"_jsns":"urn:zimbra"}},"_jsns":"urn:zimbraSoap

this is my request I created to request server mount his folder:

http://www.w3.org/2003/05/soap-envelope"> xmlns="urn

:zimbra">

test1@ducla.zimbra

.com0_50ec4dca3076d317be0f9c11c7cb41f6dd2d

c75a_69643d33363a37373532383537332d623433372d346235302d396330322d6132393535663230313566633b
6578703d3

1333a313234353134393732343833333b6169643d33363a36393333323136312d656131612d346566392d393534
382d3261646533653863343965373b747970653d363a7a696d6272613b


xmlns="" l="1" name="hello" zid="77528573-b437-4b50-9c02-a2955f2015fc" view="message"
rid="270"/>
>

and notice: this request is done in test2-grantor, and grantee is test1
Post Reply