{"id":1291,"date":"2014-10-04T01:21:27","date_gmt":"2014-10-04T07:21:27","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=1291"},"modified":"2019-08-26T01:44:31","modified_gmt":"2019-08-26T07:44:31","slug":"samba-server-setup-and-cifs-mount","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/","title":{"rendered":"Samba Server Setup and CIFS Mount"},"content":{"rendered":"<p>Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located.<\/p>\n<p>Samba Server uses the following port no. :<br \/>\n137\/tcp<br \/>\n137\/udp<br \/>\n138\/tcp<br \/>\n138\/udp<br \/>\n139\/udp<br \/>\n139\/udp<br \/>\n445\/tcp<br \/>\n445\/udp<\/p>\n<p>Daemon name: smb and nmb Samba services are implemented as two daemons: smbd, which provides the file and printer sharing services, and nmbd, which provides the NetBIOS-to-IP-address name service. NetBIOS over TCP\/IP requires some method for mapping NetBIOS computer names to the IP addresses of a TCP\/IP network.<!--more--><\/p>\n<p><strong>How to install and configure samba server:<\/strong><\/p>\n<p><strong>Step 1<\/strong>: Install through yum command. cups-libs is for printer.<\/p>\n<p><em>#yum install samba samba-commons cups-libs<\/em><\/p>\n<p><strong>Step 2<\/strong>: create a directory which you would like to share<br \/>\n<em>#mkdir \/shared<\/em><\/p>\n<p><strong>Step 3<\/strong>: Add a new group or you can use an existing group to provide access on a shared directory, Here I am adding a new group called staff.<br \/>\n<em>#groupadd staff<\/em><\/p>\n<p><strong>Step 4<\/strong>: Change the group and permission of sharing folder<br \/>\n<em>#chgrp -R staff \/shared\u00a0 chmod -R 777 \/shared<\/em><\/p>\n<p><strong>Step 5<\/strong>: Change the SELinux security context on sharing directory and set the SELinux boolean value for samba.<br \/>\nYou can skip this step if selinux has permissive or disabled status. (use sestatus command to check selinux status)<br \/>\n<em>#chcon -R -t samba_share_t \/shared\/<\/em><br \/>\n<em>#semanage fcontext -a -t samba_share_t \/shared\/<\/em><br \/>\n<em>#setsebool -P samba_enable_home_dirs on<\/em><\/p>\n<p><strong>Step 6<\/strong>: create user and add them in group called staff. And set the samba password for this user.<br \/>\n<em>#useradd test<\/em><br \/>\n<em>#usermod -G staff test<\/em><br \/>\nSet Password, here test123<br \/>\n<em>#smbpasswd -a test<\/em><br \/>\nNew SMB password:<br \/>\nRetype new SMB password:<br \/>\n<em>#tdbsam_open<\/em>: Converting version 0.0 database to version 4.0.<br \/>\n<em>#tdbsam_convert_backup<\/em>: updated \/var\/lib\/samba\/private\/passdb.tdb file.<\/p>\n<p><strong>Step 7<\/strong>: Take backup of \/etc\/samba\/smb.conf file then edit the smb.conf file.<br \/>\n<em>#cd \/etc\/samba\/<\/em><br \/>\n<em>#cp -p smb.conf smb.conf.orig<\/em><br \/>\nAnd add the below given parameters in last line of\u00a0 samba config file \/etc\/samba\/smb.conf file<br \/>\n<em>#vi \/etc\/samba\/smb.conf<\/em><\/p>\n<p>[backup]<br \/>\ncomment = shared-directory<br \/>\npath = \/shared<br \/>\npublic = no<br \/>\nvalid users = test, @staff<br \/>\nwritable = yes<br \/>\nbrowseable = yes<br \/>\ncreate mask = 0777<br \/>\ndirectory mask = 777<br \/>\nforce directory mode = 755<br \/>\nforce group = root<br \/>\nforce create mode = 644<br \/>\nforce user = root<br \/>\ncreate mode = 644<br \/>\ndirectory mode = 775<\/p>\n<p>The name in square braces is the name that we are referring while doing mount from remote server<\/p>\n<p><strong>Step 8<\/strong>: Edit these lines in \/etc\/samba\/smb.conf . To allow network to reach samba server.<\/p>\n<p>Change the value of 192.168.0.0\/24 with your subnet. And change the ethernet value which is in use by your system and which you want to allow for traffic.<br \/>\nIn second line ,192.168.0. is for subnet .Same rule applied to 127. which is for loopback.<\/p>\n<p><em>#vi \/etc\/samba\/smb.conf<\/em><\/p>\n<p>interfaces = lo eth0 eth1 192.168.0.0\/24<br \/>\nhosts allow = xxx.xxx.xxx.xxx<\/p>\n<p>Please test the syntax on the config file using &#8216;<em>testparm \/etc\/samba\/smb.conf&#8217;\u00a0<\/em> after the changes.<\/p>\n<p>Note: Mainly for Windows users, if your all PC in your network are using different WORKGROUP name edit the given below line in smb.conf with your workgroup name. Windows system by default uses the WORKGROUP as WORKGROUP. Try first without changing the WORKGROUP name, if required do the change.<\/p>\n<p>workgroup = MYGROUP<\/p>\n<p><strong>Step 9:<\/strong>\u00a0Add services in \/etc\/services files<br \/>\n<em>#vi \/etc\/services<\/em><\/p>\n<p>netbios-ns\u00a0\u00a0\u00a0 137\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios name service<br \/>\nnetbios-ns\u00a0\u00a0\u00a0 137\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios name service<br \/>\nnetbios-dgm\u00a0\u00a0\u00a0 138\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios datagram service<br \/>\nnetbios-dgm\u00a0\u00a0\u00a0 138\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios datagram service<br \/>\nnetbios-ssn\u00a0\u00a0\u00a0 139\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios session service<br \/>\nnetbios-ssn\u00a0\u00a0\u00a0 139\/udp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # netbios session service<\/p>\n<p><strong>Step 10<\/strong>: Add iptables rule in samba server for port no. 137,138.139 and 445.<\/p>\n<p>Edit \/etc\/sysconfig\/iptables file<\/p>\n<p>Note: If in your network iptables service is stopped or there is no rule set up.Kindly skip this step. Change the 192.168.1.0\/24 value with you network subnet.<\/p>\n<p><em>vi \/etc\/sysconfig\/iptables<\/em><\/p>\n<p>Add the below lines\u00a0 to the file \/etc\/sysconfig\/iptables just before COMMIT or open the ports for the IPs<\/p>\n<p>-A INPUT -s 192.168.1.0\/24 -m state \u2013state NEW -p tcp \u2013dport 137 -j ACCEPT<br \/>\n-A INPUT -s 192.168.1.0\/24 -m state \u2013state NEW -p tcp \u2013dport 138 -j ACCEPT<br \/>\n-A INPUT -s 192.168.1.0\/24 -m state \u2013state NEW -p tcp \u2013dport 139 -j ACCEPT<br \/>\n-A INPUT -s 192.168.1.0\/24 -m state \u2013state NEW -p tcp \u2013dport 445 -j ACCEPT<\/p>\n<p>Now save and restart the iptables<\/p>\n<p><strong>Step 11<\/strong>: Now start the smb and nmb services.<\/p>\n<p><em>#\/etc\/init.d\/smb start<\/em><br \/>\n<em>#\/etc\/init.d\/nmb start<\/em><br \/>\n<em>#chkconfig smb on<\/em><br \/>\n<em>#chkconfig nmb on<\/em><\/p>\n<p><strong>Step 12<\/strong>: Now we will test samba from linux<\/p>\n<p><em>#mount -t cifs \/\/samba-server-ipaddress\/shared-directory-name -o username=USERNAME \/mnt\/<\/em><\/p>\n<p>In our Example:<br \/>\n<em>#mount -t cifs \/\/xxx.xxx.xxx.xxx\/shared -p username=test password=test123 \/backup<\/em><br \/>\nFstab entry (\/etc\/fstab)<br \/>\n\/\/<em>xxx.xxx.xxx.xxx<\/em>\/shared \/backup cifs\u00a0 username=test,password=test123,rw 0 0<br \/>\n<em># df -h |grep backup<\/em><br \/>\n\/\/<em>xxx.xxx.xxx.xxx<\/em>\/shared\u00a0 917G\u00a0\u00a0 17G\u00a0 854G\u00a0\u00a0 2% \/backup<\/p>\n<p>Windows User:<\/p>\n<p>Open the Run and type \\\\ip-address-of-samba-server\\shared-Direcory-name<\/p>\n<p>eg :\u00a0 \\\\<em>xxx.xxx.xxx.xxx<\/em>\\shared<\/p>\n<p>Give username and password. here the suername is \u201ctest\u201d and the password is \u201ctest123\u2033<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/www.supportpro.com\/requestquote.php\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5,6,1],"tags":[],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-general-topics","category-linux-basics","category-miscellaneous"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Bella\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Server Management Tips | SupportPRO Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"10 Steps to Setup and Confugure Samba Server | Server Management Tips\" \/>\n\t\t<meta property=\"og:description\" content=\"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-10-04T07:21:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-08-26T07:44:31+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"10 Steps to Setup and Confugure Samba Server | Server Management Tips\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#article\",\"name\":\"10 Steps to Setup and Confugure Samba Server | Server Management Tips\",\"headline\":\"Samba Server Setup and CIFS Mount\",\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/jeslin-j\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/no-cache.hubspot.com\\\/cta\\\/default\\\/2725694\\\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#articleImage\"},\"datePublished\":\"2014-10-04T01:21:27-06:00\",\"dateModified\":\"2019-08-26T01:44:31-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#webpage\"},\"articleSection\":\"General Topics, Linux Basics, Miscellaneous\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/linux-basics\\\/#listItem\",\"name\":\"Linux Basics\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/linux-basics\\\/#listItem\",\"position\":3,\"name\":\"Linux Basics\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/linux-basics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#listItem\",\"name\":\"Samba Server Setup and CIFS Mount\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#listItem\",\"position\":4,\"name\":\"Samba Server Setup and CIFS Mount\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/linux\\\/linux-basics\\\/#listItem\",\"name\":\"Linux Basics\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\",\"name\":\"SupportPRO\",\"description\":\"SupportPRO Blog\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"telephone\":\"+18476076123\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/jeslin-j\\\/#author\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/jeslin-j\\\/\",\"name\":\"Bella\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3ec60f871b6d1ea5ee6a2feb8075ecca0c69b8da9dba65a45ba102b7359682ed?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Bella\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#webpage\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/\",\"name\":\"10 Steps to Setup and Confugure Samba Server | Server Management Tips\",\"description\":\"Samba is a free software re-implementation of the SMB\\\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\\\/tcp 137\\\/udp 138\\\/tcp 138\\\/udp 139\\\/udp 139\\\/udp 445\\\/tcp 445\\\/udp Daemon name: smb and nmb Samba services are implemented as\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/samba-server-setup-and-cifs-mount\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/jeslin-j\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/jeslin-j\\\/#author\"},\"datePublished\":\"2014-10-04T01:21:27-06:00\",\"dateModified\":\"2019-08-26T01:44:31-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"name\":\"Server Management Tips\",\"description\":\"SupportPRO Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>10 Steps to Setup and Confugure Samba Server | Server Management Tips<\/title>\n\n","aioseo_head_json":{"title":"10 Steps to Setup and Confugure Samba Server | Server Management Tips","description":"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as","canonical_url":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#article","name":"10 Steps to Setup and Confugure Samba Server | Server Management Tips","headline":"Samba Server Setup and CIFS Mount","author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/jeslin-j\/#author"},"publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#articleImage"},"datePublished":"2014-10-04T01:21:27-06:00","dateModified":"2019-08-26T01:44:31-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#webpage"},"isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#webpage"},"articleSection":"General Topics, Linux Basics, Miscellaneous"},{"@type":"BreadcrumbList","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.supportpro.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/#listItem","position":2,"name":"Linux","item":"https:\/\/www.supportpro.com\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/#listItem","name":"Linux Basics"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/#listItem","position":3,"name":"Linux Basics","item":"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#listItem","name":"Samba Server Setup and CIFS Mount"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#listItem","position":4,"name":"Samba Server Setup and CIFS Mount","previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/#listItem","name":"Linux Basics"}}]},{"@type":"Organization","@id":"https:\/\/www.supportpro.com\/blog\/#organization","name":"SupportPRO","description":"SupportPRO Blog","url":"https:\/\/www.supportpro.com\/blog\/","telephone":"+18476076123"},{"@type":"Person","@id":"https:\/\/www.supportpro.com\/blog\/author\/jeslin-j\/#author","url":"https:\/\/www.supportpro.com\/blog\/author\/jeslin-j\/","name":"Bella","image":{"@type":"ImageObject","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3ec60f871b6d1ea5ee6a2feb8075ecca0c69b8da9dba65a45ba102b7359682ed?s=96&d=mm&r=g","width":96,"height":96,"caption":"Bella"}},{"@type":"WebPage","@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#webpage","url":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/","name":"10 Steps to Setup and Confugure Samba Server | Server Management Tips","description":"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/#breadcrumblist"},"author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/jeslin-j\/#author"},"creator":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/jeslin-j\/#author"},"datePublished":"2014-10-04T01:21:27-06:00","dateModified":"2019-08-26T01:44:31-06:00"},{"@type":"WebSite","@id":"https:\/\/www.supportpro.com\/blog\/#website","url":"https:\/\/www.supportpro.com\/blog\/","name":"Server Management Tips","description":"SupportPRO Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Server Management Tips | SupportPRO Blog","og:type":"article","og:title":"10 Steps to Setup and Confugure Samba Server | Server Management Tips","og:description":"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as","og:url":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/","article:published_time":"2014-10-04T07:21:27+00:00","article:modified_time":"2019-08-26T07:44:31+00:00","twitter:card":"summary","twitter:title":"10 Steps to Setup and Confugure Samba Server | Server Management Tips","twitter:description":"Samba is a free software re-implementation of the SMB\/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137\/tcp 137\/udp 138\/tcp 138\/udp 139\/udp 139\/udp 445\/tcp 445\/udp Daemon name: smb and nmb Samba services are implemented as"},"aioseo_meta_data":{"post_id":"1291","title":"10 Steps to Setup and Confugure Samba Server | #site_title","description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-06-17 13:14:45","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":null,"created":"2021-12-10 16:14:49","updated":"2026-06-17 13:14:45"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/linux\/\" title=\"Linux\">Linux<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/\" title=\"Linux Basics\">Linux Basics<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tSamba Server Setup and CIFS Mount\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.supportpro.com\/blog"},{"label":"Linux","link":"https:\/\/www.supportpro.com\/blog\/category\/linux\/"},{"label":"Linux Basics","link":"https:\/\/www.supportpro.com\/blog\/category\/linux\/linux-basics\/"},{"label":"Samba Server Setup and CIFS Mount","link":"https:\/\/www.supportpro.com\/blog\/samba-server-setup-and-cifs-mount\/"}],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":7,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"predecessor-version":[{"id":4134,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1291\/revisions\/4134"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}