What version of Samba are you using? Samba access has changed with the move to 3.x
I'm using the original samba 2.2.8 (I haven't update to 3 yet, I heard it's a resource hog).
I wouldn't use samba and dav on the same shares. DAV is excellent but it isn't a distributed file system.
Yeah, I know. As I stated in a previous post, samba and dav should not have access to the shares mainly for two reason:
1) DAV (unlike Samba, ftp, etc.) does not read/write files as a login *nix user, but rather the user the as the webservers user; though technically, webDAV is what does this. It is possibly to write a DAV server that can read/write to the linux file system as login *nix users. But as I noted earlier, doing so is a hassle and a resource hog because of all the child dameons needed.
2) The other reason is the file locking. File locking is not imposed in DAV, it's left up to the client (i.e. frontpage) to use them. Also, the file locks are not done through the kernel processes, but rather through DAV server itself. For example, windows locks files when you open a file (not the executable opening the file), but here, DAV places the file locks, not the OS.
This being said, I know that using samba and dav really should be separate, but I'm trying to perform at decent work around until I can find a better method (i.e. ACLs perhaps). That is why I have setup samba and dav to write files to the shares in a manner that both samba and Apache can read/write to the shares (so basically take care of issue 1). Issue 2 is only becomes a serious issue when samba and Apache are reading/writing to the same file simultaneously. Though not ideal, this would occur rarely do to the manner in which my users use the Linkstation. Even still, I will attempt to create a fix here.
If there are many writes from samba then you could have issues
I believe I addressed the issues you were implying, but would you mind telling me specifically what you meant? Are there other problems that have not been addressed.
Thank you both for your comments and insite.