View Single Post
Old 11-19-2007, 12:43 PM   #13
mocelet
Connoisseur
mocelet began at the beginning.
 
Posts: 56
Karma: 11
Join Date: Aug 2007
Device: iLiad / Palm Vx / Nokia E65
Quote:
Originally Posted by nekokami View Post
Since I'd be trying to set it up on linux or osx, yes, that would be helpful. Thanks.
Here you go then ...

Code:
[eBooks]
        comment = Auto sync directory for iLiad
        path = /media/eBooks
        force user = ogg
        force group = ogg
        read only = No
        guest ok = Yes
        hide unreadable = Yes
the user and group ogg are the owners of the /media directory, and everything within, but the user ogg is not listed in smbpasswd.
/media/eBooks is mode 775.

I don't think any of the [global] section is pertinent, but if you get stuck I can PM you that section as well.

The samba log file (/var/log/samba/192.168.1.188.log.1 in my case) looks something like this for a good connection that downloads a couple of books:

Code:
[2007/11/01 19:39:48, 1] smbd/service.c:make_connection_snum(950)
  192.168.2.188 (192.168.2.188) connect to service eBooks initially as user ogg (uid=503, gid=503) (pid 20313)
[2007/11/01 19:40:02, 1] smbd/service.c:close_cnum(1150)
  192.168.2.188 (192.168.2.188) closed connection to service eBooks
And for completeness
Code:
$ smbd -V
reports
Code:
"Version 3.0.24-7.fc5"
mocelet is offline   Reply With Quote