{"id":5667,"date":"2021-09-07T10:21:08","date_gmt":"2021-09-07T14:21:08","guid":{"rendered":"https:\/\/www.lpi.org\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/"},"modified":"2023-05-10T04:26:54","modified_gmt":"2023-05-10T08:26:54","slug":"lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration","status":"publish","type":"post","link":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/","title":{"rendered":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration"},"content":{"rendered":"<p>This blog posting is the third in a series that will help you to prepare for the new version 3.0 of the LPIC-3 Mixed Environments exam. In the <a href=\"https:\/\/www.lpi.org\/blog\/2021\/08\/31\/lpic-3-mixed-environments-30-introduction-02-302-samba-and-active-directory-domains\">previous posts<\/a>\u00a0we set up a virtual lab, installed Samba, and set up an Active Directory domain. The lab also contains a file server as a domain member. This week\u2019s posting is all about the file server\u2019s share configuration.<\/p>\n<h2>Samba File Share Configuration<\/h2>\n<p>To get started, let\u2019s review how shares are declared. Usually, each share is a dedicated section in the <a href=\"https:\/\/www.samba.org\/samba\/docs\/current\/man-html\/smb.conf.5.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span><\/a>\u00a0file. The name of the share is the section name surrounded by square brackets. Within each file share, the <span style=\"font-family:courier new,courier,monospace;\">path<\/span>\u00a0option specifies what part of the server\u2019s file system is accessible through the share.<\/p>\n<p>Let\u2019s first of all determine who can connect to the share at all. The <span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span>\u00a0options <span style=\"font-family:courier new,courier,monospace;\">valid users<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">invalid users<\/span>\u00a0are the initial doorman deciding who can connect. Try to <a href=\"https:\/\/wiki.samba.org\/index.php\/Setting_up_a_Share_Using_POSIX_ACLs#Adding_a_Share\" target=\"_blank\" rel=\"noopener\">configure a share<\/a>\u00a0to allow or reject connections from specific users and test that the users are connected or rejected as expected. Remember the notation of users mapped from your domain as well as the ability to specify groups in these options.<\/p>\n<h2>File Access and Permissions<\/h2>\n<p>Once a user is connected, access to the individual files requires further permissions. These permissions are managed in multiple layers. First of all, Samba uses the <span style=\"font-family:courier new,courier,monospace;\">read list<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">write list<\/span>\u00a0options in <span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span>\u00a0to determine which users have which kind of access in general. Once a user passes this hurdle, the access to a specific file is subject to file system permissions. The simplest form of these permissions are the <a href=\"https:\/\/learning.lpi.org\/en\/learning-materials\/101-500\/104\/104.5\/104.5_01\/\" target=\"_blank\" rel=\"noopener\">classic file ownership and permissions<\/a>, as managed by <span style=\"font-family:courier new,courier,monospace;\">chown<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">chmod<\/span>.<\/p>\n<p>When accessing a share, Samba uses the identity of the user connected to the share to perform operations on the Linux file system. Thanks to ID mapping on the file server, each domain user has an equivalent in the Linux file server\u2019s user database.<\/p>\n<p>When multiple users access the same share, they might end up creating files they can not mutually access, due to the files\u2019 different owners and permissions assigned to the owning user and group only. An easy way to force a standard owner and permissions is to use the <span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span>\u00a0options <span style=\"font-family:courier new,courier,monospace;\">create mask \/ create mode<\/span>, <span style=\"font-family:courier new,courier,monospace;\">directory mask \/ directory mode<\/span>, <span style=\"font-family:courier new,courier,monospace;\">force create mode<\/span>, <span style=\"font-family:courier new,courier,monospace;\">force directory mode<\/span>, <span style=\"font-family:courier new,courier,monospace;\">force user<\/span>, and <span style=\"font-family:courier new,courier,monospace;\">force group \/ group<\/span>, which manage the ownership and permissions of files stored in a share independent from the connecting user. If you would like to practice, create a file share for your accounting department and grant several users access to it. Now configure the share to enforce that all files belong to the same group (maybe create an accounting group in your AD and add the users) and that all files are writable by the group.<\/p>\n<h2>Access Control Lists<\/h2>\n<p>More complex than classic Unix permissions, Access Control Lists (ACLs) allow you to set individual permissions for specific users and groups. Linux uses\u00a0<a href=\"https:\/\/www.redhat.com\/sysadmin\/linux-access-control-lists\" target=\"_blank\" rel=\"noopener\">Extended POSIX ACLs<\/a>, which are managed by <span style=\"font-family:courier new,courier,monospace;\">getfacl<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">setfacl<\/span>. Adopt the previous example by creating another share that uses ACLs to grant access to all group members, without Samba enforcing any specific ownership and permissions. Review the <span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span>\u00a0option <span style=\"font-family:courier new,courier,monospace;\">inherit acls<\/span>\u00a0and enable it if necessary. The Samba wiki contains more information about\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Setting_up_a_Share_Using_POSIX_ACLs\" target=\"_blank\" rel=\"noopener\">POSIX ACLs on file shares<\/a>.<\/p>\n<p>It is perfectly fine to use POSIX ACLs on the Linux side to manage access to files on a Samba share. However, POSIX ACLs are different from Windows ACLs. To use Windows ACLs, Samba needs to store additional ACL information besides the POSIX ACLs. The VFS module <span style=\"font-family:courier new,courier,monospace;\">acl_xattr<\/span>\u00a0uses extended file system attributes for this information. <span style=\"font-family:courier new,courier,monospace;\">setfacl<\/span>\u00a0does not update the respective Windows ACLs, which is why ACLs on a share using Windows ACLs should always be set through Samba, by using either a Windows client or the <span style=\"font-family:courier new,courier,monospace;\">samba-tool ntacl<\/span>\u00a0command. The <span style=\"font-family:courier new,courier,monospace;\"><a href=\"https:\/\/www.samba.org\/samba\/docs\/current\/man-html\/smbcacls.1.html\" target=\"_blank\" rel=\"noopener\">smbcacls<\/a><\/span>\u00a0command is another tool that manages ACLs on SMB shares. Again, the Samba wiki has some great information about\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Setting_up_a_Share_Using_Windows_ACLs\" target=\"_blank\" rel=\"noopener\">Windows ACLs on SMB shares<\/a>.<\/p>\n<h2>Make Shares Appear Nicely<\/h2>\n<p>Once permissions are set, situations may occur where users see files they cannot access. The <span style=\"font-family:courier new,courier,monospace;\">smb.conf<\/span>\u00a0options <span style=\"font-family:courier new,courier,monospace;\">hide unreadable<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">hide unwritable files<\/span>\u00a0are used to hide these files from the user. Similarly, the options <span style=\"font-family:courier new,courier,monospace;\">hide dot files<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">hide special files<\/span>\u00a0ensure that users are not bothered by other irrelevant files. Some file managers tend to create hidden files, such as indexes or file thumbnails. Uploading these files to a file share is usually undesirable, so the options <span style=\"font-family:courier new,courier,monospace;\">veto files<\/span>\u00a0and <span style=\"font-family:courier new,courier,monospace;\">delete veto files<\/span>\u00a0can reject or delete such files.<\/p>\n<p>In a real world scenario, multiple file servers likely exist to satisfy all storage requirements. In this case, users need to know which shares are located on which servers. In addition, when shares are reorganized between servers, client configurations need to be changed. The Distributed File System (DFS) allows a server to offer shares that are actually just redirects to the actual share, potentially on another server. This allows users to always access their data using the same path via the DFS share, even if the data is reorganized. Again, the Samba wiki has more information about\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Distributed_File_System_(DFS)\" target=\"_blank\" rel=\"noopener\">DFS on Samba<\/a>.<\/p>\n<h2>Printer Shares and Print Drivers<\/h2>\n<p>In addition to files,\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Setting_up_Samba_as_a_Print_Server\" target=\"_blank\" rel=\"noopener\">Samba can also provide printable shares<\/a>. The pattern is the same as for files: for each printer, a share with the printer\u2019s name exists. Samba, however, needs a print server to handle the actual printing. Nowadays, CUPS is the de facto standard for printing on Linux. Samba can query CUPS to determine which printers are available and automatically offer the printers as individual shares. However, it is also possible to manually configure printer shares. The Samba wiki provides an example for\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Virtual_PDF_Printer\" target=\"_blank\" rel=\"noopener\">configuring a PDF printer share<\/a>.<\/p>\n<p>In most cases, the printer clients prepare the print jobs so that they are ready to be forwarded to the printer without additional processing. This is called \u201craw printing\u201d, because the print server passes the print jobs on as they are. In order to prepare the print jobs, the client needs the drivers of the specific printer. These drivers can be distributed by Samba.\u00a0<a href=\"https:\/\/wiki.samba.org\/index.php\/Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients\" target=\"_blank\" rel=\"noopener\">The Samba wiki has a guide to setting up this configuration<\/a>.<\/p>\n<p>A security issue called\u00a0<a href=\"https:\/\/www.bleepingcomputer.com\/news\/microsoft\/microsoft-confirms-another-windows-print-spooler-zero-day-bug\/\" target=\"_blank\" rel=\"noopener\">Printnightmare<\/a>\u00a0recently used Microsoft\u2019s driver distribution mechanisms to allow users to escalate their privileges. You can read about\u00a0<a href=\"https:\/\/www.windowscentral.com\/windows-10-printnightmare-handled-irresponsibly-microsoft\" target=\"_blank\" rel=\"noopener\">how this issue was discovered but not yet fixed<\/a>. But keep in mind that the current exam was developed before the issue was discovered. Therefore, for now, assume that there are no restrictions in place to mitigate Printnightmare.<\/p>\n<h2>Moving On<\/h2>\n<p>This post concludes the part of this series about Samba server configuration. As usual, the exam objectives include some additional options and commands in addition to those covered in here. Take some time to review the\u00a0<a href=\"https:\/\/wiki.lpi.org\/wiki\/LPIC-300_Objectives_V3.0\" target=\"_blank\" rel=\"noopener\">exam objectives<\/a>\u00a0and make sure you\u2019ve tried everything mentioned there. The result will be a fully configured Active Directory domain along with a file server.<\/p>\n<p>Next week we will focus on the client side and learn how we can access our shares from Linux and Windows, how to authenticate against an Active Directory domain, and how to use Active Directory to manage Windows systems.<\/p>\n<p>\u00a0<\/p>\n<p class=\"rtecenter\"><a href=\"https:\/\/www.lpi.org\/blog\/2021\/08\/31\/lpic-3-mixed-environments-30-introduction-02-302-samba-and-active-directory-domains\"><< Read the previous post of this series<\/a>\u00a0| <a href=\"\/blog\/2021\/09\/21\/lpic-3-mixed-environments-30-introduction-04-304-samba-client-configuration\">Read the next post of this series >><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog posting is the third in a series that will help you to prepare for the new version 3.0 of the LPIC-3 Mixed Environments exam. In the previous posts\u00a0we set up a virtual lab, installed Samba, and set up &#8230; <a href=\"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/\" class=\"button-link\">Leer m\u00e1s<\/a><\/p>\n","protected":false},"author":66,"featured_media":5668,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"country":[],"language":[304],"ppma_author":[540],"class_list":["post-5667","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","language-english"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration - Linux Professional Institute (LPI)<\/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:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration\" \/>\n<meta property=\"og:description\" content=\"This blog posting is the third in a series that will help you to prepare for the new version 3.0 of the LPIC-3 Mixed Environments exam. In the previous posts\u00a0we set up a virtual lab, installed Samba, and set up ... Leer m\u00e1s\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Professional Institute (LPI)\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LPIConnect\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-07T14:21:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-10T08:26:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"440\" \/>\n\t<meta property=\"og:image:height\" content=\"293\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fabian Thorns\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lpiconnect\" \/>\n<meta name=\"twitter:site\" content=\"@lpiconnect\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabian Thorns\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/\"},\"author\":{\"name\":\"Fabian Thorns\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#\\\/schema\\\/person\\\/87a340eca845e18d801667fd11e6937c\"},\"headline\":\"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration\",\"datePublished\":\"2021-09-07T14:21:08+00:00\",\"dateModified\":\"2023-05-10T08:26:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/\"},\"wordCount\":1221,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/article-lpic-3-300-introduction-blog-03.jpg\",\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/\",\"name\":\"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration - Linux Professional Institute (LPI)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/article-lpic-3-300-introduction-blog-03.jpg\",\"datePublished\":\"2021-09-07T14:21:08+00:00\",\"dateModified\":\"2023-05-10T08:26:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/article-lpic-3-300-introduction-blog-03.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/article-lpic-3-300-introduction-blog-03.jpg\",\"width\":440,\"height\":293},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/blog\\\/2021\\\/09\\\/07\\\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/\",\"name\":\"Linux Professional Institute (LPI)\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#organization\",\"name\":\"Linux Professional Institute (LPI)\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/logo.png\",\"width\":496,\"height\":175,\"caption\":\"Linux Professional Institute (LPI)\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/LPIConnect\",\"https:\\\/\\\/x.com\\\/lpiconnect\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/35136\",\"https:\\\/\\\/www.instagram.com\\\/lpi_org\\\/\",\"https:\\\/\\\/fosstodon.org\\\/@LPI\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/es\\\/#\\\/schema\\\/person\\\/87a340eca845e18d801667fd11e6937c\",\"name\":\"Fabian Thorns\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/cropped-fabian-thorns-1920px-96x96.jpg583c90110e404d4e42f0be7307753074\",\"url\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/cropped-fabian-thorns-1920px-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lpi.org\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/cropped-fabian-thorns-1920px-96x96.jpg\",\"caption\":\"Fabian Thorns\"},\"description\":\"Fabian Thorns is the Director of Product Development at Linux Professional Institute, LPI. He is M.Sc. Business Information Systems, a regular speaker at open source events and the author of numerous articles and books. Fabian has been part of the exam development team since 2010. Connect with him on LinkedIn, XING\u00a0or via email (fthorns\u00a0at\u00a0www.lpi.org).\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration - Linux Professional Institute (LPI)","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:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/","og_locale":"es_ES","og_type":"article","og_title":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration","og_description":"This blog posting is the third in a series that will help you to prepare for the new version 3.0 of the LPIC-3 Mixed Environments exam. In the previous posts\u00a0we set up a virtual lab, installed Samba, and set up ... Leer m\u00e1s","og_url":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/","og_site_name":"Linux Professional Institute (LPI)","article_publisher":"https:\/\/www.facebook.com\/LPIConnect","article_published_time":"2021-09-07T14:21:08+00:00","article_modified_time":"2023-05-10T08:26:54+00:00","og_image":[{"width":440,"height":293,"url":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg","type":"image\/jpeg"}],"author":"Fabian Thorns","twitter_card":"summary_large_image","twitter_creator":"@lpiconnect","twitter_site":"@lpiconnect","twitter_misc":{"Escrito por":"Fabian Thorns","Tiempo de lectura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#article","isPartOf":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/"},"author":{"name":"Fabian Thorns","@id":"https:\/\/www.lpi.org\/es\/#\/schema\/person\/87a340eca845e18d801667fd11e6937c"},"headline":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration","datePublished":"2021-09-07T14:21:08+00:00","dateModified":"2023-05-10T08:26:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/"},"wordCount":1221,"commentCount":0,"publisher":{"@id":"https:\/\/www.lpi.org\/es\/#organization"},"image":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg","inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/","url":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/","name":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration - Linux Professional Institute (LPI)","isPartOf":{"@id":"https:\/\/www.lpi.org\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#primaryimage"},"image":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg","datePublished":"2021-09-07T14:21:08+00:00","dateModified":"2023-05-10T08:26:54+00:00","breadcrumb":{"@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#primaryimage","url":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg","contentUrl":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/05\/article-lpic-3-300-introduction-blog-03.jpg","width":440,"height":293},{"@type":"BreadcrumbList","@id":"https:\/\/www.lpi.org\/es\/blog\/2021\/09\/07\/lpic-3-mixed-environments-30-introduction-03-303-samba-share-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lpi.org\/es\/"},{"@type":"ListItem","position":2,"name":"LPIC-3 Mixed Environments 3.0 Introduction #03: 303 Samba Share Configuration"}]},{"@type":"WebSite","@id":"https:\/\/www.lpi.org\/es\/#website","url":"https:\/\/www.lpi.org\/es\/","name":"Linux Professional Institute (LPI)","description":"","publisher":{"@id":"https:\/\/www.lpi.org\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lpi.org\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.lpi.org\/es\/#organization","name":"Linux Professional Institute (LPI)","url":"https:\/\/www.lpi.org\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.lpi.org\/es\/#\/schema\/logo\/image\/","url":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/04\/logo.png","contentUrl":"https:\/\/www.lpi.org\/wp-content\/uploads\/2023\/04\/logo.png","width":496,"height":175,"caption":"Linux Professional Institute (LPI)"},"image":{"@id":"https:\/\/www.lpi.org\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LPIConnect","https:\/\/x.com\/lpiconnect","https:\/\/www.linkedin.com\/company\/35136","https:\/\/www.instagram.com\/lpi_org\/","https:\/\/fosstodon.org\/@LPI"]},{"@type":"Person","@id":"https:\/\/www.lpi.org\/es\/#\/schema\/person\/87a340eca845e18d801667fd11e6937c","name":"Fabian Thorns","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.lpi.org\/wp-content\/uploads\/2026\/01\/cropped-fabian-thorns-1920px-96x96.jpg583c90110e404d4e42f0be7307753074","url":"https:\/\/www.lpi.org\/wp-content\/uploads\/2026\/01\/cropped-fabian-thorns-1920px-96x96.jpg","contentUrl":"https:\/\/www.lpi.org\/wp-content\/uploads\/2026\/01\/cropped-fabian-thorns-1920px-96x96.jpg","caption":"Fabian Thorns"},"description":"Fabian Thorns is the Director of Product Development at Linux Professional Institute, LPI. He is M.Sc. Business Information Systems, a regular speaker at open source events and the author of numerous articles and books. Fabian has been part of the exam development team since 2010. Connect with him on LinkedIn, XING\u00a0or via email (fthorns\u00a0at\u00a0www.lpi.org)."}]}},"views":1150,"authors":[{"term_id":540,"user_id":66,"is_guest":0,"slug":"fthornslpi-org","display_name":"Fabian Thorns","avatar_url":"https:\/\/www.lpi.org\/wp-content\/uploads\/2026\/01\/cropped-fabian-thorns-1920px-96x96.jpg","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/posts\/5667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/comments?post=5667"}],"version-history":[{"count":2,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/posts\/5667\/revisions"}],"predecessor-version":[{"id":11082,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/posts\/5667\/revisions\/11082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/media\/5668"}],"wp:attachment":[{"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/media?parent=5667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/categories?post=5667"},{"taxonomy":"country","embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/country?post=5667"},{"taxonomy":"language","embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/language?post=5667"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.lpi.org\/es\/wp-json\/wp\/v2\/ppma_author?post=5667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}