{"id":21,"date":"2016-01-10T10:46:51","date_gmt":"2016-01-10T09:46:51","guid":{"rendered":"http:\/\/www.qltel.org\/wordpress\/?p=21"},"modified":"2016-01-10T10:46:51","modified_gmt":"2016-01-10T09:46:51","slug":"samba","status":"publish","type":"post","link":"https:\/\/www.qltel.org\/wordpress\/index.php\/2016\/01\/10\/samba\/","title":{"rendered":"Samba"},"content":{"rendered":"<p>Het installeren van Samba voor Windows Shares:<\/p>\n<p>sudo apt-get install samba (duurt even)<\/p>\n<p>sudo apt-get install samba-common-bin (da&#8217;s denk ik niet nodig)<\/p>\n<p>sudo nano \/etc\/samba\/smb.conf<\/p>\n<p>Comment out alle printeraanwijzingen e.d. en maak onderaan een instelling voor de gewenste share:<\/p>\n<p>[pihome]<br \/>\ncomment= Pi Home<br \/>\npath=\/home\/pi<br \/>\nbrowseable=Yes<br \/>\nwriteable=Yes<br \/>\nonly guest=no<br \/>\ncreate mask=0777<br \/>\ndirectory mask=0777<br \/>\npublic=no<\/p>\n<p>Nog even testen: sudo testparm -s<\/p>\n<p>Password instellen (hoeft niet hetzelfde te zijn als in linux zelf)<\/p>\n<p>sudo smbpasswd -a pi<\/p>\n<p>Zorgen dat de drives na een herstart weer gemount worden:<\/p>\n<p>sudo apt-get install autofs<\/p>\n<p>De config: sudo nano \/etc\/auto.master<\/p>\n<p>En daar schijnt dit in te moeten staan (onderaan):<\/p>\n<p>+auto.master<br \/>\n\/media\/ \/etc\/auto.ext-usb &#8211;timeout=10,defaults,user,exec,uid=1000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Het installeren van Samba voor Windows Shares: sudo apt-get install samba (duurt even) sudo apt-get install samba-common-bin (da&#8217;s denk ik niet nodig) sudo nano \/etc\/samba\/smb.conf Comment out alle printeraanwijzingen e.d. en maak onderaan een instelling voor de gewenste share: [pihome] comment= Pi Home path=\/home\/pi browseable=Yes writeable=Yes only guest=no create mask=0777 directory mask=0777 public=no Nog even &hellip; <a href=\"https:\/\/www.qltel.org\/wordpress\/index.php\/2016\/01\/10\/samba\/\" class=\"more-link\">Verder lezen <span class=\"screen-reader-text\">Samba<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-geen-categorie"],"_links":{"self":[{"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qltel.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}