[Samba] Another printing problem...

Andrew Bartlett abartlet at samba.org
Sat Sep 21 23:40:01 GMT 2002

Jeff Shipman wrote:
> I'm running samba 2.2.3a-6 under Debian (testing) and I
> am having a heck of a time getting Windows 2000 to print
> to my printer. I keep getting that "Access denied, unable
> to connect" message. At one point I had it so you could
> print test pages, but as soon as you tried to print from
> an application, it would break. However, that doesn't
> even work anymore. I've been reading around, but none
> of the solutions I've seen work for me. Here is what I
> have in my smb.conf file for the printer:
> [Epson]
>      use client driver = Yes
>      path = /var/spool/samba
>      comment = Epson Stylus COLOR 777
>      guest ok = Yes
>      printable = Yes
>      print command = lpr -P %p -o raw %s -r
>      printer name = Epson
>      browseable = Yes
>      guest ok = Yes
>      writable = no
> My /var/spool/samba looks like this:
> drwxrwxrwt    2 root     root         4096 Sep 21 14:28 /var/spool/samba
> Here is a section from my log:

> At some point it seems to be checking the Lanman password?

I don't know, but Samba 2.2 does some werid stuff...

> I have no idea why it's doing that. The password bonnie logs
> in with is the same as the unix password. Plus, she is allowed
> to login to all of the other shares (which can be seen in the
> last line).
> If anyone could provide me assistance with this, I would greatly
> appreciate it. I've been scratching my head over this for a couple
> of days now.

You probably need to turn up the debug level, and show exactly where the
connection to [epson] is failing.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list