Difference between revisions of "Samba - a Windows-readable file share"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
{{Template:Articles}}''<font color=red><small>This article based on work done by Frontalot at Linkstationwiki.org</small></font>''
+
{{Template:Articles|Ipkg|Debian|FreeLink|OpenLink|Mediaserver}}
 +
''<font color=red><small>This article based on work done by Frontalot at Linkstationwiki.org</small></font>''
 
<table align=right><tr><td>
 
<table align=right><tr><td>
 
http://upload.wikimedia.org/wikipedia/en/f/f9/Samba.png <br>
 
http://upload.wikimedia.org/wikipedia/en/f/f9/Samba.png <br>
Line 37: Line 38:
 
==References==
 
==References==
 
<references/>
 
<references/>
[[Category:Debian]]
 
[[category:FreeLink]]
 
[[category:OpenLink]]
 
[[Category:Mediaserver]]
 

Revision as of 02:48, 15 September 2006

This article based on work done by Frontalot at Linkstationwiki.org

Samba.png

Contents

Samba

Samba[1] is a free software implementation of Microsoft's networking protocol released under the GNU General Public License. As of version 3, Samba not only provides file and print services for various Microsoft Windows clients but can also integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a Domain Member. It can also be part of an Active Directory domain.[2]

Installation

FreeLink

1. Install the Samba[3][4] and SMBFS packages. Use the command:

apt-get install samba smbfs 

2. Enter your domain/workgroup when prompted. The Windows XP default is MSHOME.

3. If prompted, select yes to creating a password database.

4. Although it is possible to setup Samba manually[5], it is highly recommended that you use Webmin[6] for configuration. Webmin is much easier to use and will undoubtedly save you a lot of trouble.

Openlink

The /etc/samba/smb.conf file is regenerated automatically on every reboot by the melco-scripts. Samba 3.0.23 is not compatible with the smb.conf that gets created for samba 2.2. In order to use use your handmade samba config, and tell the LS not to touch it: Have a look at:
  1. How to disable the automatic update of smb.conf, proftpd.conf, Applevolumes.default

PowerPC

The LinkStation by default comes with a version of Samba[7], if you want a newer version (3.0.23) you'll have to install it manually [8][9] from precompiled binaries or alternatively compile it from source.[10]

wget http://downloads.linkstationwiki.net/packages/ppc/samba_3.0.23_ppc.tar.gz
tar -C / -xvzf samba_3.0.23_ppc.tar.gz

MIPSel

Alexander Skwar has created a fairly extensive selection of Ipkg packages for the MIPSel (LS2) LinkStation[11][12], Install Ipkg and enable his feed:

Then use Ipkg to install samba_3.0.23b:

ipkg install samba

Troubleshooting

References

  1. Wikipedia:Samba (software)
  2. Samba Documentation
  3. http://www.samba.org/ The samba web site
  4. http://us4.samba.org/samba/docs/using_samba/toc.html "Using Samba", by Ts, Eckstein, and Collier-Brown (O'Reilly)
  5. http://www.reallylinux.com/docs/smb.conf - a sample smb.conf file
  6. Webmin to remotely administer your LinkStation
  7. FAQ: What version of Samba does the stock LinkStation come with? Netatalk? thttpd? WU-FTPD? ProFTPD?
  8. The Linkstation Community Forum / General Development / optware packages - wouldn`t that be an idea for openlink?
  9. The Linkstation Community Forum / Linkstation 2 (mips) / Cannot write to USB disk
  10. http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html - How to Compile Samba
  11. The Linkstation Community Forum / Linkstation 2 (mips) / LS2 Samba 3.0 Installation
  12. The Linkstation Community Forum / Software (mips) / Samba 3 package for LS2 MIPSEL?