From mboxrd@z Thu Jan  1 00:00:00 1970
From: James Harkins <jamshark70@gmail.com>
Subject: mobile-org, webdav, can't push (password not accepted)
Date: Sat, 14 Jul 2012 12:05:16 -0400
Message-ID: <87vchqwcoz.wl%jamshark70@dewdrop-world.net>
Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:60531)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jamshark70@gmail.com>) id 1Sq4qT-0001Sp-Gu
	for emacs-orgmode@gnu.org; Sat, 14 Jul 2012 12:05:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jamshark70@gmail.com>) id 1Sq4qS-0006RB-77
	for emacs-orgmode@gnu.org; Sat, 14 Jul 2012 12:05:25 -0400
Received: from mail-gg0-f169.google.com ([209.85.161.169]:54539)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jamshark70@gmail.com>) id 1Sq4qS-0006R4-1Q
	for emacs-orgmode@gnu.org; Sat, 14 Jul 2012 12:05:24 -0400
Received: by ggm4 with SMTP id 4so5011058ggm.0
	for <emacs-orgmode@gnu.org>; Sat, 14 Jul 2012 09:05:22 -0700 (PDT)
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: emacs-orgmode@gnu.org

Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.)

I've set up the webdav server following the instructions here:

http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04

This guide suggests two tests: connecting to webdav at the command line using cadaver, and using "connect to server" in Ubuntu's nautilus (Ubuntu 12.04). In both of those tests, I can authenticate successfully to the server.

In Emacs, I made sure the org files I want to sync are under org-directory, and I think I set up the rest okay according to:

http://orgmode.org/worg/org-faq.html#mobileorg_webdav

Org Mobile Files: Hide Value
[X] org-agenda-files
[ ] org-agenda-text-search-extra-files
   State: STANDARD.
   Files to be staged for MobileOrg. More

Org Mobile Directory: Hide Value /scpc:hjhmbrg@127.0.0.1:org/webdav/
   State: SAVED and set.
   The WebDAV directory where the interaction with the mobile takes place.

Org Mobile Inbox For Pull: Hide Value ~/Documents/mobileorg/from-mobile.org
   State: SAVED and set.

But pushing from orgmode refuses to accept the password. I know I'm typing in the correct password because it works with cadaver and "connect server."

I also tried the staging approach. Same problem. The org files are staged successfully. Then there's a pop-up window for the OpenSSH password, but again, if I type the exact same password I used with "sudo htpasswd," it fails to authenticate.

Note again that it is *not* a general webdav problem -- I can authenticate by other methods, but whatever org is doing to log in, it isn't working.

Any ideas?

hjh


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks