Following the instructions from
http://roofrabbit.com I have sort of gotten the samba to work. I now have a share that can be browsed from windows and loads into linux. However, it sets all the files to root/root for ownership and restricts writing to the share for everyone else. This is only true for linux. Windows works just fine.
I did run into a problem with the swat package. It says it loaded correctly, but when I try to access it, I get the error message "the connection was refused when attempting to conenect to 127.0.0.1:901" I don't know what is up with that, but I added the users using the command line smbpasswd -a <user name>
I don't know what I need to change onto the linux workstations to get this to work properly? I will paste a copy of my smb.conf file (as it;s on another machine) later.
Any help is appreciated as I want to get to the bottom of this.
mjm
update: this is my smb.conf file
#======================= Global Settings =====================================
[global]
workgroup = IMAGE
server string = Samba Server %v
# 2. Printing Options:
printcap name = cups
load printers = yes
printcap cache time = 60
printing = cups
printer admin = @adm
# 3. Logging Options:
log file = /var/log/samba/log.%m
max log size = 50
# 4. Security and Domain Membership Options:
hosts allow = 192.168.5. 127.
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# 5. Browser Control and Networking Options:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
preferred master = yes
# 6. Domain Control Options:
domain logons = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = yes
[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
# Settings suitable for Winbind:
# write list = @"Domain Admins" root
# force group = +@"Domain Admins"
[pdf-gen]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
[public]
comment = Public Stuff
path = /home/samba31/public
public = yes
browseable = yes
writable = yes