Hi
I just set up an OpenBSD machine to serve as a file server for backups of my Windows boxes.
Here's the basic configuration:
OpenBSD 3.6
Samba 2.212 (last release on ports-stable)
IP: 192.168.0.2
Hostname: thor
smb.conf
Code:
workgroup = LAN
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 30
preferred master = No
domain master = No
security = user
[Data]
path = /data
force group = mod
read only = No
browseable = Yes
It's hand-written because at the end, I found it easier to deal with it in vi than in Swat
I get a window in which i have to enter the password for the acount 'thor\Guest'. When I try the password for the nobody account on the Samba box, it doesn't work.
When I set security = share, I get the message that the supplied password is invalid (not that I had the chance to enter one).
So, what I need is to have read/write access to the Data-share either when I am logged in on the Windows box with a user name present on the Samba box and in the mod group, or to be able to enter username and password for an account on the samba box when trying to access it.
I think this would be easier if Samba would serve as a Domain Controller, but this is no alternative as the Samba machine isn't supposed to run 24/7