OK I have tidied up the capitalisation of the paths making them all
consistent.
The file is mostly created by suse. I had added a few lines... I see
that on enlarging the text in kate that all the lines that appeared to
say "read only - no" is actually "read only = no". My mistake - so I
had added some lines that were incorrect, and see that log.nmbd was
complaining about them too. Some of the lines must have been fixed by
testparm before I ran it myself. I believe it is all correct now.
Despite this, I still have the same problem.
I tested using the smb.conf file from my previous 9.1 install which did
work, no difference (except the folder names appear different on the
windows machine), still get the same "disk full" or "memory full"
outcomes from the windows machine. (and yes I am restarting samba each
time I make these changes)
Same outcome if I go through the users/roger (where I have a link to the
same files) folder rather than through the data folder.
This all seems to be pointing to an issue with something other than
smb.conf then?
here's the tail output of log.smbd on opening and saving to a txt file:
[2005/09/09 11:57:08, 1] smbd/service.c:make_connection_snum(642)
aquarius (192.168.1.65) signed connect to service software initially
as user roger (uid=1000, gid=100) (pid 7634)
[2005/09/09 11:57:08, 1] smbd/service.c:make_connection_snum(642)
aquarius (192.168.1.65) signed connect to service users initially as
user roger (uid=1000, gid=100) (pid 7634)
[2005/09/09 11:57:14, 1] smbd/service.c:close_cnum(830)
aquarius (192.168.1.65) closed connection to service software
[2005/09/09 11:57:14, 1] smbd/service.c:close_cnum(830)
aquarius (192.168.1.65) closed connection to service users
here's opening a file that won't save:
[2005/09/09 12:04:34, 1] smbd/service.c:make_connection_snum(642)
aquarius (192.168.1.65) signed connect to service software initially
as user roger (uid=1000, gid=100) (pid 7634)
[2005/09/09 12:04:34, 1] smbd/service.c:make_connection_snum(642)
aquarius (192.168.1.65) signed connect to service users initially as
user roger (uid=1000, gid=100) (pid 7634)
[2005/09/09 12:04:38, 1] smbd/service.c:close_cnum(830)
aquarius (192.168.1.65) closed connection to service software
[2005/09/09 12:04:38, 1] smbd/service.c:close_cnum(830)
aquarius (192.168.1.65) closed connection to service users
Basically identical. At the point of attempting to save that file,
nothing added to the log file. But nor is anything added when the first
file is successfully written to.
Does this help? Any further ideas?
Nick Rout wrote:
Have you looked in the log file? The naming is dependent on your distro, but
they are commonly called smbd.log amd nmbd.log - its likely the
forme one is what you want.
go to /var/log then
find|grep smbd should find the log file. run it through tail -f and
watch what happens when you go to save a file.
Which share is causing the problem or is it the same with all shares?
Also I note that some of your options use the "-" instead of "=", for
example in [data] you have "Writable - Yes" - I think it should be
"witeable = yes"
Try running testparm, it tests your smb.conf for internal correctness.
It is a command line tool.
On Fri, 09 Sep 2005 08:21:12 +1200
Roger Searle wrote:
Hi, I have had this new install of suse 9.3 running nicely for a while.
I have set up some samba shares and can browse them from a windows
machine on the network however something is not right with it.
I can open a spreadsheet but NOT save any changes, the message in excel
is "the disk is full". I can create a new txt file and save changes to
it with no problem. I can create a new excel file, open it, but not
save changes ("the disk is full"). Similarly with a word document
though attempting to save it produces a variety of error messages
including "the disk is full or too many files open" or memory error
messages. I can delete any of these created files.
The problem appears to be more than a simple read/write issue and has me
stumped. Can anyone help?
Cheers,
Roger
linux:/etc/samba # cat /etc/samba/smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-04-04
[global]
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
restrict anonymous = no
domain master = No
max protocol = NT
ldap ssl = No
server signing = Auto
netbios name = gemini
add machine script = /usr/sbin/useradd -c Machine -d
/var/lib/nobody -s /bin/false %m$
domain logons = No
security = user
workgroup = workgroup
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[data]
case sensitive = no
msdfs proxy = no
read only = no
path = /windows/e
valid users = roger
write list = roger
writeable - Yes
browseable = Yes
[photos]
case sensitive = no
msdfs proxy = no
read only = no
path = /windows/f/Photos
valid users = roger
write list = roger
browseable - Yes
[software]
browseable = Yes
comment =
guest ok = No
inherit acls = Yes
path = /windows/G/software/
read only = No
valid users = roger
write list - roger
[downloads]
browseable = Yes
comment =
guest ok = No
inherit acls = Yes
path = /windows/G/Downloads/
read only = No
valid users = roger
write list - roger