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.
601
questions
53
votes
2
answers
457k
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 ...
46
votes
6
answers
117k
views
Listing available smb shares on a network through the command line in linux
I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
33
votes
3
answers
140k
views
How to force Windows to prompt for credentials while accessing share
By default when I access some computer's share ( typing \\hostname in Windows Explorer ) Windows passes credential of my current user. It prompts for credentials only when current user's credentials ...
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?
31
votes
2
answers
35k
views
How do you disable SMB printing support?
I'm running CentOS on a storage server that has to do file sharing for with Windows machines. SMB version is smbd version 3.5.5-68.fc13
I'm getting a lot of error messages in /var/log/messages ...
23
votes
4
answers
20k
views
Is there any reason to allow SMB over the internet?
I'm an admin at a hosting company and I deal primarily with Linux machines though we have plenty of customer with Windows servers.
In my capacity I have only ever used SMB for a file / print server ...
23
votes
14
answers
96k
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 ...
21
votes
5
answers
115k
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 ...
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 ...
16
votes
3
answers
76k
views
How to configure Samba to allow root user for full control to the particular share?
$(subj), it appears to be what root user is denied by default for all of the shares.
I'm trying to reproduce Windows administrative share.
16
votes
7
answers
60k
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 ...
16
votes
1
answer
10k
views
Linux samba server: cifs_mount failed w/return code = -12
Server: RHEL 5.9 / smbd 3.0.33
- Clients: various, though all were using current mount.cifs (5.2)
I already solved this problem, but it was such a nightmare to hunt down these error codes I felt like ...
15
votes
2
answers
20k
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=...
14
votes
1
answer
7k
views
How do I find out what version of SMB is in use by each attached client to a Windows Server 2016?
I am trying to determine which version of SMB/CIFS is in use by clients attached to shared folders on my Windows Server 2016. If I run the powershell command Get-SmbConnection on the Windows Server, ...
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 ...
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 ...
11
votes
6
answers
9k
views
Preventing Mac OS X clients from polluting Windows shares with resource forks
When Mac OS X clients copy files in a Windows share, they'll create some files like .DS_Store and ._ prefixed hidden files (that I think store resource forks of the files).
How can I prevent ...
11
votes
6
answers
129k
views
Why is samba denying me access to my share?
On my CentOS 5.2 box running Samba (3.0.33-3.29) I created a folder called /upload.
In samba I configured a share like this:
[upload]
comment = upload folder
path = /upload
...
11
votes
7
answers
11k
views
Windows Server 2012 R2 performance for Mac OS X Clients (File Services)
I am inheriting a Windows 2012 R2 Server that is experiencing abysmal SMB/CIFS performance for Mac OS X Clients in particular. The server is doing file services and is an Active Directory Domain ...
10
votes
4
answers
18k
views
Secure way to mount a password protected cifs share in mac
I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines.
Actually, I already have a working perl script, ...
10
votes
4
answers
13k
views
Small writes to SMB network share are slow on Windows, fast over CIFS Linux mount
I have been struggling to fix a performance problem with a SMB/CIFS share when performing small writes.
First, let me describe my current network setup:
Server
Synology DS215j (with SMB3 support ...
10
votes
1
answer
179
views
throughput drops near zero using directional radio relay
We are using the following 1Gbit/s radio link setup:
Location A:
internet gateway with 1Gbits/s sym. fiber
most of our servers including dhcp, dns, fileservers (smb), voip-server, exchange-server
55 ...
10
votes
1
answer
7k
views
Why do "net use" and windows "map network drive" share have a drastic speed difference?
Why, when I copy a file (windows explorer copy, paste), am I getting ~100KB/s transfer rate from a drive mapped using the "net use" command in the command prompt and between 25-50MB/s transfer rate ...
9
votes
6
answers
12k
views
SMB claimed to be "slow"
Our company network (which I believe is a windows domain run on server 2008) is painfully slow. A prime example of this is copying files over SMB - listings take minutes, and copying even modestly ...
9
votes
2
answers
16k
views
Is there a flag I can pass to either `df` or `mount` to make them display results for only locally-mounted file systems?
I'm getting mighty tired of having to manually egrep out NFS- and SMB-mounted file systems whenever I am checking on the condition of locally-mounted file systems.
Is there some combination of flags ...
9
votes
1
answer
896
views
OmniOS/ZFS/Windows 7: "Save as" from within applications lags 5 seconds for all file sizes over CIFS/SMB
Situation:
The following strange problem has occurred on a single file server running OmniOS r151018 (95eaa7e) serving files over SMB to Windows and OS X guests.
Saving certain files (.docx, .xlsx, ...
9
votes
2
answers
41k
views
Why can't I connect on port 445?
I need to collect baseline performance data on a SQL Server running on Windows Server 2008 R2. When I open perfmon on my computer running Windows 7 and try to add counters from the remote server, I ...
8
votes
5
answers
25k
views
Samba SMB Encryption - How safe is it?
I recently set up a Samba server on Linux that allows me to access files on this server on Win10 PCs in my local network. But I wondered if I could access this shared drive over the internet since I ...
8
votes
3
answers
12k
views
Difference between durable file handles, resilient file handles and persistent file handles
In CIFS/SMB protocol, I see that there are 3 types of file handles: durable, resilient and persistent. What is the difference between them?
8
votes
3
answers
2k
views
Automatically mounting a network share as Shared Resource
we're running an ActiveDirectory environment (Windows 2008 Server, XP Clients) and want to have some shares listed as Shared Resources under the Network Neighbourhood. I do not want to map it to a ...
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?
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 ...
8
votes
2
answers
1k
views
Moving Hyper-V virtual disk to SMB share gives file not found error in the end
I want to move some virtual disks to from an old ISCSI disk (old NAS) to a new SMB share but for every disk it gives a file not found error in the end and gives the location of the disk on the SMB ...
8
votes
3
answers
15k
views
It is possible to put FreeNAS as Auth Server (SMB or LDAP), File server and Ubuntu as "Client" (Kerberos auth-pam)?
I want to configure my FreeNAS server as authentication server (user FreeNAS local user's to auth into ubuntu clients) and NAS server, of course. I have Ubuntu as clients and they are booting over ...
8
votes
3
answers
16k
views
How to fix OSX client to Windows share hangs?
I have 2 x MacBook Pro's (OSX 10.6.7) that access files stored on a 64-bit and a 32-bit Windows 7 PC.
The MBP clients can connect to the Windows shares and transfer files with no problem.
However, ...
7
votes
4
answers
19k
views
Expose Fileserver (SMB) over WEB / HTTP(S) Interface [closed]
I have a Windows Fileserver (SMB), for internal storage. I'm looking for a way to add a Web-interface to expose the fileserver over HTTPS.
The requirements are:
Accessible over HTTPS in a standard ...
7
votes
3
answers
14k
views
Native SMB/CIFS through ZFS or Samba Instead
I was totally unaware of native SMB/CIFS on ZFS. This wiki doc does not mention performance differences. What kind of performance differences exist between the two?
7
votes
1
answer
9k
views
Recycle Bin for Network Share
We will be implementing a remote desktop server farm, where users' profiles will be hosted on a file server. I believe that doing this will allow users to delete files from their desktop/documents ...
7
votes
2
answers
47k
views
How do you check what version of Server Message Block client a workstation is using on Windows?
Sometimes over slow connections we switch to an older version of the protocol. I'd like to be able to check and see which version is being used, I only know how to set the version ala:
sc.exe config ...
7
votes
4
answers
8k
views
Differences between Active Directory Server and PDC
The Samba documentation states quite clearly that is only capable of functioning as an NT4 style Primary Domain Controller and can not function as an Active Directory server. I manage a group of ...
7
votes
3
answers
10k
views
SMB Client Error
Using HyperV Server 2016 with a Scale Out File Server (storing the VHDX files on the file server) makes the following error appearing in the hypervisor's Event Log (SMB Client - Connectivity):
Failed ...
7
votes
4
answers
4k
views
Tell me the pros and cons of using WebDAV over SSL for file server access instead of SMB
In the organisation I'm in we have a mixture of OS X and windows XP. For years the Macs have also connected via SMB to the fileserver, however it's always been a bit flaky. On OS X it's prone to ...
7
votes
1
answer
617
views
Disable SMB sharing for specific NIC on server 2012
I have 2 servers running windows 2012 R2, one of them is SMB server and the other is iSCSI server, and the clients are using Win7 x64.
Now I want to separate networks between iSCSI and SMB using 2 ...
7
votes
2
answers
4k
views
How to troubleshoot Linux in-kernel dns_resolver
Linux provides a facility that lets kernel and its modules to resolve DNS names by relying on user-space tools. This, for example, is used by CIFS to support referrals in the DFS.
The problem I'm ...
7
votes
4
answers
3k
views
Accessing CIFS shares from an OS X machine incredibly slow
This is a longshot, because this issue seems over-reported and unanswered on the internet (see references below), but it is about time this issue is permanently solved.
The facts:
Server: Windows ...
6
votes
2
answers
34k
views
How to determine if a SMB Client has established a Signed SMB communication from my Windows Server 2012?
Is there a way to find from my Windows 2012 Server if the client has established a signed communication ?
Net Session gives the basic details but does not say anything about signing.
C:\>net ...
6
votes
2
answers
10k
views
How could I determine which SMB client/session has a specific file open on a Server 2008R2 Windows file server?
What I need is a way to associate a client name or IP address with an open file, so that I can cleanly close the file for maintenance. NET SESSION doesn't show the names of open files and NET FILE ...
6
votes
1
answer
2k
views
SMBD daemon spikes at 100% cpu usage when Windows 8 clients connect
I have a server running Ubuntu 12.04 running as a Samba server. The file system is an XFS formatted virtual drive on an LVM pool of physical drives.
I recently upgraded our clients to Windows 8 and I'...
6
votes
1
answer
14k
views
PROPFIND requests from a Microsoft-WebDAV-MiniRedir/6.0.6002 user agent on Apache server where Samba is also running
Ok, here is the context. We've a server which is inside our network; on the server there is a Samba configured, providing access to a number of shares; there is also and Apache server providing other ...
6
votes
2
answers
22k
views
Weird Issue on 2008/2008R2 Shares using SMB2
Having a very odd issue in which when connecting to shares from 2008 or 2008 R2 servers that are hosted by a 2008 or 2008 R2 server the files added to a folder will not always appear to update right ...