1 Answer. If you get an Access Denied error when attempting to access or view SMB shares from a server, the password you supplied might be wrong or the SMB server might be part of a different domain. This issue also occurs because the target folder on the SMB share is missing the SYNCHRONIZE access control entries.
Maybe your Windows host is prepending your username with the wrong domain name.
Issue pdbedit -L and check if user simon is listed.
If user simon is not listed, try to recreate it issuing smbpasswd -a simon
If it does not work, delete the passwd file (it is named passwd.tdb; for reference, it is found under /var/lib/samba/private/ ).
No samba, no version, no logs, nothing on other versions of Windows. Have you tried mounting someone’s share yourself from the server machine? Added. Other types of Windows versions cannot be tried, but all imagined versions may be useful. You had to create a method user with the old username.
I don’t know what it is, fortunately that you might want to take apart. You can also access the samba share without using an account because you need to change “security=user” if you need “security=share” and try to think of it so that the guest can access it first. Now I have explicitly reinstalled Samba and switched to “Security equals sharing” mode and made my expansion fully public and it works!!!
Apparmor may also be the cause. You must whitelist all approved cities or you will always get a permission denied error. for each position. (The first line provides read access to the home directory, the second line provides recursive read and write access to everything in the home directory.)
Which is Samba server does the samba client use?
A Samba client is a plan that uses Samba services from a Samba server over the standard SMB protocol. Common operating systems such as Windows and macOS support the SMB protocol. The TCP/IP protocol should be installed on most computers.
Which file defines Samba shares on a Samba server?
samba/smb.conf
Samba configuration database /etc/samba/smb. conf defines parameters important for creating a Samba-based shared folder. After testing Samba’s integration with Centrify and Active Directory Authentication Service by creating a sample configuration file and publishing this test, you need to run the smb.
Do you need a samba password to use Samba?
Note: Samba uses a different set of passwords than traditional Linux system accounts (stored in /etc/samba/smbpasswd), so you need to create a permanent Samba password for yourself. This FAQ assumes that you will be your app’s own user, and it just doesn’t cover situations involving other user accounts, groups, etc.
Why is my Samba share getting access denied?
I was mysteriously getting “Permission Denied” side effects when trying to create/write/delete files in additional folders in subdirectories of Samba, my own Windows share. Oddly enough, transferring MP3s to the root folder worked fine.
What to do when Samba is denied access?
If you receive an error message saying that you are not allowed to create certain shares yourself, your user account features have been added to the sambashare circle. After changing groups, you may need to log out for the changes to take effect. If you encounter “connection refused” errors, make sure you allow access through the firewall.

Ermias is a tech writer with a passion for helping people solve Windows problems. He loves to write and share his knowledge with others in the hope that they can benefit from it. He’s been writing about technology and software since he was in college, and has been an avid Microsoft fan ever since he first used Windows 95.