Currently Being ModeratedAug 12, 2011 8:04 PM (in response to hvail)
On a basic level, here's what we did.... (I haven't messed with Profile manager yet and I think that controls individual access)
Go into Server App / File sharing. Find the share that you want to enable webdav and select it. For example, some of the user home files to access for the marketing department are in /marketing_home. Select the share and then click the edit pencil. Select "share with iOS devices (webdav)". Once that's on now you should be able to navigate to the share on your ipad, iphone, mac or windows desktop via http://my.server.com/webdav/short_user_name where my.server.com is your FQDN and of course Short_user_name is the short user name of the account to access. Use the credentials assigned to that user for username and password. This works in desktops via Finder / GO / Connect to Server and on windows machines you'll need to use "Map network drive". I would suggest using SSL for encryption unless you're using it in a controlled environment.
Hope this helps
Currently Being ModeratedAug 13, 2011 10:00 AM (in response to Newtron40)
I have literally spent 2 days trying to setup Webdav on OSX Lion Server and it's driving me NUTS. Here is what I did:
1. Install Lion Server (ok, no biggie)
2. Setup directory server (Manage -> Manage Network Accounts)...so I can setup network users
3. Create a user from the "Users" section
4. Create a share from the "File Sharing" section and click on the "Share with iOS devices"
5. Give the user I created in step 3 read/write access to that new share
After all that (pretty simple), it should work, right?!
So I go to my iPad, open Pages, click the "+" sign and click WebDav.
Then I put the following in server: http://<ip>/webdav/<share_name> ... is that right?!
then use username/password for that user (same username when logging into system over the network)
and it SHOULD work. but it DOESNT. AAAAHHHHH!!!
Am I missing something. I'm really frustrated. Didn't think it would be an issue honestly.
Any and all help is appreciated. Thanks!!!!!
Currently Being ModeratedAug 13, 2011 11:23 AM (in response to ihazem)
This is by no means the only way to do this, but this is how we have it set up for our ipad sharing as of now with each user's home account. As I said before, I pretty sure Profile Manager changes all this and we have it turned off for now. I haven't had a chance to try making drop boxes and such to dig much deeper into this.
Make sure you have web on in Server app and that you can get to your server on port 80 (http not blocked on firewall). WebDAV uses port 80.
You can't use the exact same login as you would signing into an iMac on the network. You'll need to use the short name for the username login. In Server app, you'll want to right click on a user and select advanced options and look. For a user named "John Brown", it will say the Account Name is: "johnbrown". In Workgroup Manager on the users Basic pane, you'll see it called Short Name. This is what you'll use to connect to the webdav both in the user name and the URL.
In your step 4, you'll need to select the share that contains your user's home file. You can see where your home is again in the advanced options at the bottom. That's the share that you want to "share with iOS device".
So in my example the URL should read: http://servername.com/webdav/johnbrown (where "johnbrown" is the short name of the user that owns a home file within the share you selected in File Sharing). Your username will be "johnbrown" and just enter your password.
Let me know
Currently Being ModeratedAug 13, 2011 12:08 PM (in response to Newtron40)
I have the same problem.
i have a domain called: nickrasmussen.dk
and a user called michael.
If he should access the WebDAV, is should be: http://www.nickirasmussen.dk/webdav/michael
But it dosn't work.
I have done all that you have written.
Currently Being ModeratedAug 13, 2011 5:45 PM (in response to Newtron40)
I had just a bit of time to explore this while I was rebuilding another server.....
In addition, you should be able to see the share you got configured for webdav in the config files in /etc/apache2/httpd_webdavsharing_sharepoints.conf. I wouldn't mess with this unless you know exactly what you're doing.
For a dropbox.. or another type of shared folder the format is http://myserver.com/webdav/short_user_name/sharedfile. Make sure you have permissions set in both file sharing and on the share itself.
Seems to work great with the exception of an admin user account. I can create a new account for me and it works fine, but if I use my admin account... no go.
Currently Being ModeratedAug 13, 2011 6:21 PM (in response to Nicki Rasmussen)
Woohoo! Newtron40, you're awesome! It worked!!!! Now I'm not sure exactly which part of it was the key. Will do some testing tonight and will post again my findings and the exact steps to set this up. I am still shocked that there is NO documentation about how to do this. I looked everywhere. All the doc says is just "check the box", without every saying anything about the Web server having to be on or which username to use or that you have to put a /webdav after the hostname. ALL CRITICAL PIECES OF INFORMATION!!!!
Thanks again for your help! Will post again shortly the solution and what exactly tripped me up.
Currently Being ModeratedAug 13, 2011 9:47 PM (in response to ihazem)
Glad to hear it's working for you.
The first thing to remember is that this is a .0 revision, meaning there are going to be miscues and problems. I've talked to Apple Enterprise about several other topics and they've been great, but I think they're having documentation issues as well.
I believe (my opinion only) that while 10.7 was pretty ready on the client side (there are still some issues), that Lion server was rushed a bit. It was in the press about holding up new hardware for the Lion release. People normally will wait to purchase if a new hardware release is imminent. So I think the documentation is lacking to some degree because of that.
If you don't have it, here's the link to the Advanced Server Administration for Lion: https://help.apple.com/advancedserveradmin/mac/10.7/#
Currently Being ModeratedAug 14, 2011 3:25 PM (in response to Newtron40)
Newtron40 - thanks for your help. I am experiencing much the same problems described here. I am pretty sure my problem has resulted from screwing up my short user name. Is there any way to confirm what it is exactly?
Currently Being ModeratedAug 15, 2011 1:09 AM (in response to CAS3)
Your short username is automatically assigned and is the same thing as the username as opposed to the full name. You can give your users more than one short name (I believe in server app it's called aliases). If you open workgroup manager, find a user and click on them and look in the basic pane on the right you should see just above the passwords a box with Short Names:. Apple is user friendly and therefore lets you do it both ways.... short names / usernames or Full Names for credentials.
In Server App,
go to your users,
select a user and then right click on the user and select Advanced Options. You'll see a box labeled Account Name. This is the basic short name/username of the account. There are no spaces. But with that you should be able to log in via your regular name (ie. John Brown) or the short name (johnbrown). If you give your account another alias (ie bubba) you should also be able to log in with that.
So try to log in with your short name associated with your account. If it works, that's not the problem.
More Like This
- Retrieving data ...
- This solved my question - 10 points
- This helped me - 5 points