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

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 Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-2007, 06:43 PM
Loyal Member
 
Posts: 89
Question WebDAV and Briefcase

Hello. I've heard that you can mount briefcase shares in WebDAV, for example, KevinH said so in a comment on the blog. If this is the case, then how does one go about mounting it via WebDAV? I've used both Windows' and Ubuntu's native implementations, and get errors every time I try to mount the share. Could someone please give a simple step-by-step to do this? Assume I'm quite stupid; you won't offend me, I promise . It would make my life much easier, and I could quit using my W2K3 server as a file server.
Reply With Quote
  #2 (permalink)  
Old 08-31-2007, 09:36 AM
Zimbra Employee
 
Posts: 4,792
Default

The base URL for WebDav into your mailbox is:

https://SERVER/service/dav/USER

This will prompt you for your username/password to authenticate. It will give you back a list of folders including briefcase and then some *special* folders. Like 'attachments' which will let you browse your entire mailbox's attachments by date, sender or type (image, audio, etc) See the screenshot below for examples. Please be aware this it not very optimized so some larger folders may timeout or take a long time to view. Also if you drag and drop a large number of files from your desktop it may take sometime for that to transfer as we index each one as they are added.
Attached Images
File Type: jpg Picture 3.jpg (42.7 KB, 3051 views)
File Type: png Picture 4.png (41.7 KB, 3019 views)
__________________
Bugzilla - Wiki - Downloads - Offline Client

Last edited by KevinH; 08-31-2007 at 09:41 AM..
Reply With Quote
  #3 (permalink)  
Old 08-31-2007, 10:36 AM
Loyal Member
 
Posts: 89
Default Almost there...

Cool. I was hoping that you would answer this; I almost sent you a PM, but I figured that everyone could benefit from having this question answered. I think I've almost got it. Tell me if I've got the syntax right. I'm trying to log in like this (assuming that mail.myzimbraserver.com and dan@myzimbraserver.com are my server and E-mail address, respectively): http://mail.myzimbraserver.com/servi...mbraserver.com

I'm not using https (Should I be?) and I'm assuming that the word service in your example was not intended to be a variable. When I get prompted for a username and password, I enter dan@myzimbraserver.com as the username, and also enter my password. It doesn't work. What am I missing?
Reply With Quote
  #4 (permalink)  
Old 08-31-2007, 11:02 AM
Zimbra Employee
 
Posts: 4,792
Default

Try just

http://mail.myzimbraserver.com/service/dav/dan
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 08-31-2007, 11:29 AM
Loyal Member
 
Posts: 89
Default The plot thickens...

Ah-ha! I tried a few alternate clients, but when I try to open the folder in Firefox, I get a good, real error message. It seems that my first try at a login was correct, but that there was a server error that I wasn't seeing. It happens when I just leave off a username (just /dav/), and when I put my full user name in the URL. (If I just try "dan" I get a 404). In either of these situations, I get a "500" Error, with lots of detail from my web browser. The code is as follows:
Code:
HTTP ERROR: 500

INTERNAL_SERVER_ERROR

RequestURI=/service/dav
Caused by:

java.lang.NullPointerException
	at com.zimbra.cs.dav.DavContext.(DavContext.java:70)
	at com.zimbra.cs.dav.service.DavServlet.service(DavServlet.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
	at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:313)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Powered by Jetty://
Is this a bug? I'm running 5.0 Beta 3
Reply With Quote
  #6 (permalink)  
Old 08-31-2007, 11:43 AM
Zimbra Employee
 
Posts: 4,792
Default

Do you have more than one domain? If so you'll need the full email address and may need to urlencode the @ sign. The exception stack trace below is a bug as we should better check the inputs and give a better error message.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 08-31-2007, 11:51 AM
Loyal Member
 
Posts: 89
Default URLencode

I do have more than one domain - I have the one at mail.myzimbraserver.com and I have myzimbraserver.com . I can't log into Zimbra by using "dan"; I have to use dan@myzimbraserver.com. How do I URLencode my username?
Reply With Quote
  #8 (permalink)  
Old 09-05-2007, 05:35 PM
Loyal Member
 
Posts: 89
Default Polite Bump

Just seeing if there is an answer for this...
Reply With Quote
  #9 (permalink)  
Old 09-05-2007, 07:04 PM
Zimbra Employee
 
Posts: 4,792
Default

It's %40 for @ sign so like this:


https://SERVER/service/dav/USER%40DOMAIN
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #10 (permalink)  
Old 09-10-2007, 12:41 PM
Loyal Member
 
Posts: 98
Default same here

I can't access via "windows explorer" or konqueror (it stands loading and nothing is shown), but it works well with 'cadaver' client..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

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

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.