[Samba] Re: The specified network name is no longer available
Paul Casteels
Paul.Casteels at ua.ac.be
Mon Sep 8 15:19:27 GMT 2003
Paul Casteels wrote:
> I am using Samba version 2.2.8a-0.1.ql.w on Debian 3.0.
> When copying a file with Win2K/SP2 I get an error message. A file is
> created but with zero size. If I try again the file is copied properly.
> I have disabled acl support and oplocks without success.
> On my 2.2.8a on RedHat 7.2 everything works fine and I have compared the
> smb.conf.
>
>
>
> E:\brol>dir
> 14/06/2003 17:38 1,474 a.py
>
> E:\brol>copy a.py b.py
> The specified network name is no longer available.
> 0 file(s) copied.
>
> E:\brol>dir
> 14/06/2003 17:38 1,474 a.py
> 02/09/2003 11:34 0 b.py
>
> E:\brol>copy a.py b.py
> Overwrite b.py? (Yes/No/All): y
> 1 file(s) copied.
>
> E:\brol>dir
> 14/06/2003 17:38 1,474 a.py
> 14/06/2003 17:38 1,474 b.py
>
>
These are the last loglines when the operation fails :
[2003/09/08 16:57:24, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [brol/t1.f]
[2003/09/08 16:57:24, 4] smbd/open.c:open_file_shared1(973)
calling open_file with flags=0x2 flags2=0x240 mode=0744
[2003/09/08 16:57:24, 10] smbd/open.c:fd_open(53)
fd_open: name brol/t1.f, flags = 0102 mode = 0744, fd = 23.
[2003/09/08 16:57:24, 2] smbd/open.c:open_file(246)
CASTEELS opened file brol/t1.f read=Yes write=Yes (numopen=1)
[2003/09/08 16:57:24, 10] smbd/open.c:open_file_shared1(1074)
open_file_shared : share_mode = 42
[2003/09/08 16:57:24, 10] locking/locking.c:set_share_mode(693)
set_share_mode: creating entry for file brol/t1.f. num_share_modes = 1
[2003/09/08 16:57:24, 10] locking/locking.c:print_share_mode_table(445)
print_share_mode_table: share_mode_entry[0]: pid = 16042, share_mode
= 0x42, desired_access = 0x3, port = 0x0, type= 0x0, file_id = 1, dev =
0x3a00, inode = 1485681
The behaviour is the same with smbclient.
The Debian machine uses a ReiserFS on a raid0 partition.
More information about the samba
mailing list