I can't figure this one out.
Samba 1.9.17 compiled under BSD 2.1, WIN95 (950B) clients.
Trying to delete a file on a samba share from a w95 dos prompt
gives the error:
S:\>del h15.html
General failure reading drive S
Abort, Retry, Fail?a
But copying a file to a samba share works fine:
T:\PCB\DL05>copy h15.html s:
Overwrite s:h15.html (Yes/No/All)?y
1 file(s) copied
If you use a command like "del h15.html*"
it works fine.
Using the Win95 explorer also works fine...
Here is an excerpt from a debug level 4:
09/26/97 15:00:22 pcb (165.2xx.xxx.xxx) connect to service wwwroot as user pcb
(uid=941,gid=20) (pid 1057)
09/26/97 15:00:22 tconX service=wwwroot user=pcb cnum=89
09/26/97 15:00:44 Transaction 4 of length 85
switch message SMBtrans2 (pid 1057)
chdir to /var/www/docs
call_trans2qfsinfo: cnum = 89, level = 261
09/26/97 15:00:44 SMBtrans2 info_level =261
09/26/97 15:00:44 Transaction 5 of length 50
switch message SMBchkpth (pid 1057)
Skipping become_user - already user
unix_clean_name [./H15.HTML]
unix_clean_name [h15.html]
09/26/97 15:00:44 error packet at line 561 cmd=16 (SMBchkpth) eclass=1 ecode=267
error string = Not a directory
-----------------------------------------------
smb.conf file:
[global]
workgroup = WORKGROUP
comment = Samba Server
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = pcpeople
max log size = 50
short preserve case = yes
preserve case = yes
lock directory = /usr/local/samba/var/locks
locking = yes
share modes = yes
security = server
password server = nta
socket options = TCP_NODELAY
local master = yes
os level = 30
preferred master = yes
domain controller = nta
[wwwroot]
path = /var/www/docs
valid users = pcpeople pca pcb pcf nta administrator
public = yes
writable = yes
printable = no
create mask = 0777
write list = @staff
Any ideas?
I know my config file is probably screwed up, but I have been playing
with it to try to find out what the problem is...
Thanks,
-LeeLee Havemann, Comp Ops Dir. HSH Associates (973) 838-3330
Mailto: lee@hsh.com Compuserve: 70410,3507 AOL: HSH Assoc
MSN: HSH_Associates http://www.hsh.com ----
"My employer doesn't pay me enough for my opinions"
- Cannot find REALITY.SYS. Universe halted. -