{"id":172,"date":"2005-01-05T08:43:45","date_gmt":"2005-01-05T00:43:45","guid":{"rendered":"http:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=172"},"modified":"2005-01-05T08:51:56","modified_gmt":"2005-01-05T00:51:56","slug":"freebsd-install-samba-3","status":"publish","type":"post","link":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=172","title":{"rendered":"[FreeBSD] Install Samba 3"},"content":{"rendered":"<p>cd \/usr\/ports\/net\/samba3 ; make install clean<\/p>\n<p>&#8230;.<\/p>\n<p><!--more--><br \/>\nStarting from Samba 3.0.3 this port doesn&#8217;t create &#8216;smbpasswd&#8217; file<br \/>\nautomatically. Users are encouraged to use &#8216;tdbsam&#8217; backend instead:<\/p>\n<p>  [global]<br \/>\n    passdb backend = tdbsam, smbpasswd<\/p>\n<p>You can use pdbedit to migrate accounts from &#8216;smbpasswd&#8217; to &#8216;tdbsam&#8217;,<br \/>\nsee the Samba-HOWTO-Collection.<\/p>\n<p>You still can create &#8216;smbpasswd&#8217; file with the supplied &#8216;make_smbpasswd&#8217;<br \/>\nscript:<\/p>\n<p>  cat \/etc\/passwd | grep -v &#8220;^#&#8221; | make_smbpasswd > smbpasswd<br \/>\n  chmod 600 smbpasswd<\/p>\n<p>But the usage of it is deprecated.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nNOTICE: *.tdb files have been moved from \/var\/run\/samba\/ to \/var\/db\/samba\/!<br \/>\nNOTICE: Please, move them manually, if necessary, at least winbind_*.tdb.<br \/>\n******************************************************************************<br \/>\n===>   Compressing manual pages for samba-3.0.10,1<br \/>\n===>   Registering installation for samba-3.0.10,1<br \/>\n===> SECURITY REPORT:<br \/>\n      This port has installed the following files which may act as network<br \/>\n      servers and may therefore pose a remote security risk to the system.<br \/>\n\/usr\/local\/bin\/smbspool<br \/>\n\/usr\/local\/bin\/smbtree<br \/>\n\/usr\/local\/bin\/smbcontrol<br \/>\n\/usr\/local\/bin\/nmblookup<br \/>\n\/usr\/local\/bin\/testparm<br \/>\n\/usr\/local\/lib\/pam_smbpass.so<br \/>\n\/usr\/local\/bin\/smbstatus<br \/>\n\/usr\/local\/bin\/pdbedit<br \/>\n\/usr\/local\/bin\/net<br \/>\n\/usr\/local\/bin\/testprns<br \/>\n\/usr\/local\/bin\/smbcacls<br \/>\n\/usr\/local\/bin\/smbclient<br \/>\n\/usr\/local\/sbin\/swat<br \/>\n\/usr\/local\/sbin\/nmbd<br \/>\n\/usr\/local\/bin\/rpcclient<br \/>\n\/usr\/local\/bin\/ntlm_auth<br \/>\n\/usr\/local\/sbin\/smbd<br \/>\n\/usr\/local\/bin\/smbpasswd<br \/>\n\/usr\/local\/bin\/smbcquotas<\/p>\n<p>      This port has installed the following startup scripts which may cause<br \/>\n      these network services to be started at boot time.<br \/>\n\/usr\/local\/etc\/rc.d\/samba.sh<\/p>\n<p>      If there are vulnerabilities in these programs there may be a security<br \/>\n      risk to the system. FreeBSD makes no guarantee about the security of<br \/>\n      ports included in the Ports Collection. Please type &#8216;make deinstall&#8217;<br \/>\n      to deinstall the port if this is a concern.<\/p>\n<p>      For more information, and contact details about the security<br \/>\n      status of this software, see the following webpage:<br \/>\nhttp:\/\/www.samba.org\/<\/p>\n<hr>\n<p>Reference:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.hk.redhat.com\/docs\/manuals\/linux\/RHL-9-Manual-TW\/custom-guide\/s1-samba-configuring.html#S3-SAMBA-GUI-USERS\">http:\/\/www.hk.redhat.com \u8a2d\u5b9a\u4e00\u90e8Samba \u4f3a\u670d\u5668<\/a><\/li>\n<li><a href=\"http:\/\/www.it.lut.fi\/~doc\/samba-3.0.0beta3\/htmldocs\/pam.html#id2993700\">PAM based Distributed Authentication<\/a><\/li>\n<li><a href=\"http:\/\/www.it.lut.fi\/~doc\/samba-3.0.0beta3\/htmldocs\/winbind.html\">Integrated Logon Support using Winbind<\/a><\/li>\n<\/ul>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fcbkbttn_like \"><fb:like href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=172\" action=\"like\" colorscheme=\"light\" layout=\"standard\" show-faces='false' width=\"450px\" size=\"small\"><\/fb:like><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>cd \/usr\/ports\/net\/samba3 ; make install  &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=172\"> <span class=\"screen-reader-text\">[FreeBSD] Install Samba 3<\/span> \u95b1\u8b80\u66f4\u591a &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":0,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}