20
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
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/...
17
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 ...
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
12
votes
Samba public share - Windows keeps asking for password
This was the key option to set to resolve this issue:
[global]
map to guest = bad user
11
votes
Access denied to Samba share from Windows 10
To access the samba share, please pay attention to:
You had to create a system user with the same username. In this case, please issue the following command: useradd -s /sbin/nologin benjamin
If you ...
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
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
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
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
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).
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
Accepted
Cannot connect to Linux Samba share from Windows 10
This solved my problem:
Windows 10 will try to negotiate SMB3_11, which Samba4 doesn't yet support
except in the current 4.3 release candidate. I suspect for now disabling
SMB2/3 on the Windows ...
7
votes
Samba NT_STATUS_ACCESS_DENIED error on Ubuntu
It turns out that, besides the Unix username, I'm also required to add a Samba username with the command below:
smbpasswd -a john
To see the users that are already created the command below can be ...
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
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
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
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
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:
...
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(), ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
samba × 1869linux × 439
active-directory × 267
windows × 230
ubuntu × 209
samba4 × 146
network-share × 119
ldap × 112
centos × 109
cifs × 109
permissions × 94
server-message-block × 92
debian × 82
winbind × 77
windows-7 × 74
kerberos × 64
mac-osx × 63
networking × 57
authentication × 56
nfs × 52
mount × 52
openldap × 49
file-sharing × 49
domain-controller × 45
share × 42