I had a client that was an advertising firm doing basically what you're
thinking here on a much larger scale.
Samba & Netatalk can operate off the same directories & share the same
files and locking can be a problem depending on how it's implimented.
MS-Word for example writes a second file to lock - this should
theoretically work where the same file is openned with Windows/Mac version
of MS-Word. If a non file based locking is done it probably won't work
(yes there's exceptions you pedants).
As for the printer, check the manual, maybe it's setup in 'Apple' mode or
something. Theoretically you should be able to communicate via Netatalk
with it on Linux and share that via samba but yeah it's probably easier to
make the primary connection the Linux box.
On Sat, 13 Dec 2003, Tom Massey wrote:
> Morning all,
>
> I'm looking for a way to have a Mac LAN and Win LAN share internet
> access, printing, and files. I think that a Linux machine somewhere
> in the mix might do the job.
>
> Basic situation is that my Dad has a bunch of Mac OS 9.x machines,
> he's going to share office space with a friend running Windows
> machines. They're going to get an ADSL connection to the office.
> What's wanted is:
>
> Share the ADSL connection.
> Share files with a secretary running MS Word (probably on Windows,
> but perhaps on a Mac).
> Share the laser printer.
>
> My thought is a Linux machine connected to the ADSL link using iptables
> for firewall/masquerading/routing, running Netatalk and Samba. Create
> a directory on the Linux machine which is shared to my Dad's Macs via
> Netatalk, but is also a Windows share for the secretary via Samba. So
> Dad can put files in there from a Mac, the secretary can put files in
> there from Windows, both sides can access it. I've found no docs that
> say this can't be done, but I'm a bit concerned about how file locking
> works in this situation. Then create a separate Windows share for my
> Dad's friend on the Linux box, again shared via Samba to the secretary.
> There's no need for files to be shared between Dad and his friend, just
> between each and the secretary.
>
> Does the above make sense?
>
> The printer is an HP Laserjet 4. It has an ethernet port. Plugged into
> an AppleTalk network, it comes up in the chooser and works fine. I can't
> seem to get it to respond to Linux or Windows over the ethernet
> connection. When plugged in, it sends out ARP packets that are received
> but I'm not sure what should be responding to them. Seems to be looking
> for a free IP address. Tried playing with dhcp but that doesn't seem to
> do the job. Plugged into the parallel port of Windows or Linux it works
> fine. I'm thinking it might be easiest to plug it into the Linux box and
> use CUPS to share it.
>
> Thanks for any thoughts,
>
> Tom
>
--
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug