[lug] need samba help for printing

Calvin Dodge caldodge at fpcc.net
Fri Nov 16 15:23:11 MST 2001


On Fri, Nov 16, 2001 at 03:56:07PM -0600, Michael J. Hammel wrote:
> am I using on the Linux box?  Can I configure Samba to not ask for
> passwords at all?  I though setting the Global "Security" option to "SHARE"
> would do that, but I still get asked for passwords.

I believe you need the following (working from memory plus the smb.conf file at work).

In the general section of smb.conf:

map to guest = Bad Password

In the [printers] section:

guest ok = Yes


The first part says "if the user enters a bad password, don't ask him/her to re-enter it. Assume they are guests".

The printer part says "guests may use this share".

Reload smbd after making those changes, of course (on RH it's "/etc/init.d/smbd reload").


If you _want_ password protected shares (though from your comments I gather that's not the case) ...

If you're running Win98 (or any version of Windows with encrypted passwords), you need to add users to the "smbpasswd" file (/etc/samba/smbpasswd on RH 7.1 & 7.2) with the "smbpasswd" command.

That _shouldn't_ be an issue if you're running only Win95, though.


Calvin

-- 
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net



More information about the LUG mailing list