{"id":1768,"date":"2015-12-23T04:38:52","date_gmt":"2015-12-23T04:38:52","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1768"},"modified":"2015-12-23T04:38:52","modified_gmt":"2015-12-23T04:38:52","slug":"red-hat-enterprise-linux-3-configuring-a-samba-server","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1768","title":{"rendered":"Red Hat Enterprise Linux 3: Configuring a Samba Server"},"content":{"rendered":"<h1 class=\"SECT1\">Configuring a Samba Server<\/h1>\n<p>The default configuration file (<tt class=\"FILENAME\">\/etc\/samba\/smb.conf<\/tt>) allows users to view their home directories as a Samba share. It also shares all printers configured for the system as Samba shared printers. In other words, you can attach a printer to the system and print to it from the Windows machines on your network.<\/p>\n<div class=\"SECT2\">\n<h2 class=\"SECT2\">Graphical Configuration<\/h2>\n<p>To configure Samba using a graphical interface, use the <b class=\"APPLICATION\">Samba Server Configuration Tool<\/b>. For command line configuration, skip to Section:\u00a0<i>Command Line Configuration<\/i>.<\/p>\n<p>The <b class=\"APPLICATION\">Samba Server Configuration Tool<\/b> is a graphical interface for managing Samba shares, users, and basic server settings. It modifies the configuration files in the <tt class=\"FILENAME\">\/etc\/samba\/<\/tt> directory. Any changes to these files not made using the application are preserved.<\/p>\n<p>To use this application, you must be running the X Window System, have root privileges, and have the <tt class=\"FILENAME\">redhat-config-samba<\/tt> RPM package installed. To start the <b class=\"APPLICATION\">Samba Server Configuration Tool<\/b> from the desktop, go to the <b class=\"GUIMENU\">Main Menu Button<\/b> (on the Panel) =&gt; <b class=\"GUIMENUITEM\">System Settings<\/b> =&gt; <b class=\"GUIMENUITEM\">Server Settings<\/b> =&gt; <b class=\"GUIMENUITEM\">Samba<\/b> or type the command <tt class=\"COMMAND\">redhat-config-samba<\/tt> at a shell prompt (for example, in an XTerm or a GNOME terminal).<\/p>\n<div class=\"FIGURE\">\n<div class=\"MEDIAOBJECT\">\n<p><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/figs\/samba\/r-c-samba.png\" alt=\"\" \/><\/p>\n<\/div>\n<p><b><b class=\"APPLICATION\">Samba Server Configuration Tool<\/b><\/b><\/p>\n<\/div>\n<div class=\"NOTE\">\n<table class=\"NOTE\" border=\"0\" width=\"100%\">\n<tbody>\n<tr>\n<td align=\"CENTER\" valign=\"TOP\" width=\"25\"><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/stylesheet-images\/note.png\" alt=\"Note\" hspace=\"5\" \/><\/td>\n<th align=\"LEFT\" valign=\"CENTER\"><b>Note<\/b><\/th>\n<\/tr>\n<tr>\n<td><\/td>\n<td align=\"LEFT\" valign=\"TOP\">The <b class=\"APPLICATION\">Samba Server Configuration Tool<\/b> does not display shared printers or the default stanza that allows users to view their own home directories on the Samba server.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"SECT3\">\n<h3 class=\"SECT3\">Configuring Server Settings<\/h3>\n<p>The first step in configuring a Samba server is to configure the basic settings for the server and a few security options. After starting the application, select <b class=\"GUIMENU\">Preferences<\/b> =&gt; <b class=\"GUIMENUITEM\">Server Settings<\/b> from the pulldown menu. The <b class=\"GUILABEL\">Basic<\/b> tab is displayed as shown in the image below.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/figs\/samba\/r-c-samba-basic.png\" alt=\"\" \/><\/p>\n<div class=\"FIGURE\">\n<div class=\"MEDIAOBJECT\"><\/div>\n<p><b>Configuring Basic Server Settings<\/b><\/p>\n<\/div>\n<p>On the <b class=\"GUILABEL\">Basic<\/b> tab, specify which workgroup the computer should be in as well as a brief description of the computer. They correspond to the <tt class=\"COMMAND\">workgroup<\/tt> and <tt class=\"COMMAND\">server string<\/tt> options in<tt class=\"FILENAME\">smb.conf<\/tt>.<\/p>\n<div class=\"FIGURE\">\n<div class=\"MEDIAOBJECT\">\n<p><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/figs\/samba\/r-c-samba-security.png\" alt=\"\" \/><\/p>\n<\/div>\n<p><b>Configuring Security Server Settings<\/b><\/p>\n<\/div>\n<p>The <b class=\"GUILABEL\">Security<\/b> tab contains the following options:<\/p>\n<ul>\n<li><b class=\"GUILABEL\">Authentication Mode<\/b> \u2014 This corresponds to the <tt class=\"COMMAND\">security<\/tt> option. Select one of the following types of authentication.\n<ul>\n<li><b class=\"GUILABEL\">ADS<\/b> \u2014 The Samba server acts as a domain member in an Active Directory Domain (ADS) realm. For this option, Kerberos must be installed and configured on the server, and Samba must become a member of the ADS realm using the <tt class=\"COMMAND\">net<\/tt> utility, which is part of the <tt class=\"FILENAME\">samba-client<\/tt> package. Refer to the <tt class=\"COMMAND\">net<\/tt> man page for details. This option does not configure Samba to be an ADS Controller.<\/li>\n<li><b class=\"GUILABEL\">Domain<\/b> \u2014 The Samba server relies on a Windows NT Primary or Backup Domain Controller to verify the user. The server passes the username and password to the Controller and waits for it to return. Specify the NetBIOS name of the Primary or Backup Domain Controller in the <b class=\"GUILABEL\">Authentication Server<\/b> field.\n<p>The <b class=\"GUILABEL\">Encrypted Passwords<\/b> option must be set to <b class=\"GUILABEL\">Yes<\/b> if this is selected.<\/li>\n<li><b class=\"GUILABEL\">Server<\/b> \u2014 The Samba server tries to verify the username and password combination by passing them to another Samba server. If it can not, the server tries to verify using the user authentication mode. Specify the NetBIOS name of the other Samba server in the <b class=\"GUILABEL\">Authentication Server<\/b> field.<\/li>\n<li><b class=\"GUILABEL\">Share<\/b> \u2014 Samba users do not have to enter a username and password combination on a per Samba server basis. They are not prompted for a username and password until they try to connect to a specific shared directory from a Samba server.<\/li>\n<li><b class=\"GUILABEL\">User<\/b> \u2014 (Default) Samba users must provide a valid username and password on a per Samba server basis. Select this option if you want the <b class=\"GUILABEL\">Windows Username<\/b> option to work.<\/li>\n<\/ul>\n<\/li>\n<li><b class=\"GUILABEL\">Encrypt Passwords<\/b> \u2014 This option must be enabled if the clients are connecting from a Windows 98, Windows NT 4.0 with Service Pack 3, or other more recent versions of Microsoft Windows. The passwords are transfered between the server and the client in an encrypted format instead of in as a plain-text word that can be intercepted. This corresponds to the\u00a0<tt class=\"COMMAND\">encrypted passwords<\/tt> option.<\/li>\n<li><b class=\"GUILABEL\">Guest Account<\/b> \u2014 When users or guest users log into a Samba server, they must be mapped to a valid user on the server. Select one of the existing usernames on the system to be the guest Samba account. When guests logs in to the Samba server, they have the same privileges as this user. This corresponds to the <tt class=\"COMMAND\">guest account<\/tt> option.<\/li>\n<\/ul>\n<p>After clicking <b class=\"GUIBUTTON\">OK<\/b>, the changes are written to the configuration file and the daemon is restart; thus, the changes take effect immediately.<\/p>\n<\/div>\n<div class=\"SECT3\">\n<h3 class=\"SECT3\">Managing Samba Users<\/h3>\n<p>The <b class=\"APPLICATION\">Samba Server Configuration Tool<\/b> requires that an existing user account be active on the system acting as the Samba server before a Samba user can be added. The Samba user is associated with the existing user account.<\/p>\n<div class=\"FIGURE\">\n<div class=\"MEDIAOBJECT\">\n<p><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/figs\/samba\/r-c-samba-users.png\" alt=\"\" \/><\/p>\n<\/div>\n<p><b>Managing Samba Users<\/b><\/p>\n<\/div>\n<p>To add a Samba user, select <b class=\"GUIMENU\">Preferences<\/b> =&gt; <b class=\"GUIMENUITEM\">Samba Users<\/b> from the pulldown menu, and click the <b class=\"GUIBUTTON\">Add User<\/b> button. On the <b class=\"GUILABEL\">Create New Samba User<\/b> window select a <b class=\"GUILABEL\">Unix Username<\/b> from the list of existing users on the local system.<\/p>\n<p>If the user has a different username on a Windows machine and will be logging into the Samba server from the Windows machine, specify that Windows username in the <b class=\"GUILABEL\">Windows Username<\/b>field. The <b class=\"GUILABEL\">Authentication Mode<\/b> on the <b class=\"GUILABEL\">Security<\/b> tab of the <b class=\"GUILABEL\">Server Settings<\/b> preferences must be set to <b class=\"GUILABEL\">User<\/b> for this option to work.<\/p>\n<p>Also configure a <b class=\"GUILABEL\">Samba Password<\/b> for the Samba User and confirm the Samba Password by typing it again. Even if you select to use encrypted passwords for Samba, it is recommended that the Samba passwords for all users are different from their system passwords.<\/p>\n<p>To edit an existing user, select the user from the list, and click <b class=\"GUIBUTTON\">Edit User<\/b>. To delete an existing Samba user, select the user, and click the <b class=\"GUIBUTTON\">Delete User<\/b> button. Deleting a Samba user does not delete the associated system user account.<\/p>\n<p>The users are modified immediately after clicking the <b class=\"GUIBUTTON\">OK<\/b> button.<\/p>\n<\/div>\n<div class=\"SECT3\">\n<h3 class=\"SECT3\">Adding a Share<\/h3>\n<div class=\"FIGURE\">\n<div class=\"MEDIAOBJECT\">\n<p><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/figs\/samba\/r-c-samba-create-share.png\" alt=\"\" \/><\/p>\n<\/div>\n<p><b>Adding a Share<\/b><\/p>\n<\/div>\n<p>To add a share, click the <b class=\"GUIBUTTON\">Add<\/b> button. The <b class=\"GUILABEL\">Basic<\/b> tab configures the following options:<\/p>\n<ul>\n<li><b class=\"GUILABEL\">Directory<\/b> \u2014 The directory to share via Samba. The directory must exist.<\/li>\n<li><b class=\"GUILABEL\">Descriptions<\/b> \u2014 A brief description of the share.<\/li>\n<li><b class=\"GUILABEL\">Basic Permissions<\/b> \u2014 Whether users should only be able to read the files in the shared directory or whether they should be able to read and write to the shared directory.<\/li>\n<\/ul>\n<p>On the <b class=\"GUILABEL\">Access<\/b> tab, select whether to allow only specified users to access the share or whether to allow all Samba users to access the share. If you select to allow access to specific users, select the users from the list of available Samba users.<\/p>\n<p>The share is added immediately after clicking <b class=\"GUIBUTTON\">OK<\/b>.<\/p>\n<\/div>\n<\/div>\n<div class=\"SECT2\">\n<h2 class=\"SECT2\">Command Line Configuration<\/h2>\n<p>Samba uses <tt class=\"FILENAME\">\/etc\/samba\/smb.conf<\/tt> as its configuration file. If you change this configuration file, the changes do not take effect until you restart the Samba daemon with the command <tt class=\"COMMAND\">service smb restart<\/tt>.<\/p>\n<p>To specify the Windows workgroup and a brief description of the Samba server, edit the following lines in your <tt class=\"FILENAME\">smb.conf<\/tt> file:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><samp class=\"COMPUTEROUTPUT\">workgroup = <var class=\"REPLACEABLE\">WORKGROUPNAME<\/var>\r\nserver string = <var class=\"REPLACEABLE\">BRIEF COMMENT ABOUT SERVER<\/var><\/samp><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Replace <var class=\"REPLACEABLE\">WORKGROUPNAME<\/var> with the name of the Windows workgroup to which this machine should belong. The <var class=\"REPLACEABLE\">BRIEF COMMENT ABOUT SERVER<\/var> is optional and is used as the Windows comment about the Samba system.<\/p>\n<p>To create a Samba share directory on your Linux system, add the following section to your <tt class=\"COMMAND\">smb.conf<\/tt> file (after modifying it to reflect your needs and your system):<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><samp class=\"COMPUTEROUTPUT\">[<var class=\"REPLACEABLE\">sharename<\/var>]\r\ncomment = <var class=\"REPLACEABLE\">Insert a comment here<\/var>\r\npath = <var class=\"REPLACEABLE\">\/home\/share\/<\/var>\r\nvalid users = <var class=\"REPLACEABLE\">tfox carole<\/var>\r\npublic = no\r\nwritable = yes\r\nprintable = no\r\ncreate mask = 0765<\/samp><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The above example allows the users tfox and carole to read and write to the directory <tt class=\"FILENAME\">\/home\/share<\/tt>, on the Samba server, from a Samba client.<\/p>\n<\/div>\n<div class=\"SECT2\">\n<h2 class=\"SECT2\">Encrypted Passwords<\/h2>\n<p>Encrypted passwords are enabled by default because it is more secure. If encrypted passwords are not used, plain text passwords are used, which can be intercepted by someone using a network packet sniffer. It is recommended that encrypted passwords be used.<\/p>\n<p>The Microsoft SMB Protocol originally used plaintext passwords. However, Windows NT 4.0 with Service Pack 3 or higher, Windows 98, Windows 2000, Windows ME, and Windows XP require encrypted Samba passwords. To use Samba between a Linux system and a system running one of these Windows operating systems, you can either edit your Windows registry to use plaintext passwords or configure Samba on your Linux system to use encrypted passwords. If you choose to modify your registry, you must do so for all your Windows machines \u2014 this is risky and may cause further conflicts. It is recommended that you use encrypted passwords for better security.<\/p>\n<p>To configure Samba to use encrypted passwords, follow these steps:<\/p>\n<ol type=\"1\">\n<li>Create a separate password file for Samba. To create one based on your existing <tt class=\"FILENAME\">\/etc\/passwd<\/tt> file, at a shell prompt, type the following command:<br \/>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">cat \/etc\/passwd | mksmbpasswd.sh &gt; \/etc\/samba\/smbpasswd<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If the system uses NIS, type the following command:<\/p>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">ypcat passwd | mksmbpasswd.sh &gt; \/etc\/samba\/smbpasswd<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The <tt class=\"FILENAME\">mksmbpasswd.sh<\/tt> script is installed in your <tt class=\"FILENAME\">\/usr\/bin<\/tt> directory with the <tt class=\"FILENAME\">samba<\/tt> package.<\/li>\n<li>Change the permissions of the Samba password file so that only root has read and write permissions:<br \/>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">chmod 600 \/etc\/samba\/smbpasswd<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>The script does not copy user passwords to the new file, and a Samba user account is not active until a password is set for it. For higher security, it is recommended that the user&#8217;s Samba password be different from the user&#8217;s system password. To set each Samba user&#8217;s password, use the following command (replace <var class=\"REPLACEABLE\">username<\/var> with each user&#8217;s username):<br \/>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">smbpasswd <var class=\"REPLACEABLE\">username<\/var><\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Encrypted passwords must be enabled. Since they are enabled by default, they do not have to be specifically enabled in the configuration file. However, they can not be disabled in the configuration file either. In the file <tt class=\"FILENAME\">\/etc\/samba\/smb.conf<\/tt>, verify that the following line does not exist:<br \/>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><samp class=\"COMPUTEROUTPUT\">encrypt passwords = no<\/samp><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If it does exist but is commented out with a semi-colon (<samp class=\"COMPUTEROUTPUT\">;<\/samp>) at the beginning of the line, then the line is ignored, and encrypted passwords are enabled. If this line exist but is not commented out, either remove it or comment it out.<\/p>\n<p>To specifically enable encrypted passwords in the configuration file, add the following lines to <tt class=\"FILENAME\">etc\/samba\/smb.conf<\/tt>:<\/p>\n<table class=\"SCREEN\" width=\"90%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><samp class=\"COMPUTEROUTPUT\">encrypt passwords = yes\r\nsmb passwd file = \/etc\/samba\/smbpasswd<\/samp><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Make sure the <tt class=\"COMMAND\">smb<\/tt> service is started by typing the command <tt class=\"COMMAND\">service smb restart<\/tt> at a shell prompt.<\/li>\n<li>If you want the <tt class=\"COMMAND\">smb<\/tt> service to start automatically, use <b class=\"APPLICATION\">ntsysv<\/b>, <tt class=\"COMMAND\">chkconfig<\/tt>, or the <b class=\"APPLICATION\">Services Configuration Tool<\/b> to enable it at runtime. Refer to Chapter 21 <i>Controlling Access to Services<\/i>for details.<\/li>\n<\/ol>\n<p>The <tt class=\"COMMAND\">pam_smbpass<\/tt> PAM module can be used to sync users&#8217; Samba passwords with their system passwords when the <tt class=\"COMMAND\">passwd<\/tt> command is used. If a user invokes the <tt class=\"COMMAND\">passwd<\/tt> command, the password he uses to log in to the Red Hat Enterprise Linux system as well as the password he must provide to connect to a Samba share are changed.<\/p>\n<p>To enable this feature, add the following line to <tt class=\"FILENAME\">\/etc\/pam.d\/system-auth<\/tt> below the <samp class=\"COMPUTEROUTPUT\">pam_cracklib.so<\/samp> invocation:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><samp class=\"COMPUTEROUTPUT\">password required \/lib\/security\/pam_smbpass.so nullok use_authtok try_first_pass<\/samp><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"SECT2\">\n<h2 class=\"SECT2\">Starting and Stopping the Server<\/h2>\n<p>On the server that is sharing directories via Samba, the <tt class=\"COMMAND\">smb<\/tt> service must be running.<\/p>\n<p>View the status of the Samba daemon with the following command:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">\/sbin\/service smb status<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Start the daemon with the following command:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">\/sbin\/service smb start<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Stop the daemon with the following command:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">\/sbin\/service smb stop<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To start the <tt class=\"COMMAND\">smb<\/tt> service at boot time, use the command:<\/p>\n<table class=\"SCREEN\" width=\"100%\" bgcolor=\"#DCDCDC\">\n<tbody>\n<tr>\n<td>\n<pre class=\"SCREEN\"><tt class=\"COMMAND\">\/sbin\/chkconfig --level 345 smb on<\/tt><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can also use <tt class=\"COMMAND\">chkconfig<\/tt>, <b class=\"APPLICATION\">ntsysv<\/b> or the <b class=\"APPLICATION\">Services Configuration Tool<\/b> to configure which services start at boot time.<\/p>\n<div class=\"TIP\">\n<table class=\"TIP\" border=\"0\" width=\"100%\">\n<tbody>\n<tr>\n<td align=\"CENTER\" valign=\"TOP\" width=\"25\"><img decoding=\"async\" src=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/3\/html\/System_Administration_Guide\/stylesheet-images\/tip.png\" alt=\"Tip\" hspace=\"5\" \/><\/td>\n<th align=\"LEFT\" valign=\"CENTER\"><b>Tip<\/b><\/th>\n<\/tr>\n<tr>\n<td><\/td>\n<td align=\"LEFT\" valign=\"TOP\">To view active connections to the system, execute the command <tt class=\"COMMAND\">smbstatus<\/tt>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Configuring a Samba Server The default configuration file (\/etc\/samba\/smb.conf) allows users to view their home directories as a Samba share. It also shares all printers configured for the system as Samba shared printers. In other words, you can attach a printer to the system and print to it from the Windows machines on your network. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1768","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1768"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1768\/revisions"}],"predecessor-version":[{"id":1769,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1768\/revisions\/1769"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}