[lug] need samba help for printing
Sean LeBlanc
seanleblanc at home.com
Sat Nov 17 17:07:16 MST 2001
On 11-16 15:23, Calvin Dodge wrote:
> 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.
I thought you can just enable encryption on the Samba side if encrypted passwords
are used?
The other option is to turn off encryption in Win98 or NT 4/5. The SMB Howto has
the registry settings for Windows that do this:
http://www.linuxdoc.org/HOWTO/SMB-HOWTO-7.html
Have fun,
--
-
Sean LeBlanc, seanleblanc at home.com
More information about the LUG
mailing list