{"id":18178,"date":"2026-09-23T06:14:07","date_gmt":"2026-09-23T06:14:07","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=18178"},"modified":"2026-09-23T06:14:10","modified_gmt":"2026-09-23T06:14:10","slug":"how-to-install-and-configure-samba-on-ubuntu-26-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/","title":{"rendered":"How to Install and Configure Samba on Ubuntu 26.04"},"content":{"rendered":"\nSharing files between different operating systems can be a little challenging for new users on a single system. Therefore, to address this problem, we have a simple solution for you: Samba.\n\n\n\n<p class=\"wp-block-paragraph\">\n  Samba is an open-source software that allows sharing between different operating systems on a single network; it provides smooth access to files and other resources from one system to another.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_faw7rliufmkz\"><\/a><strong>What is Samba<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Samba is free, open-source software that was originally released in 1991 by Andrew Tridgell. Developed as open-source software, it uses the Server Message Block (SMB) protocol, which is the standard for sharing resources such as files and printers. In addition, Samba creates a network share to allow file sharing between Windows and Unix-like operating systems, or vice versa.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_77aucgig6vw4\"><\/a><strong>Features of Samba<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Let&#8217;s discuss a few of the main features of Samba:\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Cross-Platform Sharing:<\/strong> Samba lets users share files across different operating systems like Windows and Linux over the same network.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SMB\/CIFS Protocol Support:<\/strong> Samba uses the SMB\/CIFS protocol, which allows efficient communication between operating systems.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Domain Controller Functionality:<\/strong> Samba can also act as a domain controller, which manages users, passwords, and devices on a network. Moreover, it can work with Windows Active Directory.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Print Services:<\/strong> Samba can manage print services, which allows Linux-connected printers to be accessed by Windows clients.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_ywlhcuv0y5qu\"><\/a><strong>Installation of Samba on Ubuntu<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  In this section, we\u2019ll install Samba on our Ubuntu 26.04 LTS. Before installing anything, it is a good practice to update your Linux system. Let\u2019s start with the system update:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo apt update\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After the system update, which will take a minute or two, execute the installation command:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo apt install samba\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After a few seconds, it will ask you whether to continue the operation. <strong>Type y and hit the Enter key.<\/strong>\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1082\" height=\"494\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-1.png\" alt=\"install samba\" class=\"wp-image-18179\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-1.png 1082w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-1-300x137.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-1-1024x468.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-1-768x351.png 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Once the installation is complete, you can check the Samba installation path using the following command:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ whereis samba\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1086\" height=\"75\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-2.png\" alt=\"check samba installation path\" class=\"wp-image-18180\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-2.png 1086w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-2-300x21.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-2-1024x71.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-2-768x53.png 768w\" sizes=\"(max-width: 1086px) 100vw, 1086px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Additionally, you can check which <strong>version of Samba<\/strong> you have installed by using the command <strong>smbd \u2013version<\/strong>:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ smbd \u2013version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Here, version 4.23.6 of Samba is installed in my Ubuntu system; yours may differ from this according to your distribution of the operating system.\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1078\" height=\"47\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-3.png\" alt=\"check samba version\" class=\"wp-image-18181\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-3.png 1078w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-3-300x13.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-3-1024x45.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-3-768x33.png 768w\" sizes=\"(max-width: 1078px) 100vw, 1078px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Lastly, to check the status of Samba, you can run the following command:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ systemctl status smbd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The result shows that Samba is running (active).\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1068\" height=\"628\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-4.png\" alt=\"check samba status\" class=\"wp-image-18182\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-4.png 1068w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-4-300x176.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-4-1024x602.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-4-768x452.png 768w\" sizes=\"(max-width: 1068px) 100vw, 1068px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Finally, you have successfully installed Samba on your Ubuntu system.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_oj0o4qpk9bf0\"><\/a><strong>Creating a Shared Directory <\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Now, let\u2019s move on to create a shared directory to implement the actual use of Samba, which is sharing files.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  To do this, execute the following command:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo mkdir -p \/home\/sharing\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Run the ls command to verify if the directory was created successfully:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ ls \/home\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1070\" height=\"78\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-5.png\" alt=\"create a directroy\" class=\"wp-image-18183\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-5.png 1070w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-5-300x22.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-5-1024x75.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-5-768x56.png 768w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_l53dsam57xzx\"><\/a><strong>Configuring Samba<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After creating the <strong>\u2018sharing<\/strong>\u2019 directory, we will configure Samba by <strong>modifying the smb.conf file<\/strong>:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo nano \/etc\/samba\/smb.conf\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  This type of text file will open; scroll to the end of the file.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Write the following lines in the file and save it:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n<p>[sambashare]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n     comment = Samba on Ubuntu\n  <br>\n     path = \/home\/sharing\n  <br>\n     read only = no\n  <br>\n     browsable = yes\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1050\" height=\"920\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-6.png\" alt=\"samba configuration file\" class=\"wp-image-18184\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-6.png 1050w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-6-300x263.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-6-1024x897.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-6-768x673.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  To make sure the Linux firewall enables Samba traffic, use the following command:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo ufw allow samba\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Now, before starting Samba, restart your services:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl restart smbd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Then check if it is active by checking its status:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ systemctl status smbd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1067\" height=\"614\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-7.png\" alt=\"restart and check samba status\" class=\"wp-image-18185\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-7.png 1067w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-7-300x173.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-7-1024x589.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-7-768x442.png 768w\" sizes=\"(max-width: 1067px) 100vw, 1067px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_r02gsfv7vsn2\"><\/a><strong>Setting up a User Account<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  To share files through Samba, we need to create a user account. By executing the following command, we can create a user account and set a password:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo smbpasswd -a ubuntu\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Here, we created an account named &#8216;ubuntu&#8217; and set a password:\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1049\" height=\"152\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-8.png\" alt=\"create a user\" class=\"wp-image-18186\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-8.png 1049w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-8-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-8-1024x148.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-8-768x111.png 768w\" sizes=\"(max-width: 1049px) 100vw, 1049px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_hhn7asie5glh\"><\/a><strong>Connecting to the Shared Directory<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Now, to connect to the shared directory, open the default file manager and go to the network section.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Type <strong>\u201csmb:\/\/10.0.2.15\u201d (Samba server address)<\/strong> in the blank in front of<strong> connect to server <\/strong>and press enter. A pop-up box will appear. Select Registered User and enter the Samba username and password created earlier. The default domain can remain WORKGROUP.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After that, set the password for the user we just added and connect it to share files.\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"882\" height=\"547\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-9.png\" alt=\"connect to shared directory\" class=\"wp-image-18187\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-9.png 882w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-9-300x186.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-9-768x476.png 768w\" sizes=\"(max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Moving ahead, you\u2019ll be asked to create the password for the keyring:\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"542\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-10.png\" alt=\"set a password for new keyring\" class=\"wp-image-18188\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-10.png 877w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-10-300x185.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-10-768x475.png 768w\" sizes=\"(max-width: 877px) 100vw, 877px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Click on continue; and then the Samba Share will appear in the file manager, allowing you to access the shared directory. \n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1048\" height=\"591\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-11.png\" alt=\"samba file manager\" class=\"wp-image-18189\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-11.png 1048w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-11-300x169.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-11-1024x577.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-11-768x433.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Now, we can easily share files between Ubuntu and Windows, as well as with other operating systems.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_hye17cq2zwn4\"><\/a><strong>Testing the Samba Shared Directory<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  In this section, we\u2019ll check if our shared Samba directory is working or not. To test it, we\u2019ll create a .txt test file in the <em>\/home\/sharing<\/em> directory:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ sudo touch \/home\/sharing\/test.txt\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  To verify that the file was created successfully, run: \n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  $ ls -l \/home\/sharing\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><figure><img loading=\"lazy\" decoding=\"async\" width=\"1059\" height=\"110\" class=\"wp-image-18190\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-12.png\" style=\"\" alt=\"create a test file \" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-12.png 1059w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-12-300x31.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-12-1024x106.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-12-768x80.png 768w\" sizes=\"(max-width: 1059px) 100vw, 1059px\" \/><\/figure><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The output should show the newly created test.txt file. The 0 indicates that the file is currently empty. \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After verifying the file, we\u2019ll open Samba Share in File Manager to confirm that test.txt appears:\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"492\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-13.png\" alt=\"confirm test file in samba file manager\" class=\"wp-image-18191\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-13.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-13-300x141.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-13-1024x483.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-18178-13-768x362.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Our file automatically appears in the Samba share. \n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-18178-_tdnoxt2lxbt0\"><\/a><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Samba is an open-source software that allows sharing between different operating systems on a single network; it provides smooth access to files and other resources from one system to another. It bridges the gap between different operating systems in hybrid environments.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we\u2019ve installed and configured Samba on Ubuntu 26.04 and tried to share a file using it. We hope you liked it. Have a good rest of the day.<\/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>Sharing files between different operating systems can be a little challenging for new users on a single system. Therefore, to address this problem, we have a simple solution for you: Samba. Samba is an open-source software that allows sharing between different operating systems on a single network; it provides smooth access to files and other [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":18198,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[584,856,1054],"class_list":["post-18178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-file-sharing","tag-samba","tag-ubuntu-26-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install and Configure Samba on Ubuntu 26.04 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.\" \/>\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-and-configure-samba-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Samba on Ubuntu 26.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-23T06:14:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-23T06:14:10+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.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=\"7 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-and-configure-samba-on-ubuntu-26-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install and Configure Samba on Ubuntu 26.04\",\"datePublished\":\"2026-09-23T06:14:07+00:00\",\"dateModified\":\"2026-09-23T06:14:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\"},\"wordCount\":922,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg\",\"keywords\":[\"File Sharing\",\"Samba\",\"Ubuntu 26.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\",\"name\":\"How to Install and Configure Samba on Ubuntu 26.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg\",\"datePublished\":\"2026-09-23T06:14:07+00:00\",\"dateModified\":\"2026-09-23T06:14:10+00:00\",\"description\":\"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg\",\"width\":1020,\"height\":600,\"caption\":\"how to install and configure samba on ubuntu 26.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure Samba on Ubuntu 26.04\"}]},{\"@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 and Configure Samba on Ubuntu 26.04 - Greenwebpage Community","description":"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.","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-and-configure-samba-on-ubuntu-26-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Samba on Ubuntu 26.04 - Greenwebpage Community","og_description":"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2026-09-23T06:14:07+00:00","article_modified_time":"2026-09-23T06:14:10+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install and Configure Samba on Ubuntu 26.04","datePublished":"2026-09-23T06:14:07+00:00","dateModified":"2026-09-23T06:14:10+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/"},"wordCount":922,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg","keywords":["File Sharing","Samba","Ubuntu 26.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/","name":"How to Install and Configure Samba on Ubuntu 26.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg","datePublished":"2026-09-23T06:14:07+00:00","dateModified":"2026-09-23T06:14:10+00:00","description":"In this blog post, we will cover Samba, mention some of its features, and end with how to install and configure it on Ubuntu 26.04.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/how-to-install-and-configure-samba-on-ubuntu-26.04.jpg","width":1020,"height":600,"caption":"how to install and configure samba on ubuntu 26.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-and-configure-samba-on-ubuntu-26-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure Samba on Ubuntu 26.04"}]},{"@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\/18178","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=18178"}],"version-history":[{"count":6,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/18178\/revisions"}],"predecessor-version":[{"id":18197,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/18178\/revisions\/18197"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/18198"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=18178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=18178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=18178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}