[Samba] setting drivers?

Gerald Carter jerry at samba.org
Mon Jul 8 07:13:26 GMT 2002

On Thu, 27 Jun 2002, Anderson, Phil wrote:

> I'm trying to set drivers for printers such that they will automatically
> download onto winNT/W2K clients. I've followed the instructions in
> printer_drivers2.html (I'm using samba 2.2.5). my questions:
> -do I have to define each printer individually in smb.conf? I know you do
> for the "old" style of printing, the style that didn't work with NT or W2K.
> here's what I have now:

No.  A single [printers] secti0on is fine.

> I'm connecting from a NT4 client. My samba server never asks me for a
> password, and I've done everything I know (map the server with a
> different username, etc) and I can't get the server to ask me for a
> password. This is a problem, because when I right-click on the printers
> (on the samba host through winNT), I can't set drivers for them, as the
> options are all grayed out (due to lack of permissions.) My username is
> in the smbpasswd file, and I know it authenticates right, because I can
> get access to my home dir through the samba share. I just can't get the
> printers share mapped with a different username (mapping
> \\hostname\print$ works, but mapping \\hostname\printers raises a
> "network name not found" error.)
> I've been working on this for numerous hours, and I don't know why it's
> happening. Any help would be greatly appreciated. Thanks,

before every browing the samba server, run something like

	net use \\server\print$ /user:root

to forfce authentication to use a particular account.

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list