Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ubuntu 20.04 Essentials

You're reading from   Ubuntu 20.04 Essentials A guide to Ubuntu 20.04 desktop and server editions

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781800568525
Length 328 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (38) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Ubuntu on a Clean Disk Drive 4. Installing Ubuntu with the Network Installer 5. Dual Booting Ubuntu with Windows 6. Allocating Windows Disk Partitions to Ubuntu 7. A Guided Tour of the GNOME 3 Desktop 8. An Overview of the Ubuntu Cockpit Web Interface 9. Using the Bash Shell on Ubuntu 10. Managing Ubuntu Users and Groups 11. Managing Ubuntu systemd Units 12. Ubuntu Software Package Management and Updates 13. Ubuntu Snap Package Management 14. Ubuntu Network Management 15. Ubuntu Firewall Basics 16. Using gufw and ufw to Configure an Ubuntu Firewall 17. Basic Ubuntu Firewall Configuration with firewalld 18. Configuring SSH Key-based Authentication on Ubuntu 19. Ubuntu Remote Desktop Access with Vino 20. Ubuntu Remote Desktop Access with VNC 21. Displaying Ubuntu Applications Remotely (X11 Forwarding) 22. Using NFS to Share Ubuntu Files with Remote Systems 23. Sharing Files between Ubuntu and Windows Systems with Samba 24. An Overview of Virtualization Techniques 25. Installing KVM Virtualization on Ubuntu 26. Creating KVM Virtual Machines using Cockpit and virt-manager 27. Creating KVM Virtual Machines with virt-install and virsh 28. Creating an Ubuntu KVM Networked Bridge Interface 29. Managing KVM using the virsh Command-Line Tool 30. An Introduction to Linux Containers 31. Working with Containers on Ubuntu 32. Setting Up an Ubuntu Web Server 33. Configuring an Ubuntu Postfix Email Server 34. Adding a New Disk Drive to an Ubuntu System 35. Adding a New Disk to an Ubuntu Volume Group and Logical Volume 36. Adding and Managing Ubuntu Swap Space 37. Ubuntu System and Process Monitoring Index

23.5 Configuring the smb.conf File

Samba is a highly flexible and configurable system that provides many different options for controlling how resources are shared on Windows networks. This flexibility can lead to the sense that Samba is overly complex to work with. In reality, however, many of the configuration options are not needed by the typical installation, and the learning curve to set up a basic configuration is actually quite short.

For the purposes of this chapter we will look at joining an Ubuntu system to a Windows workgroup and setting up a directory as a shared resource that can be accessed by a specific user. This is a configuration known as a standalone Samba server. More advanced configurations such as integrating Samba within an Active Directory environment are also available, though these are outside the scope of this book.

The first step in configuring Samba is to edit the /etc/samba/smb.conf file.

23.5.1 Configuring the [global] Section

The smb.conf...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime