Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2009, 04:23 AM
Special Member
 
Posts: 164
Default Auto mount a folder

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:
HTML Code:
{"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:
HTML Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn
:zimbra"><userAgent xmlns="" name="ZimbraWebClient - FF3.0 (Win)" version="5.0.13_GA_2791.UBUNTU8"/> <sessionId xmlns="" id="1490"/><notify xmlns="" seq="2"/><account xmlns="" by="name">test1@ducla.zimbra
.com</account><format xmlns="" type="js"/><authToken xmlns="">0_50ec4dca3076d317be0f9c11c7cb41f6dd2d
c75a_69643d33363a37373532383537332d623433372d346235302d396330322d6132393535663230313566633b

6578703d3
1333a313234353134393732343833333b6169643d33363a36393333323136312d656131612d346566392d393534

382d3261646533653863343965373b747970653d363a7a696d6272613b
</authToken></context></soap:Header><soap:Body><CreateMountpointRequest xmlns="urn:zimbraMail"><link
 xmlns="" l="1" name="hello" zid="77528573-b437-4b50-9c02-a2955f2015fc" view="message" 

rid="270"/></CreateMountpointRequest
></soap:Body></soap:Envelope>
and notice: this request is done in test2-grantor, and grantee is test1
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0