Questions about Grub, UEFI,the liveCD and the installer Show
QuazaaLevel 1 smbusers error through testparmSo I keep having this problem, I have researched it with no luck so far... I am trying to
set up my NAS through Samba on Mint. $ sudo smbpasswd -a mint Maybe I am not running testparm correctly, or I am overlooking something simple? Regards altair4Level 20 Re: smbusers error through testparmPost by altair4 » Tue Dec 21, 2021 8:18 am
Is that a typo? Along with the command RowlandP suggested you might want to do the same with this smbshared.conf file - if it exists: Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved. QuazaaLevel
1 Re: smbusers error through testparmPost by Quazaa » Tue Dec 21, 2021 1:16 pm Yes is it a direct file where the smb.conf file is located. It has three folders shared, conf, and I am trying to setup the users file. The users file is where I have no luck. I made sure all of my info in the smb.conf file was correct. legacypowersLevel
4 Re: smbusers error through testparmPost by legacypowers » Tue Dec 21, 2021 1:18 pm
try
altair4Level 20 Re: smbusers error through testparmPost by altair4 » Tue Dec 21, 2021 1:52 pm
The only way to diagnose what is wrong is to share with us the contents of the file. Do what RowlandP asked you to do. Post the output of: Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
RowlandPLevel 3 Re: smbusers error through testparmPost by RowlandP » Tue Dec 21, 2021 3:27 pm 'testparm' when run by itself, attempts to test smb.conf in the position that your distro says it is, usually /etc/samba/smb.conf. I cannot help further until you do. Where is etc Samba smb conf?Samba's configuration is stored in the smb. conf file, which usually resides in /etc/samba/smb. conf or /usr/local/samba/lib/smb. conf .
What is ETC Samba smb conf?The /etc/smb. conf file is the main configuration file for the Samba server, in which you can specify which directory you want to access from Windows machines, which IP addresses are authorized, and so on.
How do I access Samba config file?The main Samba configuration file is located in /etc/samba/smb. conf .
Where is the smb conf file in Linux?Samba configuration on a Linux (or other UNIX machine) is controlled by a single file, /etc/smb. conf. This file determines which system resources you want to share with the outside world and what restrictions you wish to place on them.
|