Imported from the Apple Support Forums via the Wayback Machine 🔗
Using Snow Leopard 10.6.2 on my iMac, mount_webdav does not ask for username or password or obtain these from the keychain, or return any information whatsoever. It does return exit code 80.
After adding -i, mount_webdav does prompt for the username and password and works, but this is annoying when the same server is mounted many times.
mount_webdav worked fine on the same machine with Leopard, and on my macbook with Snow Leopard.
Imported from the Apple Support Forums via the Wayback Machine 🔗
Ditto; for me I was able to see why. mount_webdav was padding my userid with an extra character thereby causing me to receive an UNAUTHORIZED from idisk.mac.com.
To work around this I put together an 'expect' script that spawns mount_webdav with the -i arg and spawns security (keychain cli) with the find-internet-password arg.