21 votes

Special characters in Samba filenames

I own an Apple Macbook Pro laptop with 64-bit OS X 10.11 "El Capitan" running Samba 3 that I installed through Macports. I also own a Dell Inspiron laptop with 64-bit GNU/Linux XUbuntu 16.04 "Xenial ...
Yuri Sucupira's user avatar
18 votes

How can make changes to my smb.conf file go live without a reboot?

Restarting just the service seems like an improvement on rebooting. Even better still is to make use of the config reload that comes with many linux services, including Samba. This feature is often ...
Bill Huneke's user avatar
18 votes
Accepted

Win10 NFS Client a SAMBA Killer?

SMB 3.xx has a better tuned performance over "generic" TCP connectivity and has features like RDMA and multichannel support Microsoft didn't implement with "their" (actually - licensed) NFS client.
BaronSamedi1958's user avatar
17 votes
Accepted

How to configure Samba to work with Windows 10 1709?

For security reasons Microsoft has disabled the SMB 2 guest access. You are right that you can change the Windows settings to allow the guest access to the samba share. https://tech.nicolonsky.ch/...
Net Runner's user avatar
  • 6,229
16 votes

Hiding samba share from browse list for unauthorised users

To hide the full share, you can use the following option: [global] access based share enum = yes To hide files/folders inside a share to users who do not have read permission on those files/folders, ...
mryan's user avatar
  • 261
14 votes
Accepted

Use NTLMv2 Authentication with Samba

Supposedly, Samba's defaults match the following values, but I had to set them explicitly: lanman auth = no ntlm auth = yes client lanman auth = no
palswim's user avatar
  • 442
10 votes

Access denied to Samba share from Windows 10

It is possible you need to add the user in question to your smb service in linux sudo smbpasswd -a myuser
CesareoAguirre's user avatar
10 votes
Accepted

Debian Jessie samba start on boot

Use the following command to enable samba: $ sudo systemctl enable smbd.service nmbd.service Synchronizing state for smbd.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d ...
techraf's user avatar
  • 4,343
10 votes
Accepted

Samba (CIFS) mount error(9): Bad file descriptor

Edit: someone from the community has noticed that official update fixing the problem has been released; this link provides a solution: Microsoft released the Update KB4487345 to fix the issue: This ...
9 votes
Accepted

Difference between durable file handles, resilient file handles and persistent file handles

Durable handles are part of SMB 2.0 Resilient handles are part of SMB 2.1 Persistent handles are part of SMB 2.2 which is now called SMB3 My main references for the following are: https://wiki.samba....
Ward - Trying Codidact's user avatar
9 votes
Accepted

CentOS7 Kerberos Auth: Improper format of Kerberos configuration file;

After many hours, many different sets of eyes, a dozen rebuilds and rejoins, the #samba freenode channel, and hard liquor, I found the solution. It turns out that whichever tools associated with the ...
beeks's user avatar
  • 211
9 votes
Accepted

samba share in /etc/fstab is ignored during mount -a but manual mount works

That's normal behaviour if you set noauto. From man mount: noauto Can only be mounted explicitly (i.e., the -a option will not cause the filesystem to be mounted).
Gerald Schneider's user avatar
9 votes
Accepted

Access Windows 10 Samba Share from Linux commandline with minimal SMB2

The Answer to howto includes multiple parts as the situation might be a bit different depending what you need. I included everything i found (or believe to have found) via the various searches which ...
Dennis Nolte's user avatar
  • 2,911
8 votes

Listing available smb shares on a network through the command line in linux

In samba version 4, nmblookup '*' no longer works; it only gives the local server. It used to work in samba version 3. Now, you have to use nmblookup WORKGROUP, which as Kurt mentioned, only ...
Doke's user avatar
  • 121
8 votes

Windows 10 samba NT_STATUS_CONNECTION_RESET after upgrade

You can try: smbclient -L <hostname> -m SMB2
fireb86's user avatar
  • 181
8 votes

Samba SMB Encryption - How safe is it?

You could see the Encryption in SMB 3.0: A protocol perspective and Encryption in SMB3 for technical details, but I think the fact that Azure Files allows mounting over the Internet using (only) SMB3 ...
Esa Jokinen's user avatar
  • 49.7k
7 votes

Cannot connect to Linux Samba share from Windows 10

Problem: Windows removed SMB v1 protocol on latest Windows OS, Linux try to connect with v1 protocol and Windows/Linux fails to try protocol 2, 3 etc. Solution: edit linux (ubuntu) Samba conf file: ...
Carlos V. Gonzalez's user avatar
7 votes
Accepted

What does an alias group means in SID context?

Microsoft documented most of the internals of this in [MS-SAMR]. Here are some definitions from that document: account: A user (including machine account), group, or alias object. Also a synonym for ...
Ryan Ries's user avatar
  • 55.9k
6 votes

Listing available smb shares on a network through the command line in linux

a better way, more fiendly printed, is to use smbtree. $ smbtree Enter user01's password: DOMAIN_A \\FREEBOX_SERVER Freebox Server \\FREEBOX_SERVER\IPC$ ...
Stagira's user avatar
  • 61
6 votes

Listing available smb shares on a network through the command line in linux

Another way to do this is via Avahi (Bonjour), as long as the servers are publishing: avahi-browse -r _smb._tcp
hooby3dfx's user avatar
  • 173
6 votes

Unable to see Samba server by netbios name

This is on samba 4.7.1 I was having the same problem as OP and alecov. Turns out, nmb service were not running. You need to enable nmb separately from smb: sudo systemctl enable nmb sudo systemctl ...
M7852396541's user avatar
6 votes

Samba public share - Windows keeps asking for password

I ran into the same issue (Windows kept rejecting the pi's password) until I got a tip from this YouTube video. Basically I had to run the command: sudo smbpasswd -a pi to create the pi samba user. ...
T Mai's user avatar
  • 61
6 votes

How to make Samba share to NOT ASK FOR PASSWORD

The config can be shorter: Create unix user jonnie sudo useradd jonnie -s /usr/sbin/nologin Create smbuser sudo smbpasswd -a jonnie Create the Linux directory to share mkdir /mysmbshare Change the ...
BdK's user avatar
  • 89
6 votes

Access denied to Samba share from Windows 10

On the Windows PC, Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel to 4 Network security: LAN Manager authentication level is usually set to Send LM & NTLM - ...
Zeek's user avatar
  • 69
6 votes

any way to speed up mapped EFS share in Windows?

We had similar issues and found a solution for it. We were able to narrow the issue down to SAMBA failing to report EFS size in time. More specifically, samba fails to execute sys_get_nfs4_quota(), ...
Veddad Zahiragic's user avatar
6 votes

How can Samba be configured to use LDAP for authentication only?

I assume that you want to run Samba in simple WinNT-compatible domain controller mode, not the full Active Directory mode. First you have to understand that SMB authentication is based on a NTLM ...
Michael Ströder's user avatar
6 votes

Copying terabytes of hundreds of thousands of files in folder slow

The root cause for the slow transfer rate is, possibly, the fact that the workstation M2 drives need to do a lot of random reads. The fast NVMe M2s (that you are most likely using, I think) are ...
Jules's user avatar
  • 61
5 votes

Server 2008/Windows 7/Samba Unspecified error 80004005

Try to to enable only SMB 2 or 3 on server or just on windows client. In the registry set value on 1 for: AllowInsecureGuestAuth in key: HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\...
Grzegorz Bednarski's user avatar
5 votes

Samba Ignoring POSIX ACLs

Coming late to this question, I'd still like to point to the official Samba documentation for support of ACLs. This is valid for Samba 4.0.0 onwards, which certainly was not available at the time this ...
cfi's user avatar
  • 258

Only top scored, non community-wiki answers of a minimum length are eligible