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.
Questions tagged [server-message-block]
593 questions
52
votes
2 answers
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 ports, and I don't want to ask for more open ports…
Jonathan
- 623
- 1
- 5
- 5
43
votes
6 answers
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.
jcb344
- 643
- 2
- 7
- 8
33
votes
3 answers
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 are incorrect.
Is there some way to force Windows…
malloc4k
- 831
- 2
- 9
- 16
32
votes
6 answers
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
- 700
- 3
- 10
- 12
31
votes
2 answers
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 regarding failed attempts to connect to a CUPS server.…
evilpenguin
- 781
- 3
- 9
- 16
23
votes
14 answers
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 namespace that they have not accessed for some time. I…
Matt
- 583
- 1
- 6
- 12
22
votes
4 answers
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 on my local LAN.
Is there any reason to leave SMB…
MadRush
- 221
- 1
- 2
- 4
19
votes
2 answers
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 filesystems and am trying to find something concrete…
winhung
- 303
- 2
- 7
18
votes
5 answers
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 software is installed on that remote host; I only know…
Kal
- 361
- 1
- 3
- 7
16
votes
1 answer
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 it needed universal documenting.
Symptoms:…
zastard
- 163
- 1
- 5
16
votes
3 answers
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.
user539484
- 261
- 1
- 2
- 5
14
votes
2 answers
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=fReD.
However, this leads to one major gotcha,…
Roddy
- 280
- 1
- 4
- 9
14
votes
3 answers
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 matching user account on the server, (and connecting by…
NReilingh
- 472
- 3
- 9
- 24
14
votes
1 answer
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, it will show the SMB version in use on shared…
J Smith
- 433
- 3
- 10
13
votes
7 answers
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 copied locally).
Every now and then, a client may…
Jean-Francois Chevrette
- 643
- 2
- 6
- 8