[Samba] Guest account and deleting filed
Rick Cone, Secure Payment Systems
rcone at securepaymentsystems.com
Tue Nov 22 21:58:34 GMT 2005
I have an internal Samba installation where I have security=share, and have
everything going to a guest account, which I've made a "regular" user and
password. I can can copy and move files, but I can't delete any files. I
was expecting Samba to follow the permissions of the user, which should be
able to delete these files. I've enclosed my smb.conf. The internal
(guest) user is called "samba", and it's default group is "dl4ub"
smb.conf:
[global]
netbios name = spserv1
server string = Samba
os level = 255
local master = yes
preferred master = yes
security = share
username map = /etc/samba/users.map
wins support = yes
workgroup = SPS1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
log level = 1
guest account = samba
max xmit = 65535
read size = 65536
interfaces = net0
bind interfaces only = yes
[NETLOGON]
comment = Network Logon Service
path = /etc/samba/netlogon
guest ok = yes
guest only = yes
hosts allow = 192.1.1.
[unix]
comment = unix
force user = check
force group = dl4ub
create mode = 0000
force create mode = 0660
directory mode = 0000
force directory mode = 0770
path = /
read only = no
guest ok = yes
guest only = yes
hosts allow = 192.1.1.
mangled names = no
[RDM-Ingenico]
comment = RDM-Ingenico
force user = check
force group = dl4ub
create mode = 0000
force create mode = 0660
directory mode = 0000
force directory mode = 0770
path = /u/ftprdm
read only = no
guest ok = yes
guest only = yes
hosts allow = 192.1.1.
mangled names = yes
[g]
comment = g
force user = check
force group = dl4ub
create mode = 0000
force create mode = 0660
directory mode = 0000
force directory mode = 0770
path = /u/g
read only = no
guest ok = yes
guest only = yes
hosts allow = 192.1.1.
mangled names = no
[web]
comment = web
force user = web
force group = dl4ub
create mode = 0000
force create mode = 0664
directory mode = 0000
force directory mode = 0775
path = /u/apache/htdocs
read only = no
guest ok = yes
guest only = yes
hosts allow = 192.1.1.
mangled names = no
Thanks,
Rick
More information about the samba
mailing list