search for: smb_buf

Displaying 11 results from an estimated 11 matches for "smb_buf".

Did you mean: dma_buf
2003 Apr 13
1
disabling version number
Hi there, is there any possibility of disabling Samba's version number output (e.g. with smbclient) without having to manually edit it in the source code? I don't want anyone to see my Samba's version number... Thanks Florian
1999 Dec 28
2
Directory rename problem with smbclient
I am trying to use smbclient to migrate data from OS/2 LanServers to a filesystem on an AIX 4.3.1 machine. Everything works great except renaming directories on the OS/2 LanServer. I get the error ERRDOS - ERRbadfile (File not found.) renaming files when I do a "rename <existing_dir_name> <new_dir_name>" at the prompt, but <existing_dir_name> exists. I connected to a
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
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...told me they did not have this kind of problem. And it's true :-) The 'core' of my grudge seems to lie in the new clistr_push function, which does not exist in release 2.2.0. A 'cd directory' command is thus processed by cli_chkpath, which does : cli_setup_packet(cli); p = smb_buf(cli->outbuf); *p++ = 4; safe_strcpy(p,path2,strlen(path2)); unix_to_dos(p,True); cli_send_smb(cli); It is clear the path is known to be in Unix format, and is properly translated to dos stuff. But cli_chkpath, in smbclient 2.2.1a/2.2.2, is now : cli_setup_packet(cli); p = smb_bu...
2007 Nov 16
1
3.0.27a out monday.
Just spoke to Jerry, we'll be doing a 3.0.27a on Monday to fix a regression that broke smbfs mounts from Linux. Sorry for the problem. Jeremy.
2003 May 09
2
patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
...============================ RCS file: /data/cvs/samba/source/smbd/reply.c,v retrieving revision 1.240.2.132 diff -u -r1.240.2.132 reply.c --- source/smbd/reply.c 9 Apr 2003 22:49:49 -0000 1.240.2.132 +++ source/smbd/reply.c 9 May 2003 21:26:55 -0000 @@ -765,7 +765,7 @@ } username_str = smb_buf(inbuf)+smb_apasslen; - fstrcpy( native_lanman, skip_string(username_str, 3)); + fstrcpy( native_lanman, skip_string(username_str, 4)); /* * we distinguish between 2K and XP by the "Native Lan Manager"
1999 Jun 14
4
Samba causing problems with NT tools
...0 57 chberg5. CCANET.W [040] 69 6E 64 6F 77 73 20 4E 54 20 31 33 38 31 00 00 indows N T 1381.. [050] 57 69 6E 64 6F 77 73 20 4E 54 20 34 2E 30 00 00 Windows NT 4.0.. SMB PACKET: SMBtconX (REQUEST) (CHAINED) smbvwv[]= Com2=0xFF Off2=0 Flags=0x0 PassLen=1 Passwd&Path&Device= smb_bcc=21 smb_buf[]= [000] 00 5C 5C 41 41 52 44 56 41 52 4B 5C 49 50 43 24 .\\AARDV ARK\IPC$ [010] 00 49 50 43 00 .IPC. (DF) 17:08:19.680588 hairball.139 > pc114160.2229: . ack 440 win 8760 (DF) 17:08:22.950817 hairball.139 > pc114160.2229: P 93:179(86) ack 440 win 8760...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...result = -EIO; + bcc = WVAL(p, 2); + if (bcc != count * SMB_DIRINFO_SIZE + 3) + goto unlock_return; + p += 7; + + /* Read the last entry into the status field. */ + memcpy(status, + SMB_BUF(server->packet) + 3 + + (count - 1) * SMB_DIRINFO_SIZE, + SMB_STATUS_SIZE); + + /* Now we are ready to parse smb directory entries. */ + + for (i = 0; i < count; i++) + { + struct cache_d...
2003 Dec 01
0
No subject
...RT_PROFILE(SMBreadX); /* If it's an IPC, pass off the pipe handler. */ if (IS_IPC(conn)) { END_PROFILE(SMBreadX); return reply_pipe_read_and_X(inbuf,outbuf,length,bufsize); } CHECK_FSP(fsp,conn); CHECK_READ(fsp); CHECK_ERROR(fsp); set_message(outbuf,12,0,True); data = smb_buf(outbuf); if(CVAL(inbuf,smb_wct) == 12) { #ifdef LARGE_SMB_OFF_T /* * This is a large offset (64 bit) read. */ startpos |= (((SMB_OFF_T)IVAL(inbuf,smb_vwv10)) << 32); #else /* !LARGE_SMB_OFF_T */ /* * Ensure we haven't been sent a >32 bit offset. */...
2003 Dec 01
0
No subject
...REQUEST) SMB Command = 0x75 Error class = 0x0 Error code = 0 Flags1 = 0x8 Flags2 = 0x1 Tree ID = 0 Proc ID = 2808 UID = 2048 MID = 1 Word Count = 4 smbvwv[]= Com2=0xFF Off2=0 Flags=0x0 PassLen=1 Passwd&Path&Device= smb_bcc=29 smb_buf[]= [000] 00 5C 5C 31 30 30 2E 31 30 30 2E 31 30 30 2E 32 .\\100.1 00.100.2 [010] 30 5C 49 50 43 24 00 3F 3F 3F 3F 3F 00 0\IPC$.? ????. (DF) 17:10:24.786160 100.100.100.20.netbios-ssn > 100.100.100.21.ansoft-lm-1: P 212:262(50) ack 461 win 8300 <nop,nop,timestamp 63523 801270&g...
2003 Dec 01
0
No subject
...========================================== RCS file: /cvsroot/samba/source/libsmb/clifile.c,v retrieving revision 1.1.8.12 diff -c -r1.1.8.12 clifile.c *** libsmb/clifile.c 25 Jun 2001 17:04:45 -0000 1.1.8.12 --- libsmb/clifile.c 29 Jun 2001 13:57:16 -0000 *************** *** 243,249 **** p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ ! p += clistr_align(cli->outbuf, p); len = clistr_push(cli, p, fname, -1, STR_CONVERT); p += len; SSVAL(cli->outbuf,smb_ntcreate_NameLength, len); --- 243,249 ---- p = smb_...