Difference between revisions of "Samba Server"

From Maze's wiki
Jump to: navigation, search
(Check Samba version)
Line 5: Line 5:
 
apt-cache showpkg samba
 
apt-cache showpkg samba
 
</pre>
 
</pre>
And if necessary add backports to your /etc/aptsources.list
+
And if necessary add backports to your /etc/aptsources.list and update your package list.
 
<pre>
 
<pre>
deb http://www.backports.org/debian lenny-backports main contrib
+
echo "deb http://www.backports.org/debian lenny-backports main contrib" >> /etc/apt/source.list
 +
apt-get update
 
</pre>
 
</pre>
 +
 
=Installation=
 
=Installation=
 
<pre>
 
<pre>

Revision as of 09:09, 10 May 2010

Check Samba version

It's best to run samba version >= 3.4 for compatibility with Windows 7 clients. So check your version number with:

apt-cache showpkg samba

And if necessary add backports to your /etc/aptsources.list and update your package list.

echo "deb http://www.backports.org/debian lenny-backports main contrib" >> /etc/apt/source.list
apt-get update

Installation

apt-get install samba
or
apt-get -t lenny-backports install samba
  • Workgroup/Domain Name: <EXAMPLE.COM>
  • Modify smb.conf to use WINS settings from DHCP? <No>