[KLUG Members] removing password from network printer

Adam Williams members@kalamazoolinux.org
Tue, 16 Dec 2003 05:52:00 -0500


> >>How can I remove the password from a network printer?  It's a protected 
> >>local network, and I don't see any need for a password, just the 
> >>inconvenience.
> >>Printer's on a Linux box, using Samba.
> > Does a blank password work?
> no
> > Is the printer share "guest ok = yes".  
> Hmmm... how can I find smb.conf if it isn't in /etc  ?

Usually is /etc/samba/smb.conf  Samba has several control files, usually
all of which are tucked away in /etc/samba

> > And is the "guest account ="
> > indicating a VALID user account.  Nothing guest will work unless guest
> > account is a real account (just a very common mistake).
> I think you're saying that setting a line in smb.conf to say
> guest account=
> will work as long as there is no account on the box called "guest"?

The global section of your smb.conf needs a "guest account = {some
account}".  The account referred to must actually exists,  this is the
security context smbd assumes when processing anonymous connections (so
using something like "root" is bad :).  Often times this is something
like "pcguest" or some such,  that isn't used for anything else, has a
shell of /bin/false and a home directory of /dev/null, etc...  If you
alread have a "guest account =" set try doing a "id {account} on the
command line to see that the account is legit.