This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-configure-samba-server-share-on-ubuntu-20-04-focal-fossa-linux
I am following the guide but at this point:
smbpasswd -a linuxconfig
I enter the password but then get the following:
Failed to add entry for user linuxconfig.
Any assistance would me much appreciated
Welcome to our forums.
While the tutorial uses the “linuxconfig” user as an example, it also states that it must be an existing user on your system. Did you create the user as described at the beginning of step 3 of the tutorial before running
smbpasswd against it?
Awesome and easy to follow. i had issues on ubuntu 18 but this worked first go. Cheers!
Hi. Thanks for nice explanation. MY host machine is Windows 10 and I am using Ubuntu 20.04 on my virtual machine. My user name for VM & Samba server is same but password is different. I was able to follow and do the steps till Step 9 , but I struck at Step 10 on wards. I am not clear on what details need to be entered while mapping the network drive and what credentials to be used. I tried all possible combinations but unable to get it work. I am not clear on how to get the details for “Samba server IP address or hostname followed by the name of the user’s home directory.” Please help me in understanding the step clearly.