You haven't really provided enough information. It looks like you are
using Samba to share files but not to control a domain. I gather this is
a home setup and you may be using either XP/Home or have a separate
Windows PDC. Either way, I'd suggest you install and use SWAT if you
aren't already. It has a wizard to set up the Samba server appropriately.
If you aren't using a Domain, make sure that each person is in the
appropriate Unix group to access each share. Set the share permissions
and valid users appropriately. Right now, karen is the only one with
access to pictures, which may not be what you want. For guest ok to
work, you also need to make sure that the shares are world accessible.
If you are using a Domain, then use your Windows domain admin account to
create the appropriate groups and set the share permissions. Have the
Unix permissions set to give Samba full access to the shares.
You may also want to consider using a better file system for the shared
folders. Fat32 is very limited. It can't use proper Unix permissions,
doesn't allow large files, doesn't support journalling and doesn't
support advanced features.
Tim wrote:
I had Samba setup up on a debian box with three XP\2000 clients accessing the
four samba shares but only allowing three users access to a couple of the
folders. These 3 users had dummy accounts set up on the debian box (they
never logged onto the debian box). The samba shares live on an external USB
hard disk connected to the debian box (formatted as fat32).
For non (samba) related reason I have changed my OS to Mepis and now I can't
seem to recreate the setup I previously had ( I did save my old smb.conf
(along with 90% of my home folder) but that is now sat in a corrupt archive
file which I can't access!!
At the moment my XP\2000 boxes can read and copy files from the samba shares
but can't write to the Samba share which I want.
Below is my smb.conf, it may look a little messy as I have been trying things
to get it working
Any suggestion please?
Tim
;*******************section global*****************
[global]
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
printing = cups
workgroup = home
server string = %h server (Samba %v)
hosts allow = 192.168.1.
socket options = TCP_NODELAY IPTOS_LOWDELAY
log level = 1
dead time = 15
wins support = yes
hide unreadable = yes
passdb backend = tdbsam guest
dns proxy = no
max log size = 1000
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
oplocks = no
level2 oplocks = no
case sensitive = no
msdfs proxy = no
read only = no
security = share
;*******************section mit*****************
[Shared]
comment = /home/mit/Shared
path = /home/mit/Shared
guest ok = yes
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = no
create mask = 0755
;*******************section printers*****************
[printers]
comment = All Printers
path = /tmp
browseable = no
printable = yes
guest ok = yes
create mask = 0700
[mp3]
guest ok = yes
path = /mnt/sda1/mp3/
[pictures]
guest ok = yes
path = /mnt/sda1/pictures
valid users = karen
[ZUNK]
path = /mnt/sda1/Zunk/
create mask = 0755
guest ok = yes
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba