Questions tagged [server-message-block]

Server Message Block is a network file sharing protocol created by Microsoft. This is the protocol used for file and printer sharing on Windows networks.

Filter by
Sorted by
Tagged with
5 votes
7 answers
57k views

Windows networking performance (SMB/CIFS)

Are there registry settings or other settings available to tune Windows networking (SMB/CIFS) performance? I'm trying to get maximum throughput for large file copy operations but any settings would ...
Luke Quinane's user avatar
15 votes
2 answers
21k views

Does Samba work well with Windows when case-sensitive names are enabled?

I want to have a *nix Samba share accessible by Windows clients. Samba has an option to enable or disable filename case-sensitivity. Normally for windows access, this is disabled, so that fred==FRED=...
Roddy's user avatar
  • 290
8 votes
2 answers
5k views

KB 4480970 and or KB 4480960 breaks SMB2 connections to Windows 7 shares

It's become clear that last night's (Tues Jan 8th 2019) patches to Windows 7 broke SMB2 networking in Lanman Server. One or both of KB 4480970 and KB 4480960 results in any OS that uses SMB2 (such as ...
Andrew's user avatar
  • 243
5 votes
2 answers
11k views

what's the syntax for Accessing smb/windows shares via alternative ports?

when port forwarding on my router for port 139 to port 139 of my linux-smb based NAS is enabled running a simple \computername.dynamicipserviceX.com\sharename on windows works. However when set to any ...
Maslow's user avatar
  • 155
4 votes
1 answer
5k views

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 ...
Jamie's user avatar
  • 1,314
2 votes
2 answers
6k views

Prevent owner to change permissions on network share

we have a Sun Storage Appliance (7110) with a SMB/CIFS share configured. It is joined to our Active Directory. What I am trying to accomplish is: ordinary Domain Users (builtin AD-group) should have ...
duenni's user avatar
  • 2,959
23 votes
14 answers
97k views

Long pause when accessing DFS namespace

We've recently migrated our Windows network to use DFS for shared files. DFS is working well, except for one annoying problem: users experience a significant delay when they try to access a DFS ...
Matt's user avatar
  • 583
16 votes
7 answers
62k views

How to prevent samba from holding a file lock after a client disconnects?

Here I have a Samba server (Debian 5.0) thats is configured to host Windows XP profiles. Clients connects to this server and work on their profiles directly on the samba share (the profile is not ...
Jean-Francois Chevrette's user avatar
11 votes
7 answers
33k views

Speeding up rsync over smb

I'm backing up a Linux box over SMB to a NAS. I mount the NAS locally and then I rsync a lot of data (100GB or so). I believe it's taking an awfully long time to do it: more than 12 hours. I would ...
Pablo Fernandez's user avatar
2 votes
6 answers
26k views

Is IPSec the only way to encrypt Microsoft SMB (CIFS) traffic?

I'm looking for ways to encrypt Microsoft SMB data traffic between a client and Windows server or filer appliance. This is not about encrypting the authentication but the actual data transfer. Is ...
Bob's user avatar
  • 2,569
54 votes
2 answers
462k views

TCP/IP ports necessary for CIFS/SMB operation

If I want to allow Windows networked drives between two firewalled computers, do I need to open ports 137-139, or is port 445 sufficient? I have to submit a form and get approval to open firewall ...
Jonathan's user avatar
  • 643
32 votes
6 answers
5k views

What are .DS_Store files and why does OSX leave them on Windows shares?

Whenever I access windows shares from OSX 10.5 it leaves .DS_Store files on the remote filesystem. What are they used for, and are they necessary, and can they be prevented from being created?
duckworth's user avatar
  • 700
22 votes
5 answers
123k views

How do I find out what version of SMB is enabled on a remote host?

My local machine is running Windows 7, which supports the latest released version of the SMB protocol (SMB 2.1). I also have a remote host, and I don't know what operating system or SMB-support ...
Kal's user avatar
  • 403
20 votes
2 answers
7k views

Does NFS and SMB support sparse files?

This question was previously asked in stack overflow but the good folks there have recommended that i try the community over here instead. I am researching on sparse files with regards to various ...
winhung's user avatar
  • 313
14 votes
3 answers
21k views

How did I get this Windows share to prompt for login?

Or: "Is this a thing? And how would I check if it was?" In an environment without a Domain Controller, when accessing a share on a Windows Server 2008 R2 box, from a remote computer without a ...
NReilingh's user avatar
  • 484
8 votes
3 answers
4k views

Can "wannacrypt" (wcrypt) spread via Linux server serving over SMB?

Is it possible, or will this only spread via a Windows machine serving over SMB? If Linux serving over SMB can spread wannacrypt, what's the approach to take?
fredrik's user avatar
  • 761
5 votes
2 answers
11k views

Why does windows (file) explorer try to connect to port 80 (http) instead just using smb?

Background: On an almost freshly installed pc I get a message along the lines of : "windows cannot find some-file-server-name. Check the spelling and try again"... when trying to access any fileshare....
Erik I's user avatar
  • 503
4 votes
2 answers
28k views

Windows 10 AAD Azure ad domain joined & SMB share

I have a number of Windows 10 clients domain joined to azure ad, I still have a local Windows 2012 r2 server onsite with a number of shares i wish to map to from the windows 10 clients. Bu if I try ...
user3129787's user avatar
3 votes
3 answers
723 views

Are there any good intranet search engines?

I'm searching for a intranet search engine which is capable of spider our intranet websites and network shares like SMB, NFS and optionaly AFP. Ever better for us would be a search engine which is ...
DASKAjA's user avatar
  • 179
3 votes
1 answer
7k views

Using same drive for iSCSI and SMB share under FreeNAS

I'm setting up a new FreeNAS server this weekend with pretty good success, but I am stuck on one last issue. Right now I have 2x 1.5 TB drives that I want mirrored (I was planning Software RAID 1) ...
user avatar
3 votes
1 answer
3k views

veto files on a Windows Share

On Linux you can just edit the smb.conf file and add a veto files setting to ignore and delete certain files, this came in really handy as both OS X and Windows love to create extra files. However, ...
ecnepsnai's user avatar
  • 234
3 votes
2 answers
5k views

SMB2 traffic crashes network?

We've been having significant network slowdown issues over the past few weeks, primarily on a Friday morning. We run Windows 7 client machines, with Windows Server 2008 R2 servers. What generally ...
Phil Cross's user avatar
3 votes
2 answers
1k views

Why is file sharing over internet still working, despite all firewall exceptions for filesharing being disabled?

Every exception in my windows server firewall that starts with "File and Printer Sharing" is disabled (ordered by name, so that includes domain, public (active), and private profiles). The Network ...
Triynko's user avatar
  • 3,428
2 votes
2 answers
12k views

Which file sharing protocol (SMB/AFS/NFS/SMB2/SMB3) is best for an mixed client environment within an ad?

I'm just setting up NAS (FreeNAS) with ZFS and was wondering which file sharing protocol / data transfer protocol is the best to use? Has anyone experiences? I guess i have a very typical business ...
Manuel's user avatar
  • 523
2 votes
2 answers
7k views

Measuring network throughput with netcat vs. CIFS/SMB transfer rates

I have been attempting to measure and benchmark our LAN's throughput as part of a larger project. Our LAN is constructed using cat5e and HP ProCurve 1800-24G switches which support 10/100/1000 Mbps ...
user avatar
2 votes
1 answer
4k views

Company VPN on same subnet as home network

My company has a PPTP VPN (I know it's not very secure) on a 192.168.1.0 /24 subnet. For people connecting from their home networks, file sharing doesn't work if their subnet is 192.168.1.0 /24. Some ...
mimipc's user avatar
  • 2,067
2 votes
2 answers
621 views

How to read fully deduplicated files over SMB on macOS?

I have a volume in Windows Server 2016 that is a target of the data deduplication role. It works very well ~60% savings rate, with many files appearing as zero bytes on the disk. The volume is ...
Louis Waweru's user avatar
2 votes
3 answers
3k views

Access Windows file share over the internet

At home I have a fileserver which is running Windows XP Pro. There are various SMB shares set up on it which can be accessed fine from within the network. Recently there has been the need to access ...
Dan's user avatar
  • 195
2 votes
1 answer
4k views

How to use noatime with smbfs

I am using the mount command on a Linux server to access a Windows server using smbfs. Can I use noatime to prevent read operations (such as cp on Linux) from changing the last-accessed time on files ...
Liam's user avatar
  • 1,411
1 vote
0 answers
282 views

Install SMBv1 client on win10 without admin or compromising security? [closed]

This relates to Sending files from win10 to SMBv1 server? but it is broader. Feel free to edit/move/remove. Windows 10 update 1803 removes all functionality of SMBv1 unless explicitly set so by admin,...
bliako's user avatar
  • 157
1 vote
1 answer
4k views

Repeated SMB QUERY_PATH_INFO Packets for Windows file share

This is related to my previous question here, but I have narrowed it down and want to open another one. I have windows 2000 server on its own domain, there is no trust between the clients domain and ...
Kyle Brandt's user avatar
  • 84.4k
1 vote
4 answers
7k views

Benefits of iSCSI over FTP or SMB

I was wondering if there are any major advantages of using the iSCSI protocol to access a NAS over a connection via FTP or SMB (besides access speeds, which would be higher with the use of the iSCSI ...
Jaspack's user avatar
  • 129
1 vote
2 answers
6k views

AFP (netatalk) vs. SMB on ubuntu server?

I set up an ubuntu fileserver. We use macs only, so I would to suggest to use the netatalk open source afp protocol for sharing. But if a windows pc would need files from the server in the future, ...
trnc's user avatar
  • 708
1 vote
1 answer
643 views

Can't access share sometimes and some strange performance issues

I'm getting error 0x80070043 "The network name cannot be found" when accessing \\dc01 (the root), but can access shares via \\dc01\share. When I get that error I also didn't get the network drive on ...
kimr-dk's user avatar
  • 233
1 vote
2 answers
5k views

Samba and Snow Leopard -- slow connects

Does anyone know if there is a root cause and solution to the OS X 10.6 Samba issues? We are seeing very slow connects from 10.6.2 to Windows Server 2003 via samba. (smbclient connects fast every ...
user avatar
0 votes
1 answer
2k views

Ubuntu map CIFS / SMB share using active domain credentials without password file

Is there a way in Ubuntu 18.04 to map an SMB share when the users login without using a password file? The boxes I have are members of a Windows Active Directory domain and the users will use their ...
stumped221's user avatar
0 votes
1 answer
411 views

Sending files from win10 to SMBv1 server? [closed]

Is it possible to only send files from a win10 machine (A), patched to disable SMBv1/CIFS client with 1803, to a very old device (B) using passwordless SMBv1 (strictly)? I was thinking along the ...
bliako's user avatar
  • 157
0 votes
1 answer
435 views

Incomplete directory listing when accessing a share

I have a CIFS server configured as standAlone and I am trying to access a shared folder on it via a Windows 7 client. However, not all the files in the folder are listed. Network traces shows that ...
xerocool's user avatar