Displaying 9 results from an estimated 9 matches for "transact2_findfirst".
2005 Oct 25
1
Large Directories Timeout smbfs & Windows
...directory has lots of files in it (say 20000 or so), we
are seeing both Linux and Windows clients timeout the shares.
The timeouts occur when doing an "ls" on Linux with smbfs or
opening the share's folder on Windows.
Looking at debug logs shows that Samba is in the middle of
doing a TRANSACT2_FINDFIRST (call_trans2findfirst in the code)
where it calls SMB_VFS_OPENDIR, reads all of the entries
through SMB_VFS_READDIR, and then closes the directory with
SMB_VFS_CLOSEDIR before sending any reply at all to the
client.
When either Linux or Windows times out, both will start a
new Samba connection to...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...1, 0 };
+ /*
+ * use info level 1 for older servers that don't do 260
+ */
+ if (server->opt.protocol < SMB_PROTOCOL_NT1)
+ info_level = 1;
+
smb_lock_server(server);
retry:
@@ -1416,16 +1653,11 @@
command = TRANSACT2_FINDFIRST;
WSET(param, 0, aSYSTEM | aHIDDEN | aDIR);
WSET(param, 2, max_matches); /* max count */
- WSET(param, 4,
- SMB_CONTINUE_BIT|SMB_CLOSE_IF_END);
+ WSET(param, 4, SMB_CLOSE_IF_END)...
2001 Jan 25
3
Samba quota 'feature' fix?
Hey Guys and Gals,
I'm wondering if the quotas.c file is supposed to fix the problem where a
Linux x86 system running with the quota software causes corrupt files to be
written by Windows clients. I compiled it in and it didn't seem to make a
difference for the following problem.
In other words, if I enable quotas on my RH6.2 / 2.2.16-22 kernel box and
then write a file via Samba/Windows
2000 Mar 20
0
smbfs patch - listing large direcories from an OS/2 server
...ypes.h>
@@ -1550,6 +1553,7 @@
int resp_param_len = 0;
int ff_searchcount = 0;
int ff_eos = 0;
+ int ff_lastname = 0;
int ff_dir_handle = 0;
int loop_count = 0;
int mask_len, i, result;
@@ -1597,16 +1601,11 @@
command = TRANSACT2_FINDFIRST;
WSET(param, 0, aSYSTEM | aHIDDEN | aDIR);
WSET(param, 2, max_matches); /* max count */
- WSET(param, 4,
- SMB_CONTINUE_BIT|SMB_CLOSE_IF_END);
+ WSET(param, 4, SMB_CLOSE_IF_END)...
2001 Apr 21
0
WARNING: Short packet. Try increasing the snap length (120)
...ength=35
SMB PACKET: SMBtrans2 (REPLY)
SMB Command = 0x32
Error class = 0x1
Error code = 2
Flags1 = 0x80
Flags2 = 0x41
Tree ID = 2
Proc ID = 62350
UID = 100
MID = 61696
Word Count = 0
SMBError = ERRDOS - ERRbadfile (File not found.)
TRANSACT2_FINDFIRST param_length=4096 data_length=0
Trans2Interim
-------------- next part --------------
HTML attachment scrubbed and removed
2010 Nov 08
0
Windows server not responding to Samba requests
...9], length 116
SMB PACKET: SMBtrans2 (REQUEST)
SMB Command = 0x32
Error class = 0x0
Error code = 0 (0x0)
Flags1 = 0x8
Flags2 = 0x1
Tree ID = 4105 (0x1009)
Proc ID = 2248 (0x8c8)
UID = 4099 (0x1003)
MID = 9 (0x9)
Word Count = 15 (0xf)
TRANSACT2_FINDFIRST param_length=44 data_length=0
TotParam=44 (0x2c)
TotData=0 (0x0)
MaxParam=10 (0xa)
MaxData=16644 (0x4104)
MaxSetup=0 (0x0)
Flags=0x0
TimeOut=0 (0x0)
Res1=0x0
ParamCnt=44 (0x2c)
ParamOff=68 (0x44)
DataCnt=0 (0x0)
DataOff=112 (0x70)
SetupCnt=1 (0x1)
smb_bcc=47
Attribute=HIDDEN SYSTEM DIR
SearchCount=...
1999 Oct 23
0
smbfs: patch for directory listing
....2.13 and 2.3.x should be
similar.
/Urban
-------------- next part --------------
diff -ur linux-2.2.12-clean/fs/smbfs/proc.c linux/fs/smbfs/proc.c
--- linux-2.2.12-clean/fs/smbfs/proc.c Sat Oct 23 17:44:54 1999
+++ linux/fs/smbfs/proc.c Sat Oct 23 22:25:49 1999
@@ -1599,8 +1599,7 @@
command = TRANSACT2_FINDFIRST;
WSET(param, 0, aSYSTEM | aHIDDEN | aDIR);
WSET(param, 2, max_matches); /* max count */
- WSET(param, 4, 8 + 4 + 2); /* resume required +
- close on end +
+ WSET(param, 4, 4 + 2); /* close on end +
continue */
WSET(param, 6, info_level);
DSET(param, 8, 0);
@...
1999 Jan 20
3
oplcok_break more information (PR#12734)
...gt;> NBT Packet
NBT Session Packet
Flags=0x0
Length=87
SMB PACKET: SMBtrans2 (REQUEST)
SMB Command = 0x32
Error class = 0x0
Error code = 0
Flags1 = 0x0
Flags2 = 0x1
Tree ID = 1
Proc ID = 6277
UID = 100
MID = 35073
Word Count = 15
TRANSACT2_FINDFIRST param_length=21 data_length=0
TotParam=21
TotData=0
MaxParam=10
MaxData=2432
MaxSetup=0
Flags=0x0
TimeOut=0
Res1=0x0
ParamCnt=21
ParamOff=66
DataCnt=0
DataOff=0
SetupCnt=1
TransactionName=SMB2
Attribute=HIDDEN SYSTEM DIR
SearchCount=6
Flags=0x0
Level=260
File=TMP.~NF
18:09:41.388972 gate.irstc.cc...
2000 Jun 25
2
Login script
Is there a file I can place in the netlogin directory (or anywhere else
for that matter) that will represnet a logon script? I want to have my
workstations auto-mount particular shares on the samba server, without the
user having to make the mount. This way when I add new users, the shares
are automatically present.
If there is a script I can place somwehre, please tell me what it's name
is