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 ...
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 ...
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.
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/...
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, ...
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
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
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 ...
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 ...
Community wiki
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....
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 ...
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).
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 ...
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 ...
8
votes
Windows 10 samba NT_STATUS_CONNECTION_RESET after upgrade
You can try:
smbclient -L <hostname> -m SMB2
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 ...
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:
...
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 ...
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$ ...
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
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 ...
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. ...
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 ...
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 - ...
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(), ...
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 ...
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 ...
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\...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
samba × 1881linux × 442
active-directory × 267
windows × 231
ubuntu × 213
samba4 × 145
network-share × 119
ldap × 112
cifs × 111
centos × 107
permissions × 96
server-message-block × 92
debian × 84
winbind × 76
windows-7 × 74
kerberos × 67
mac-osx × 64
networking × 57
authentication × 55
mount × 53
nfs × 51
openldap × 50
file-sharing × 49
domain-controller × 47
share × 42