[Samba] Another printing problem...

Bunny Pfau bunny at ucar.edu
Sun Sep 22 00:05:00 GMT 2002


At 09:40 AM 9/22/2002 +1000, Andrew Bartlett wrote:
>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


I'd be interested in the answer, too--I see this consistently under Samba
2.2.1 (Solaris 7/Win2k clients).  The way we work around
it is to create a mount --like to the PC user's UNIX home directory,
a SAMBA share--once the user authenticates on that file system share,
the printer works okay..

Bunny Pfau




More information about the samba mailing list