{"id":14473,"date":"2025-06-16T04:57:54","date_gmt":"2025-06-16T04:57:54","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=14473"},"modified":"2025-06-16T04:57:56","modified_gmt":"2025-06-16T04:57:56","slug":"how-to-install-samba-on-debian-12","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/","title":{"rendered":"How to Install Samba on Debian 12"},"content":{"rendered":"\n<p>Samba is open-source software that facilitates the sharing of files, printers, and other network resources over a local or wide area network. Samba can function as a domain controller, file server, or print server for both Linux and Windows systems. It can also operate as a client or server based on the configuration.<\/p>\n\n\n\n<p>Due to its significance, this tutorial will help you understand how to install and configure the Samba server on Debian 12. Furthermore, it will cover creating a shared folder and a user account to enable access from systems.<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Install-Samba-Server-on-Debian-12\">How to Install Samba on Debian 12?<\/a><\/li>\n\n\n\n<li><a href=\"#How-to-Configure-Samba-on-Debian-12\">How to Configure Samba on Debian 12?<\/a><\/li>\n\n\n\n<li><a href=\"#How-to-Uninstall-Samba-on-Debian-12\">How to Uninstall Samba on Debian 12?<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<p>Let\u2019s start with the installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Install-Samba-Server-on-Debian-12\"><a id=\"post-14473-_8aa44q16905v\"><\/a>How to Install Samba Server on Debian 12?<\/h2>\n\n\n\n<p>The process of installing and configuring Samba on Debian 12 is straightforward and takes just a few steps. To install and set up the Samba server on Debian 12, first, you need to install the required Samba packages and modify the Samba conf file (\/etc\/samba\/smb.conf) as required.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_ygucsytapaor\"><\/a>Step 1: Updating System Packages<\/h3>\n\n\n\n<p>To install and configure the Samba server, users need to update packages with the following command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt update<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1141\" height=\"329\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-1.png\" alt=\"sudo apt update\" class=\"wp-image-14474\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-1.png 1141w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-1-300x87.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-1-1024x295.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-1-768x221.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_k2icvsumrone\"><\/a>Step 2: Install Samba<\/h3>\n\n\n\n<p>Samba server can now be installed along with all its dependencies using the \u201capt\u201d package manager:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install samba<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1143\" height=\"466\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-2.png\" alt=\"sudo apt install samba\" class=\"wp-image-14475\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-2.png 1143w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-2-300x122.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-2-1024x417.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-2-768x313.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_rd2u7dxbwdkf\"><\/a>Step 3: Check Samba Services<\/h3>\n\n\n\n<p>The status of the Samba service can be checked with the command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl status smbd<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1144\" height=\"590\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-3.png\" alt=\"sudo systemctl status smbd\" class=\"wp-image-14476\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-3.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-3-300x155.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-3-1024x528.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-3-768x396.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Also, verify the installed version through the \u201cversion\u201d utility:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>smbstatus &#8211;version<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1137\" height=\"144\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-4.png\" alt=\"smbstatus --version\" class=\"wp-image-14477\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-4.png 1137w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-4-300x38.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-4-1024x130.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-4-768x97.png 768w\" sizes=\"(max-width: 1137px) 100vw, 1137px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Configure-Samba-on-Debian-12\"><a id=\"post-14473-_y6r7pybpc8al\"><\/a>How to Configure Samba on Debian 12?<\/h2>\n\n\n\n<p>Samba enables users to share files over a network between multiple operating systems. Let\u2019s perform configuration on Debian 12:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_eadh3pkc1h1d\"><\/a>Step 1: Edit the Samba Configuration File<\/h3>\n\n\n\n<p>Next, look to create a basic shared folder that is accessible to every user in the network. For that purpose, users have to go to the end of the configuration file \u201c\/<strong>etc\/samba\/smb.conf<\/strong>\u201d and append the given lines:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nano \/etc\/samba\/smb.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>The configuration file has numerous options and comments detailing how they work. Users can customize the file to their needs:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>[share] <br>path = \/home\/sambauser\/share <br>valid users = sambauser <br>read only = no <br>browseable = yes<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>With the above configuration, a \u201c<strong>share<\/strong>\u201d named shared has been created, which points to the directory \u201c\/<strong>home\/sambauser\/share<\/strong>\u201d. The \u201c<strong>valid users<\/strong>\u201d settings only permit the newly created user \u201c<strong>sambauser<\/strong>\u201d from the steps below. The \u201c<strong>read only<\/strong>\u201d option provides write access to the folder specified. \u201c<strong>Browseable<\/strong>\u201d allows the share to be visible in the network:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"603\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-5.png\" alt=\"Edit Samba configuration file\" class=\"wp-image-14478\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-5.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-5-300x157.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-5-1024x537.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-5-768x403.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Like all modifications, this one can be saved using Ctrl + O and is closed with Ctrl + X.<\/p>\n\n\n\n<p><strong>Optional<\/strong>: Additionally, users may add a \u201c<strong>guest ok<\/strong>\u201d option, which enables anonymous access to the share. Furthermore, ensure to use the static IP address configured on the Samba server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_m0rp7drr318n\"><\/a>Step 2: Restart the Samba Service<\/h3>\n\n\n\n<p>It is required to add the users through the <strong>systemctl <\/strong>command under Samba services using the <strong>smbd <\/strong>service name.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl restart smbd<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"122\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-6.png\" alt=\"sudo systemctl restart smbd\" class=\"wp-image-14479\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-6.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-6-300x32.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-6-1024x109.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-6-768x81.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_7x4yy3npusux\"><\/a>Step 3: Create a User Account<\/h3>\n\n\n\n<p>To access the shared folder, a new user account must be created on the server using the adduser command. For example, a user \u201c<strong>sambauser<\/strong>\u201d should be created as mentioned in the configuration file above (Step 4):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo adduser sambauser<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"697\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-7.png\" alt=\"sudo adduser sambauser\" class=\"wp-image-14480\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-7.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-7-300x183.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-7-1024x623.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-7-768x468.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_7e861lnt4h3x\"><\/a>Step 4: Set Password for \u201csambauser\u201d Account<\/h3>\n\n\n\n<p>The same command can be utilized to change the password for the <strong>sambauser <\/strong>account on Windows. This time, it is mandatory to have a strong password to ensure account security:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo smbpasswd -a sambauser<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"245\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-8.png\" alt=\"sudo smbpasswd -a sambauser\" class=\"wp-image-14481\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-8.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-8-300x64.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-8-1024x219.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-8-768x164.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_mskj77uzdkk\"><\/a>Step 5: Set Up a New Directory on the Server<\/h3>\n\n\n\n<p>The new directory, which would be shared with the Windows or Linux clients in the preceding step, needs to be created. Let\u2019s make a new directory titled \u201c<strong>share<\/strong>\u201d within the folder \u201c<strong>\/home\/sambauser<\/strong>\u201d using the command <strong>mkdir<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo mkdir \/home\/sambauser\/share<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"112\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-9.png\" alt=\"sudo mkdir \/home\/sambauser\/share\" class=\"wp-image-14482\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-9.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-9-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-9-1024x100.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-9-768x75.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_8mkdl35bz5rn\"><\/a>Step 6: Change Ownership and Permissions<\/h3>\n\n\n\n<p>Users have to adjust the ownership and permissions of the \u201c<strong>share<\/strong>\u201d directory in such a way that only \u201c<strong>sambauser<\/strong>\u201d can access its contents with read and write operations:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo chown sambauser:sambauser \/home\/sambauser\/share <br>sudo chmod 700 \/home\/sambauser\/share<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"167\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-10.png\" alt=\"Change ownership and permission of   Samba configuration file\" class=\"wp-image-14483\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-10.png 1148w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-10-300x44.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-10-1024x149.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-10-768x112.png 768w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14473-_8wnubqhas0fn\"><\/a>Step 7: Verify Configuration File<\/h3>\n\n\n\n<p>To verify that the Samba configuration file has loaded services correctly, run the command \u201c<strong>testparm<\/strong>\u201d:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>testparm<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"693\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-11.png\" alt=\"testparm\" class=\"wp-image-14484\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-11.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-11-300x182.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-11-1024x620.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-11-768x465.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If users encounter issues, they should restart the Samba service on Debian 12.<\/p>\n\n\n\n<p><strong>Install \u201csamba-client\u201d Package (Test Local Connection)<\/strong><\/p>\n\n\n\n<p>To check if a local connection is working, install the \u201c<strong>samba-client<\/strong>\u201d package along with its dependencies, \u201c<strong>cifs-utils<\/strong>\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install samba-client cifs-utils<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"560\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-12.png\" alt=\"sudo apt install samba-client cifs-utils\" class=\"wp-image-14485\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-12.png 1143w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-12-300x147.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-12-1024x502.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-12-768x376.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Check Local Connection<\/strong><\/p>\n\n\n\n<p>For checking the Samba configuration, smbclient can be used with the \u201c<strong>\\\\localhost\\share<\/strong>\u201d prompt while logging in as \u201c<strong>sambauser<\/strong>\u201d. Let\u2019s explore several options through the \u201c<strong>help<\/strong>\u201d:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>smbclient &#8216;\\\\localhost\\share&#8217; -U sambauser<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"625\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-13.png\" alt=\"smbclient '\\\\localhost\\share' -U sambauser\" class=\"wp-image-14486\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-13.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-13-300x164.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-13-1024x559.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-13-768x419.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This tutorial has installed and configured Samba on Debian 12.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Uninstall-Samba-on-Debian-12\"><a id=\"post-14473-_w208nfdsc2cn\"><\/a>How to Uninstall Samba on Debian 12?<\/h2>\n\n\n\n<p>To uninstall <strong>Samba<\/strong> on <strong>Debian 12<\/strong>, follow these steps:<\/p>\n\n\n\n<p>It is a good idea to first stop the Samba services before uninstalling:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl stop smbd<\/p>\n<p>sudo systemctl stop nmbd<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"164\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-14.png\" alt=\"Stop Samba service\" class=\"wp-image-14487\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-14.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-14-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-14-1024x147.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-14-768x110.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If you are on the newer Samba service unit, you might also do:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl stop samba<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"109\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-15.png\" alt=\"sudo systemctl stop samba\" class=\"wp-image-14488\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-15.png 1143w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-15-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-15-1024x98.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-15-768x73.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Remove only the main packages. Utilize apt to remove Samba with related packages:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt remove samba samba-common<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"591\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-16.png\" alt=\"sudo apt remove samba samba-common\" class=\"wp-image-14489\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-16.png 1148w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-16-300x154.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-16-1024x527.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-16-768x395.png 768w\" sizes=\"(max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Remove and clean those specific packages marked for removal. Purge removes config files; autoremove cleans unused dependencies:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt autoremove samba samba-common<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"426\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-17.png\" alt=\"sudo apt autoremove samba samba-common\" class=\"wp-image-14490\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-17.png 1136w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-17-300x113.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-17-1024x384.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-17-768x288.png 768w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can remove the following config files and directories if they still exist. Let\u2019s remove Samba configuration files:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo rm -rf \/etc\/samba\/<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"100\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-18.png\" alt=\"sudo rm -rf \/etc\/samba\/\" class=\"wp-image-14491\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-18.png 1142w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-18-300x26.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-18-1024x90.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-18-768x67.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Make sure to look for any custom shares within the following directory as well:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo rm -rf \/var\/lib\/samba\/<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1152\" height=\"108\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-19.png\" alt=\"sudo rm -rf \/var\/lib\/samba\/\" class=\"wp-image-14492\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-19.png 1152w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-19-300x28.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-19-1024x96.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14473-19-768x72.png 768w\" sizes=\"(max-width: 1152px) 100vw, 1152px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This guide has explained the installation as well as the configuration of Samba on Debian.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-14473-_dxkkfihb45ej\"><\/a>Conclusion<\/h2>\n\n\n\n<p>Samba is an open-source software application that enables file sharing over a network between Linux and Windows computers. To install Samba Server on Debian 12, first, update your system and install the required Samba packages. After that, modify the primary Samba configuration file located at <strong>\/etc\/samba\/smb.conf<\/strong>.<\/p>\n\n\n\n<p>Afterwards, set up a shared folder and determine its permissions. Next, create a Samba user and set a password for the account. Lastly, restart the Samba service and configure it to run at system startup. At this point, you should be able to connect from Windows or Linux and use the shared folder.<\/p>\n\n\n\n<p><\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Samba is open-source software that facilitates the sharing of files, printers, and other network resources over a local or wide area network. Samba can function as a domain controller, file server, or print server for both Linux and Windows systems. It can also operate as a client or server based on the configuration. Due to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14496,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[297,584,857,856],"class_list":["post-14473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-12","tag-file-sharing","tag-print-server","tag-samba"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Samba on Debian 12 - Greenwebpage Community<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Samba on Debian 12 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"Samba is open-source software that facilitates the sharing of files, printers, and other network resources over a local or wide area network. Samba can function as a domain controller, file server, or print server for both Linux and Windows systems. It can also operate as a client or server based on the configuration. Due to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-16T04:57:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-16T04:57:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Samba on Debian 12\",\"datePublished\":\"2025-06-16T04:57:54+00:00\",\"dateModified\":\"2025-06-16T04:57:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\"},\"wordCount\":1032,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg\",\"keywords\":[\"Debian 12\",\"File Sharing\",\"Print Server\",\"Samba\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\",\"name\":\"How to Install Samba on Debian 12 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg\",\"datePublished\":\"2025-06-16T04:57:54+00:00\",\"dateModified\":\"2025-06-16T04:57:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to install Samba on Debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Samba on Debian 12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Samba on Debian 12 - Greenwebpage Community","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Samba on Debian 12 - Greenwebpage Community","og_description":"Samba is open-source software that facilitates the sharing of files, printers, and other network resources over a local or wide area network. Samba can function as a domain controller, file server, or print server for both Linux and Windows systems. It can also operate as a client or server based on the configuration. Due to [&hellip;]","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-06-16T04:57:54+00:00","article_modified_time":"2025-06-16T04:57:56+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Samba on Debian 12","datePublished":"2025-06-16T04:57:54+00:00","dateModified":"2025-06-16T04:57:56+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/"},"wordCount":1032,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg","keywords":["Debian 12","File Sharing","Print Server","Samba"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/","name":"How to Install Samba on Debian 12 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg","datePublished":"2025-06-16T04:57:54+00:00","dateModified":"2025-06-16T04:57:56+00:00","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/How-to-install-Samba-on-Debian-12.jpg","width":1020,"height":600,"caption":"How to install Samba on Debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-samba-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Samba on Debian 12"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=14473"}],"version-history":[{"count":3,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14473\/revisions"}],"predecessor-version":[{"id":14495,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14473\/revisions\/14495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/14496"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=14473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=14473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=14473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}