🌐
Delinea
docs.delinea.com › online-help › server-suite › integrate › samba › config › modify.htm
Modifying the Samba smb.conf Configuration File | Delinea
After you have verified the Samba integration with the Authentication Service and Active Directory using a sample configuration file and the test share, you need to modify the smb.conf file so that it accurately represents your environment.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
Samba file share by editing smb.conf [solved] - Linux Mint Forums
June 7, 2025 - <Nemo><open as Root> /etc/samba Edit smb.conf in Global settings add the following lines Code: Select all # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP netbios name = "[b]Whatever name you choose[/b]" usershare owner only = false force user = [b]your name[/b] client max protocol = NT1 client min protocol = NT1 # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) server min protocol = NT1 <Save><Close> Then add your permissions to whatever folders you want to share.
Discussions

How to edit "smb.conf" - Apple Community
To set up file sharing for CIFS/SMB/Samba and AFP on Mac OS X client, launch System Preferences, select Sharing, and select File Services, set up your shares, and enable file services. You can control both services, but Mac OS X client will start both by default. It's still ill-advised to edit the configuration ... More on discussions.apple.com
🌐 discussions.apple.com
Can /etc/samba/smb.conf actually be manually edited?
🌐 r/OpenMediaVault
5
6
March 2, 2023
Change smb.conf - General Support - LibreELEC Forum
As for security reasons I want to disable SMBv1. Therefore I have to edit /etc/samba/smb.conf. The File is read-only, so I can't change. How can I edit the file? More on forum.libreelec.tv
🌐 forum.libreelec.tv
June 30, 2017
How to edit smb.conf?
I have tried to find in the forum, but all references is to NS7. I would like to know how to correctly edit smb.conf file in NS8 to include ldap server require strong auth = no in [global] parameter? More on community.nethserver.org
🌐 community.nethserver.org
0
0
September 4, 2024
🌐
Samba
samba.org › samba › docs › current › man-html › smb.conf.5.html
smb.conf
If you use this macro in an include statement on a domain that has a Samba domain controller be sure to set in the [global] section server smb transports = 139. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x. ... the NetBIOS name of the server. This allows you to change your config based on what the client calls you.
🌐
Apple Community
discussions.apple.com › thread › 2737319
How to edit "smb.conf" - Apple Community
To set up file sharing for CIFS/SMB/Samba and AFP on Mac OS X client, launch System Preferences, select Sharing, and select File Services, set up your shares, and enable file services. You can control both services, but Mac OS X client will start both by default.
🌐
Reddit
reddit.com › r/openmediavault › can /etc/samba/smb.conf actually be manually edited?
r/OpenMediaVault on Reddit: Can /etc/samba/smb.conf actually be manually edited?
March 2, 2023 -

From various results (including from this subreddit) it seems like smb.conf can be manually edited and I would expect it to be if some setting isn't exposed via the GUI.

However inside the file the top-most comment says it's auto-generated by OMV and WARNING: Do not edit this file, your changes will be lost.

This is via SSH under a non-privileged user on OMV.

Is the comment just boilerplate text or actually relevant? Are there any gotchas or is there somewhere else that manual Samba setting changes are meant to be?

🌐
Linux Genie
linuxgenie.net › home › how to edit smb.conf in linux mint
How to Edit smb.conf in Linux Mint - Linux Genie
June 12, 2023 - The “sudo apt-get install samba” command is used to install the samba package. Whereas, the “sudo nano /etc/samba/smb.conf” command is used to edit the file according to your need and requirements.
🌐
Samba
samba.org › samba › docs › using_samba › ch06.html
Chapter 6. The Samba Configuration File
If you're making anything more than a minor change, it may be wiser to copy smb.conf to a temporary file, edit that, run testparm filename to check it, and then copy the temporary file back to smb.conf.
Find elsewhere
🌐
LibreELEC
forum.libreelec.tv › libreelec forum › help & support › general support
Change smb.conf - General Support - LibreELEC Forum
June 30, 2017 - You're mistakenly thinking to edit /etc which you shouldn't as it's read-only. When you have /storage/.config/samba.conf it will take priority. You'll need LibreELEC 8.2 or master for SMB2/3.
🌐
NethServer Community
community.nethserver.org › support
How to edit smb.conf? - Support - NethServer Community
September 4, 2024 - I have tried to find in the forum, but all references is to NS7. I would like to know how to correctly edit smb.conf file in NS8 to include ldap server require strong auth = no in [global] parameter?
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › networking
Can't edit smb.conf <SOLVED> - Linux Mint Forums
May 4, 2013 - Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total. Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed. ... That command would work on Cinnamon. I think for KDE you would run instead: ... kdesudo kate /etc/smb.conf or for editing from the terminal (which works across all Linux Mint editions):
🌐
Dummies
dummies.com › article › technology › information-technology › networking › general-networking › network-administration-samba-smb-conf-file-183704
Network Administration: Samba smb.conf File | dummies
March 26, 2016 - If you like the raw power that comes from editing configuration files, fire up your favorite text editor and play with the Samba configuration file. It’s called smb.conf and is usually located in the /etc/samba directory, although some distributions may place this file in another location.
Author  
🌐
Reddit
reddit.com › r/linux4noobs › help editing smb.conf
r/linux4noobs on Reddit: Help editing smb.conf
August 18, 2023 -

I've been trying for a couple of weeks to share an SSD drive connected externally by USB to an old laptop running Linux Mint. I'm making progress little by little. The goal is to recover my data by connecting from the Windows PC. The drive was originally an internal drive in the Windows 10 desktop but during a power outage, suffered a corrupt partition rendering it unreadable by Windows. I discovered it is readable when connected as an external drive to the Linux laptop. I'm finally able to see the laptop in the network and add the SSD as a mapped drive, but I get a credentials prompt with the Linux user name, but the password does not work. What do I need to add to the smb.conf to be able to connect? I ran testparm and can post the results, but being a noob I really can't interpret it.

Edits added to the smb.conf:

[Downloads]

path = /media/johnny/Downloads

available = yes

valid users = johnny

read only = no

browsable = yes

public = yes

writable = yes

🌐
QNAP NAS Community Forum
forum.qnap.com › home › board index › general › backup & restore
How to edit smb.conf - QNAP NAS Community Forum
March 21, 2013 - Trkkr wrote:Hi There, We are trying to backup a Windows Server 2008 R2 using Windows Server Backup to a TS-269 Pro using the 'Custom' backup option to select only certain folders on the server to backup. Every backup is failing and looking into the error message I've found forums saying that if you edit a line in the smb.conf file that it should clear the error and allow to backup to run.
🌐
The Linux Documentation Project
tldp.org › LDP › solrhe › Securing-Optimizing-Linux-RH-Edition-v1.3 › chap29sec284.html
Configuration of the /etc/smb.conf file
In our example we have created just one directory, [tmp] and have allowed only class C machine IP address ranges to connect on the Samba server. Also, we don't use print-sharing capability between Samba and Windows on this server. Edit the smb.conf file, vi /etc/smb.conf and add/change the ...
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › using the raspberry pi › beginners
Editing the Samba Config file - Raspberry Pi Forums
Richard-TX wrote:cat smb.conf | grep -ve ^# -ve \.^\;\. -ve ^$ > outfileYou have quoted the semicolon adequately, but what are the \. for?
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-newbie-8 › edit-conf-files-via-samba-4175529355
[SOLVED] edit conf files via samba
I would like to edit the various conf files of an arch linux install (for example nginx.conf) from a windows machine. I have got samba up and running,
🌐
Ubuntu
ubuntu.com › server › docs › how-to › samba › file-server
Set up Samba as a file server - Ubuntu Server documentation
2 weeks ago - See the smb.conf man page or the Samba HOWTO Collection for more details. First, edit the workgroup parameter in the [global] section of /etc/samba/smb.conf and change it to better match your environment:
🌐
FAQs.org
faqs.org › docs › securing › chap29sec284.html
31.5. Configuration of the /etc/smb.conf file
In our example we have created just one directory, [tmp] and have allowed only class C machine IP address ranges to connect on the Samba server. Also, we don't use print-sharing capability between Samba and Windows on this server. Edit the smb.conf file, vi /etc/smb.conf and add/change the ...