Let's try to go through this as a journey where you and I both stand to learn how this works!
1. Are both services necessary? If not, are there any benefits over running a single service?
Depending on your operating system and environment, both services are not necessary.
SMB (Server Message Block)
Server Message Block, the modern dialect of which is ...
Yes, it is.
When you map the network share from Windows Explorer (right click on share name > Map network drive) you can use different user credentials:
You can also do it via command prompt (started as administrator):
net use [drive] [share] /user:[user] [password]
net use s: \\homesrv\share /user:vp pass123
You could try adding on logon via the 'net' command
net use z: \\server\share
You could get this to start at logon a number of ways - put it in a batch file and add to startup items, add it to task scheduler, or add it to the local group policy are three that come to mind (no doubt there are others)
Use smbutil lookup HOSTNAME (Source).
This will give you the IP address of a given NetBIOS name.
I presume it’s the same as what the Finder does when connecting to an smb:// URL, so it’s probably subject to the same limitations (I don’t actually know what these are but I’ve noticed that the Finder is not always able to look up windows machines in the local ...
To delete saved share usernames:
open cmd prompt type:
net use \\fileservername /delornet use * /delto delete all
found @ http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/AdminTips/Network/DeleteLoginCredentialsforaNetworkShare.html
There are two basic ways to see which files on SMB shares are being accessed:
[CLI] The openfiles command.
[GUI] The Open Files object under Computer Management (compmgmt.msc) => Shared Folders => Open Files.
Any file that is currently open should be considered to be potentially in use, either being read, written to, or simply held open by a process ...
Graphical file managers do not establish 'cifs' kernel mounts; they use Samba's libsmbclient.
The corresponding /etc/samba/smb.conf options are:
client min protocol = SMB2_02
; default is 'CORE' (MS-DOS era)
client max protocol = SMB3
; default was 'NT1' (aka CIFS) until Samba v4.6
; finally includes SMB3 as of Samba v4.7
As soon as you raise ...
When you posted this question 6 months ago, in my efforts to reproduce your problem I disabled then later re-enabled NetBIOS over TCP/IP in the Advanced TCP/IP Settings of my network adapter. A few weeks later I discovered I was having the same problem described in the OP (except, I did it to myself). I ended up fixing the problem after hours of research ...
So I just found this forum post which explains the problem and the solution.
Apparently the Windows Explorer can't handle colons, so the work-around to replace the : with - and then end the end the address with .ipv6-literal.net
well the first problem is that the semi colon is not supported with unc file name eg \sharename
Literal IPv6 addresses in ...
From a command prompt run net session. That will show you session connection information. It will not show you who is actively transferring data. For that you'll need to run a packet capture program on the server.
You could also run the MMC console relative to the Windows OS and Role for File sharing (Share and Storage Management in Windows Server 2008 R2 ...
Which particular updates fix the SMB "flaw"?
This has been fully documented by Microsoft.
MS17-010: Security update for Windows SMB Server: March 14, 2017
This security update resolves vulnerabilities in Microsoft Windows. The most severe of the vulnerabilities could allow remote code execution if an attacker sends specially crafted messages to a ...
First, a little preface. The MS17-010 patch is included in all the update rollups for Windows 7, 8.1 and 10 from March onwards. So if you have the April or May (or newer) rollup updates installed, you don't need (and won't have installed) the specific KB-number linked to the MS17-010 patch.
However, if you've elected to install only security-only updates, ...
I'd recommend mounting it via autofs. This is a service that will mount a directory on demand (for example if you cd into it or ls it) and unmount it automatically after a user defined timeout.
Install the autofs package for your distribution (by the way, remember to include your distro in your questions since an answer's details may depend on it).
Add the ...
I generally simply use a batch script which does a "dir" command on that share.
Open Notepad, and enter the following:
Replace I with the drive letter you have mapped.
You can also do >nul on the end of that command to hide the output in the command prompt window when it runs.
Click File, then Save As.
Change Save as Type to All Files.
Save the ...
sudo mount.cifs //3DS-3885/microSD -o user=3dsUser,password=3dsPass,ip=3dsIP,servern=3DS-3885,uid=linuxUser,gid=users,nounix,vers=1.0 mountPoint
So I spent a while a few months back brute forcing every cifs option to try to get it to work and this is what I found that kind of works.
The important option is "servern"
When I say kind of works I mean it ...
I had the same issue on Windows 7 and this solved it:
1. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
2. Create a DWORD value called LocalAccountTokenFilterPolicy and assign it a value of 1
3. Restart "Server" service or reboot the machine
You can also run this command from elevated cmd and than continue to step 3: ...
The command-line smbutil utility is what you are after:
usage: smbutil [-hv] subcommand [args]
where subcommands are:
help display help on specified subcommand
lookup resolve NetBIOS name to IP address
status resolve IP address or DNS name to NetBIOS names
view list resources on specified host
dfs list DFS ...
If you are not in a Domain: UAC will prevent remote access to administrative shares.
enable built-in Administrator
set registry option which allows remote UAC
DWORD(32 bit): LocalAccountTokenFilterPolicy = 1
Read more here https://4sysops.com/archives/...
Open Windows Explorer.
In the path bar, write \\a.b.c.d (pay attention to the backward slashes).
That should create a new entry in "Network" and show its content.
Double-click on the share you want, for instance sharename in the example of the question.
This error indicates it requires the SMBV1.0.
If you use Windows 10 1709, by default SMBv1.0 is disabled. Reinstall it to access the NAS with PowerShell command:
Enable-WindowsOptionalFeature -FeatureName SMB1Protocol -Online
Shamelessly borrowed from https://askubuntu.com/questions/101029/how-do-i-mount-a-cifs-share
terminal command is:
sudo mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share
note you may need to install cifs-utils
The problem was that although I had sucessfully reinstalled SMB1, the SMB1 client had not been enabled, so if you hit this problem there are two stages.
First Reinstall SMB1.0
In Task bar search for Windows Powershell then Run as Administrator
Run Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol
Now re-enable Client Support
You need to turn on samba logging to see detail error.
For me, this error means my avahi advertised name is different from my samba share name.
## Definde your shares here
And in avahi service definition:
Ahh...this is where it is important for a server guy to understand what's under the hood. Since this is two years old I figure he's solved it already. However for posterity or anyone with a similar issue what he probably ran into is this
(TCP window size * 8bits / RTT in milliseconds) = Max TCP throughput in bps
While you might have a Gigabit network a ...
ES File explorer also solves this and prompts for which app to use if the file type is unknown. Hence ES File explorer is a better solution.
If you are interested, I am using ES File Explorer to connect to an old MS Media Center 2005 (MCE). The files are encoded using an MS variant of MPG with an extension of .dvr-ms MX Player does a great job of playing ...
I have just had a similiar problem.
We have a domain and AD, and all users home folders are set up in the AD.
The user works on a terminal server and her home folder works fine
On the new notebook we were setting up for her, the drive was mapped, but if you tried to access it via unc or by double clicking on the mapped drive it gave an error of the ...