[KLUG Members] linux as print server

bill members@kalamazoolinux.org
Tue, 23 Jul 2002 09:35:14 -0400


H

Adam Williams wrote:

> Use the bind interfaces parameter to set it to listen on the internal
> ether specifically.  That will both solve the security issue (at least
> in part) and make sure it is listening in the right place.

There's two parameters, apparently. "Bind interfaces only" (can be yes or no) which I'm
not using or "interfaces" which is set to the internal eth0 ("interfaces=eth0")

> >>Can you poll the Win9x boxes from the Linux box with "smbclient -L
> >>{win9xname}"?
> >Nope.  It adds an interface line about the ethernet card and says
> >"connection to (win9xname) failed".
>
> What does "smbclient -L localhost" say?

It adds the local interface and asks for a password.  That kept failing (I kept trying the
command) until I put in a password from a user on the Linux box.  That worked.  It
displayed a table of info that looked correct (shares, server, workgroup) but "Master" had
no value.

So, do users (and passwords) need to be set up on the Linux box for the win9x machines?

> Are your win9x boxes in DNS or /etc/hosts?  Or do you have a WINS server
> floating about?  To circumnavigate name-space mire it is probably
> easiest to enable WINS support on the Samba process and set the Win9x
> boxes to use it as the WINS host if you don't already have one.

Not using DNS, don't know what  /etc/hosts is.  No WINS server exhibiting levitation.  The
win9x machines are set to share peer-to-peer between themselves w/Netbeui.  They also have
tcp/ip bound on the same ethernet card as a means of going on the internet.  All win9x
machines can share files & printers as well as surf the web.

> On a Win box what does "nbtstat -a" show?  Or maybe nbtstat only exists
> on >WinNT, I can't remember.

No nbstat on win9x machines.

> >>What is the security mode on your Samba box?
> >Tried User for a bit, now it's set to Share.
>
> Ok.  If the box is also a firewall and only doing print serving this
> makes the most sense.

Ah but next is using the linux machine to do backup.  But, one hurdle at a time.

> >>>Seems like it should be simple, but haven't seen it yet.
> >>Optimism?  Wow, I haven't seen that in awhile.  I'll delist it from the
> >>"things endangered" class. :)
> >Optimism is the only way to keep working when it doesn't work.  There's
> >always a reason, it's just a matter of figuring it out. ;-)
>
> Sorry, I spend too much time with users who hold "figuring it out" as an
> unattainable goal, genetically beyond their capacity.   And I'm talking
> about word processors.......

No apology needed, I thought it was funny, my comment was intended to be positive.

kind regards,

bill