Linux as a file server for Windows PCs and Macs

Humberto Ortiz Zuazaga
humberto -at-
September 15, 1997

Problem statement

Prepare a course in e-mail, FTP, WWW, and HTML publishing, for 40 natural sciences students of varying backgrounds. The course may be taught on Macs or PCs. Not all students will have accounts on upracd.


Set up a linux server for the course. The server can provide file services to PCs or Macs, POP3 and IMAP e-mail services, shell accounts, HTTP services, and hold students HTML pages.

Why linux?


What is Samba?

Samba is a SMB file server that runs on Unix and other operating systems. It allows these operating systems (currently Unix, Netware, OS/2 and AmigaDOS) to act as a file and print server for SMB clients. There are many Lan-Manager compatible clients such as LanManager for DOS, Windows for Workgroups, Windows NT, Windows 95, OS/2, Pathworks and many more.

The package also includes a SMB client for accessing other SMB servers and a netbios nameserver for browsing support.

What can Samba do for me?

If you have any PCs running SMB clients, such as a PC running Windows for Workgroups, then you can mount file space or printers on a Samba host, so that directories, files and printers on the host are available on the PC.

The client part of the package will also allow you to attach to other SMB-based servers (such as windows NT and windows for workgroups) so that you can copy files to and from your unix host. The client also allows you to access a SMB printer (such as one attached to an OS/2 or WfWg server) from Unix, using an entry in /etc/printcap, or by explicitly specifying the command used to print files.

What is netatalk?

netatalk is an implementation of the AppleTalk Protocol Suite. The current release contains support for EtherTalk Phase I and II, DDP, RTMP, NBP, ZIP, AEP, ATP, PAP, ASP, and AFP.

DDP is in the kernel. "atalkd" implements RTMP, NBP, ZIP, and AEP. It is the AppleTalk equivalent of Unix "routed". There is also a client-stub library for NBP. ATP and ASP are implemented as libraries. "papd" allows Macs to spool to "lpd", and "pap" allows Unix machines to print to AppleTalk connected printers. "psf" is a PostScript printer filter for "lpd", designed to use "pap". "psorder" is a PostScript reverser, called by "psf" to reverse pages printed to face-up stacking printers. "afpd" provides Macs with an interface to the Unix file system. Refer to the appropriate man pages for operational information.






  1. The Samba Home Page
  2. The netatalk homepage
  3. The linux-netatalk HOWTO

[Converted LaTeX --> HTML by ltoh]

Troglodita approved!

Humberto Ortiz Zuazaga

Most recent change: 2007/9/3 at 22:15
Generated with GTML