Displaying 12 results from an estimated 12 matches for "set_file_info".
2006 Jun 26
1
[Fwd: [Fwd: Re: : Win XP Client does not remove directories]]
Hi @all,
Can someone please just confirm me, that Samba doesn't remove a
directory in case of a "SET_FILE_INFO"-Request for this directory?
The following abstract is out of an Ethereal-Log and shows a
SET-FILE-INFO-Request for a directory:
############################################################################
No. Time Source Destination Protocol
Info
1...
2006 Apr 28
2
: Win XP Client does not remove directories
Hello mailinglist,
I have a strange problem, which occurs sometimes on some WinXP clients.
It is not 100% reproducable for me, but it returns regular.
The problem is, that somehow a user can't delete a directory. All files
in the directory will be removed successfully, but the directory itself
not.
Deleting with the Explorer or over the cmd-console returns in the same
result.
First the
2009 Sep 24
0
smb service response times + OpenVPN
...mmands Calls Min RTT Max RTT Avg RTT
FIND_FIRST2 204 0.12546 0.54965 0.14905
QUERY_FS_INFO 93 0.12489 0.20448 0.13657
QUERY_PATH_INFO 425 0.12507 0.36258 0.13878
QUERY_FILE_INFO 2371 0.12427 0.88422 0.13971
SET_FILE_INFO 5 0.12780 0.13102 0.12943
GET_DFS_REFERRAL 1 0.12902 0.12902 0.12902
NT Transaction Commands Calls Min RTT Max RTT Avg RTT
NT IOCTL 15 0.12761 0.21489 0.14543
NT NOTIFY 37 0.12815 216.02239 45.200...
2006 Sep 22
0
Poor performance getting lots of small files with WinXP/Win2k vs OS2
...6.37.96 10.240.47.86 SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1cf0, Query File Basic Info
33 1.006104 10.240.47.86 10.16.37.96 SMB Trans2
Response, QUERY_FILE_INFO
34 1.006345 10.16.37.96 10.240.47.86 SMB Trans2
Request, SET_FILE_INFO, FID: 0x1cf0
35 1.006589 10.240.47.86 10.16.37.96 SMB Trans2
Response, SET_FILE_INFO
36 1.007075 10.16.37.96 10.240.47.86 SMB Read
AndX Request, FID: 0x1cf0, 222 bytes at offset 0
37 1.007318 10.240.47.86 10.16.37.96...
2011 Feb 21
1
File writing strangeness
...YYY SMB Trans2 Request, QUERY_FILE_INFO, FID: 0x1dc8, Query File Internal Info
1058 2.545126 192.168.0.YYY 192.168.0.XX SMB Trans2 Response, FID: 0x1dc8, QUERY_FILE_INFO
1059 2.545520 192.168.0.XX 192.168.0.YYY SMB Trans2 Request, SET_FILE_INFO, FID: 0x1dc8
1060 2.545584 192.168.0.YYY 192.168.0.XX SMB Trans2 Response, FID: 0x1dc8, SET_FILE_INFO
1061 2.545914 192.168.0.XX 192.168.0.YYY SMB Close Request, FID: 0x1dc8
1062 2.545961 192.168.0.YYY 192.168.0.XX SMB...
2006 Sep 21
1
Fw: Poor performance getting lots of small files with WinXP/Win2k vs OS2
...6.37.96 10.240.47.86 SMB Trans2
Request, QUERY_FILE_INFO, FID: 0x1cf0, Query File Basic Info
33 1.006104 10.240.47.86 10.16.37.96 SMB Trans2
Response, QUERY_FILE_INFO
34 1.006345 10.16.37.96 10.240.47.86 SMB Trans2
Request, SET_FILE_INFO, FID: 0x1cf0
35 1.006589 10.240.47.86 10.16.37.96 SMB Trans2
Response, SET_FILE_INFO
36 1.007075 10.16.37.96 10.240.47.86 SMB Read
AndX Request, FID: 0x1cf0, 222 bytes at offset 0
37 1.007318 10.240.47.86 10.16.37.96...
2006 Mar 08
2
1 byte writes
...2K clients are
suffering performance issues (in a switched LAN).
Looking at the traffic with Ethereal (latest SVN), it looks like the
client writes the data in *1 byte* pieces likes this (c=client, s=server):
c->s NT Create AndX Request
c<-s NT Create AndX Response
c->s Trans2 Request, SET_FILE_INFO
c<-s Trans2 Response
c->s Trans2 Request, QUERY_FILE_INFO, Query File Basic Info (1004)
c<-s Trans2 Response
c->s Write AndX Request, 1 byte at offset 119 <-- sigh
c<-s Write AndX Response, 1 byte
c->s Trans2 Request, QUERY_FILE_INFO, Query File Standard Info (258)
c<-s Tra...
2006 Jun 13
0
[Fwd: Re: : Win XP Client does not remove directories]
...ies on the
Samba-Server from WinXP machines.
I can't send my Ethereal-Logs to the list, but i send them to Jeremy,
who never answered me anyway.
If anyone can help me or would like to see the Ethereal-Logs, with the
fact, that Windows sometimes (in faultcase) sends an other request
("SET_FILE_INFO") to delete a directory and this request does not work
with Samba, just write back and I'll send you the files. By the way: The
normal request seems to be "Delete Directory Request (0x01)".
As I already said, I don't know, why Windows starts behaving like that
irregulary...
2004 Oct 19
0
libsmbclient ftruncate
...SMB functionality into one of my
existing programs using libsmbclient. The interface has everything I
need, except for the ability to shrink files (basically do an ftruncate).
Looking at some ethereal captures, it looks like when a client wants to
do a shrink of a file, it issues a TRANS2 with SET_FILE_INFO and
SMB_FILE_END_OF_FILE_INFO, and SMB_FILE_ALLOCATION_INFO. Is there any way
I can approximate this using the current smbc_* functions, or do I have to
write it myself? Thanks in advance for any replies.
From,
Chris Lalancette
(P.S. Please CC me on any correspondence; I am not subscribed t...
2002 Nov 27
6
"attrib +R myowndir" fails to write-protect my own dir
...SuSE 8.1/samba 2.2.7 server
================================= ================================
Tr2 Rq Q_PATH_INFO, Path: Tr2 Rs Q_PATH_INFO
Tr2 Rq FIND_FIRST2, Pattern: \dir Tr2 Rs FIND_FIRST2, Files: dir
NT Create AndX Req, Path: \dir NT Create AndX Resp, FID: 0x2f70
Tr2 Rq SET_FILE_INFO, FID: 0x2f70 Tr2 Rs SET_FILE_INFO
Close Request, FID 0x270 Close Response
nfs>netbios-ssn[ACK]...
The log at level 3 shows no error:
smbd/process.c:process_smb(878) Transaction 35 of length 79
smbd/process.c:switch_message(685) switch message SMBtran...
2010 Dec 08
2
Improving Samba write performance on Linux
Improving Samba write performance on Linux
------------------------------------------
Abstract
--------
Samba performance is good in most circumstances, but modern Linux
distributions have improved file systems since Samba was first
developed. In particular, they have a feature that Samba does not take
advantage of by default. In recent work I found that making some
simple changes to Samba could
2017 Jun 29
5
Friendly Reminder: Huge number of small files performance regression from 3.5.16 to 4.6.5 with identical smb.conf
Hello again, Jeremy and other Samba experts,
I'm sorry to be such a pain in your neck(s), but I still need your help
in looking for help trying to find out why SMB2/3.1.1 in Samba 4.6.5
performs so much worse than SMB/1.5 in Samba 3.6.15 in scenarios with a
huge number of small files.
As requested by Jeremy, I have done wireshark "pcapng" captures of the
four scenarios as