{"id":161,"date":"2008-10-22T13:19:10","date_gmt":"2008-10-22T18:19:10","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=161"},"modified":"2008-10-22T13:19:10","modified_gmt":"2008-10-22T18:19:10","slug":"samba-issues-and-fix","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2008\/10\/samba-issues-and-fix\/","title":{"rendered":"Samba Issues and Fix"},"content":{"rendered":"<p>After installing CentOS 5.2 x64, webmin 1.420, and vmware server 2.0.0, I tried to get samba working.<\/p>\n<p>Getting samba to work correctly is the easiest via the webmin interface.  Webmin actually makes almost everything easier.  I like it when computers are made easier.  Thank you, webmin.  You can find how to install webmin by searching for webmin.  Too bad I don&#8217;t get paid for the number of times I can type webmin.  I&#8217;d be rich.  Webmin.<\/p>\n<p>Back to the task at hand&#8230;  I set samba up to work:<br \/>\n<code>yum install samba<\/code><br \/>\nBut it&#8217;s not set to automatically start, so we have to use webmin ($$$) to get it to auto start.  Samba requires two services to run:<br \/>\n1.) SMB &#8211; starts and stops the Samba smbd and nmbd daemons used to provide SMB network services.<br \/>\n2.) winbind &#8211; starts and stops the Samba winbind daemon.<br \/>\nI set both of them to startup when the system starts.<\/p>\n<p>Then I set the permissions on a folder (\/var\/lib\/virtual machines\/) which I called vmware.  They are\/were setup correctly.  But I couldn&#8217;t attach from my windows box to the samba share.  Permission denied.<\/p>\n<p>So then I tried to chmod -R 777 \/Virtual\\ Machines<br \/>\nDidn&#8217;t work.<\/p>\n<p>As a final attempt, I tried to smbpasswd (username)<br \/>\nTyped in a new password<br \/>\n<code>Failed to find entry for user (username)<\/code><br \/>\n<code>Failed to modify password entry for user (username)<\/code><\/p>\n<p>Webmin failed me!  It said that it converted the users for me, but obviously it hasn&#8217;t.<br \/>\nSo here&#8217;s the fix:<\/p>\n<blockquote><p>\nsmbpassword -a (username)<br \/>\nNew SMB password:<br \/>\nRetype new SMB Password<br \/>\nAdded user (username)<\/p><\/blockquote>\n<p>And then, like magic, samba started working!  Whooo!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing CentOS 5.2 x64, webmin 1.420, and vmware server 2.0.0, I tried to get samba working. Getting samba to work correctly is the easiest via the webmin interface. Webmin actually makes almost everything easier. I like it when computers are made easier. Thank you, webmin. You can find how to install webmin by searching &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2008\/10\/samba-issues-and-fix\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Samba Issues and Fix<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/161\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}