{"id":311,"date":"2020-08-18T19:23:47","date_gmt":"2020-08-18T20:23:47","guid":{"rendered":"http:\/\/www.linux-tutorial.info\/?page_id=77"},"modified":"2020-08-22T19:26:19","modified_gmt":"2020-08-22T20:26:19","slug":"this-is-the-page-title-toplevel-146","status":"publish","type":"page","link":"http:\/\/www.linux-tutorial.info\/?page_id=311","title":{"rendered":"SAMBA"},"content":{"rendered":"\n{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63}META:TOPICINFO{author=&#8221;JamesMohr&#8221; date=&#8221;1304516640&#8243; format=&#8221;1.1&#8243; reprev=&#8221;1.4&#8243; version=&#8221;1.4&#8243;}{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63}\n<notes>\nEXPAND!!! Multiple sections!\nRENAMED: Linux_and_Windows\nNOT FOUND:\n<question id=\"403\" text=\"A Linux machine running SAMBA can serve as a primary domain controller.\" \/>\n<concept id=\"200\" description=\"A Linux machine running SAMBA can serve as a primary domain controller.\" \/>\nIs it SAMBA or Samba?\nWhere does the name come from?\nCandidates should know how to manage the NFS, smb and nmb daemons.\n    * Key knowledge area(s):\n          o Install and configure Samba using the included GUI tools (swat) or direct edit of the \/etc\/smb.conf file (Note: this deliberately excludes advanced NT domain issues but includes simple sharing of home directories and printers, as well as correctly setting the nmbd as a WINS client).\n    * The following is a partial list of the used files, terms and utilities:\n          o \/etc\/smb.conf\n          o smbd\n          o nmbd\n<\/notes>\n<page pageid=\"154\" pagepath=\"\/Linux_Tutorial\/Networking\/SAMBA\/SAMBA.html\">\n     <copyright id=\"1\">\n              <licensetype id =\"1\" text=\"modified GNU Free Documentation License (Portions of this material originally published by Prentice Hall, Pearson Education, Inc)\">\n              <owner id=\"1\" text=\"James Mohr\">\n              <date text=\"2002-2004\">\n     <\/copyright>\n     <questions>\n     <\/questions>\n     <concepts>\n     <\/concepts>\n     <moreinfos>\n          <moreinfo id=\"378\" description=\"Samba.Org\" location=\"\/\/www.samba.org\" \/>\n          <moreinfo id=\"167\" description=\"SMB HOWTO\" location=\"\/\/www.tldp.org\/HOWTO\/SMB-HOWTO.html\" \/>\n          <moreinfo id=\"382\" description=\"Linux.Org\" location=\"\/\/www.linux.org\" \/>\n          <moreinfo id=\"381\" description=\"Linux Knowledge Portal\" location=\"\/\/www.linux-knowledge-portal.org\" \/>\n          <moreinfo id=\"379\" description=\"Unix Guru's Universe\" location=\"\/\/www.ugu.com\" \/>\n          <moreinfo id=\"383\" description=\"Linux Documentation Project\" location=\"\/\/www.tldp.org\" \/>\n          <moreinfo id=\"397\" description=\"Linux Newbie\" location=\"\/\/www.linuxnewbie.org\/\" \/>\n          <moreinfo id=\"398\" description=\"Linux Planet\" location=\"\/\/www.linuxplanet.com\/linuxplanet\/\" \/>\n          <moreinfo id=\"407\" description=\"Linux Links\" location=\"\/\/www.linuxlinks.com\/\" \/>\n          <moreinfo id=\"408\" description=\"Linux Center\" location=\"\/\/www.portalux.com\/\" \/>\n          <moreinfo id=\"412\" description=\"Linux Headquarters\" location=\"\/\/www.linuxhq.com\/\" \/>\n          <moreinfo id=\"415\" description=\"Everything Linux\" location=\"\/\/everythinglinux.org\" \/>\n          <moreinfo id=\"442\" description=\"Linux Questions\" location=\"\/\/www.linuxquestions.org\/\" \/>\n          <moreinfo id=\"1478\" description=\"Loads of Linux Links\" location=\"\/\/loll.sourceforge.net\/linux\/links\/index.html\" \/>\n          <moreinfo id=\"1489\" description=\"Mad Penguin\" location=\"\/\/www.madpenguin.org\/\" \/>\n          <moreinfo id=\"1490\" description=\"Just Learning Links\" location=\"\/\/www.just-learning-links.com\" \/>\n     <\/moreinfos>\n     <glossaryterms>\n          <glossaryterm id=\"5\" term=\"account\" \/>\n          <glossaryterm id=\"9\" term=\"address\" \/>\n          <glossaryterm id=\"76\" term=\"class\" \/>\n          <glossaryterm id=\"78\" term=\"client\" \/>\n          <glossaryterm id=\"108\" term=\"daemon\" \/>\n          <glossaryterm id=\"139\" term=\"DOS\" \/>\n          <glossaryterm id=\"200\" term=\"ftp\" \/>\n          <glossaryterm id=\"216\" term=\"home directory\" \/>\n          <glossaryterm id=\"218\" term=\"host\" \/>\n          <glossaryterm id=\"236\" term=\"IP\" \/>\n          <glossaryterm id=\"251\" term=\"Lan\" \/>\n          <glossaryterm id=\"264\" term=\"login\" \/>\n          <glossaryterm id=\"275\" term=\"man-page\" \/>\n          <glossaryterm id=\"307\" term=\"name server\" \/>\n          <glossaryterm id=\"310\" term=\"network\" \/>\n          <glossaryterm id=\"338\" term=\"permissions\" \/>\n          <glossaryterm id=\"358\" term=\"protocol\" \/>\n          <glossaryterm id=\"384\" term=\"SAMBA\" \/>\n          <glossaryterm id=\"390\" term=\"security\" \/>\n          <glossaryterm id=\"398\" term=\"shell\" \/>\n          <glossaryterm id=\"407\" term=\"SMB\" \/>\n          <glossaryterm id=\"474\" term=\"UNIX\" \/>\n          <glossaryterm id=\"480\" term=\"user name\" \/>\n          <glossaryterm id=\"483\" term=\"variable\" \/>\n     <\/glossaryterms>\n     <commands>\n          <command id=\"1635\" commandname=\"nmbd\" mansection=\"8\" \/>\n          <command id=\"1636\" commandname=\"smbd\" mansection=\"8\" \/>\n          <command id=\"212\" commandname=\"false\" mansection=\"1\" \/>\n          <command id=\"686\" commandname=\"smbclient\" mansection=\"1\" \/>\n     <\/commands>\n     <topics>\n          <topic id=\"3\" text=\"Networking\" \/>\n          <topic id=\"9\" text=\"Working with the System\" \/>\n     <\/topics>\n<p>\n<title>SAMBA<\/title>\n<p>\nDue to the incredibly large number of Microsoft applications, it is almost\nexpected that a server be able to provide some kind of access to the Windows\nmachines. If you have <glossary>TCP<\/glossary>\/<glossary>IP<\/glossary> running on your machines, then you have\nconnectivity from your Windows machines to a Linux server through telnet and\nftp. However, you do have access to the file and print services provided by\nan Windows server. Or do you?\n<\/p>\n<question id=\"\" type=\"mc\" text=\"What is the primary network protocol when sharing filesystems on Windows?\" \/>\n<question id=\"\" type=\"mc\" text=\"For which protocols does SAMBA provide services?\" \/>\n<p>\nThe <glossary>network<\/glossary> <glossary>protocol<\/glossary>\nused by Windows networks is the <glossary>Session Message Block<\/glossary> or <glossary>SMB<\/glossary>.\nThis is the same <glossary>protocol<\/glossary>\nthat Microsoft has been using for years with their <glossary>Lan<\/glossary>\nManager product. Therefore, anything that\ncan access a <glossary>Lan<\/glossary>\nManager Server, will be able to access a Windows server.\n<\/p>\n<question id=\"399\" text=\"What package is used to remotely mount Windows filesystem to and from Linux?\" \/>\n<question id=\"402\" text=\"SAMBA can only share filesystems and not printers.\" \/>\n<question id=\"\" type=\"mc\" text=\"What package does Linux use to support the SMB protocol?\" \/>\n<question id=\"\" type=\"tf\" text=\"The Samba package provides Windows-specific DNS services.\" \/>\n<concept id=\"\" description=\"The SAMBA package is used to support the SMB protocol.\" \/>\n<concept id=\"\" description=\"SAMBA can both share filesystems and printers.\" \/>\n<p>\nFor quite a while now, Linux has been able to support SMBs through the <glossary>SAMBA<\/glossary> package. In fact,\nit has become one of the key selling points for Linux servers that the can provide all of the most common services\nthat Windows can. This not only means that a Linux machine can provide file and print service to Windows machines,\nbut they can also provide the same services to a Linux\nmachine.\n<\/p>\n<question id=\"401\" text=\"Because Linux and Windows have a different understanding of security, you have to be careful when you share filesystems.\" \/>\n<concept id=\"199\" description=\"Because Linux and Windows have a different understanding of security, you have to be careful when you share filesystems.\" \/>\n<p>\nBecause Linux and Windows have a different understanding of\n<glossary>security<\/glossary> and approach it in a different way, you have to be careful in what you\nmake available. However, in keeping with the <glossary>UNIX<\/glossary>\ntradition of configurability,\nyou have a wide range of choices on how to configure your system. The are many\ndifferent options to define your <glossary>security<\/glossary>\nas well as what you make available and\nhow.\n<\/p>\n<question id=\"\" type=\"TF\" text=\"Currently, the Linux SAMBA package is only the SMB-server.\" \/>\n<concept id=\"\" description=\"SAMBA has both a server and a client component.\" \/>\n<p>\nSAMBA has both a <glossary>server<\/glossary> and a <glossary>client<\/glossary>\ncomponent and as one might expect\nthe <glossary>client<\/glossary>\nside is fairly straightforward. Fortunately, to get the server side\nworking, you don&#8217;t have to do too much, either. On the other hand, there\n<i>are<\/i> a lot of options that you can use to configure the system to\nfit your needs.\n<\/p>\n<question id=\"400\" text=\"Which program represents the SAMBA server?\" \/>\n<concept id=\"\" description=\"The smbd program is the SAMBA server.\" \/>\n<question id=\"\" type=\"mc\" text=\"Which of the following are the primary SAMBA files?\" \/>\n<p>\nThere are five primary files that <glossary>SAMBA<\/glossary>\nuses. The SMB daemon is <command>smbd<\/command>, which is the <glossary>SMB<\/glossary>\nserver. This is what is what is providing the\nservices. The <glossary>client<\/glossary>\nside is the program <command>smbclient<\/command> as well as drivers that can be added automatically into the <glossary>kernel<\/glossary>. Both of these is what allows you to access Windows machines from your Linux workstations and servers.\n<\/p>\n<question id=\"\" type=\"mc\" text=\"What program provides SAMBA with the NetBIOS name server daemon?\" \/>\n<concept id=\"\" description=\"The nmbd program provides SAMBA with the NetBIOS name server daemon\" \/>\n<p>\nThe <command>nmbd<\/command> program is the <glossary>NetBIOS<\/glossary> <glossary>name server<\/glossary>\n<glossary>daemon<\/glossary>.\n<\/p>\n<p>\nBecause of the success and stability of SAMBA it has become a standard of all Linux distributions. So much so, that you will find the necessary drivers built into the Linux <glossary>kernel<\/glossary> be default. This means all you have to do to automatically mount a remote filesystem via SAMBA is put the appropriate entries in your <file type=\"\">\/etc\/fstab<\/file> to have it mounted automatically each time you boot. On my server, all of the shared data is made available through SAMBA and <em>only<\/em> SAMBA and thus it is available to all of the machines on my network.\n<\/p>\n<\/content>\n<\/page>\n{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63}META:TOPICMOVED{by=&#8221;JamesMohr&#8221; date=&#8221;1304516640&#8243; from=&#8221;LinuxTutorial\/HTML_Content.Networking_SAMBA_SAMBA&#8221; to=&#8221;LinuxTutorial\/HTML_Content.Linux_and_Windows_SAMBA_SAMBA&#8221;}{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63}\n","protected":false},"excerpt":{"rendered":"<p>{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63}META:TOPICINFO{author=&#8221;JamesMohr&#8221; date=&#8221;1304516640&#8243; format=&#8221;1.1&#8243; reprev=&#8221;1.4&#8243; version=&#8221;1.4&#8243;}{3f0b0cf5c640d99e599990c4a720721a04ec3a009b1323dd81fc335ceb655a63} EXPAND!!! Multiple sections! RENAMED: Linux_and_Windows NOT FOUND: Is it SAMBA or Samba? Where does the name come from? Candidates should know how to manage the NFS, smb and nmb daemons. * Key knowledge area(s): o &hellip; <a href=\"http:\/\/www.linux-tutorial.info\/?page_id=311\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-311","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=311"}],"version-history":[{"count":1,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/311\/revisions"}],"predecessor-version":[{"id":686,"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=\/wp\/v2\/pages\/311\/revisions\/686"}],"wp:attachment":[{"href":"http:\/\/www.linux-tutorial.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}