[Samba] Another printing problem...
Jeff Shipman
shippy at nmt.edu
Sat Sep 21 21:06:01 GMT 2002
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:
[2002/09/21 15:07:54, 2] smbd/server.c:open_sockets(198)
waiting for a connection
[2002/09/21 15:09:32, 2] lib/access.c:check_access(321)
Allowed connection from (192.168.0.3)
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=NEPTUNE name2=SEPHIRA
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_special(111)
netbios connect: local=neptune remote=sephira
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_sesssetup_and_X(972)
Defaulting to Lanman password for bonnie
[2002/09/21 15:09:32, 2] smbd/password.c:pass_check_smb(584)
pass_check_smb failed - invalid password for user [bonnie]
[2002/09/21 15:09:32, 2] lib/access.c:check_access(321)
Allowed connection from (192.168.0.3)
[2002/09/21 15:09:34, 2] lib/access.c:check_access(321)
Allowed connection from (192.168.0.3)
[2002/09/21 15:09:45, 2] lib/access.c:check_access(321)
Allowed connection from (192.168.0.3)
[2002/09/21 15:09:45, 2] smbd/reply.c:reply_sesssetup_and_X(972)
Defaulting to Lanman password for bonnie
[2002/09/21 15:09:45, 2] smbd/password.c:pass_check_smb(584)
pass_check_smb failed - invalid password for user [bonnie]
[2002/09/21 15:09:45, 2] lib/access.c:check_access(321)
Allowed connection from (192.168.0.3)
[2002/09/21 15:09:45, 1] smbd/service.c:make_connection(615)
sephira (192.168.0.3) connect to service jaz as user bonnie
(uid=1001, gid=100
1) (pid 1712)
At some point it seems to be checking the Lanman password?
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.
--
Jeff "Shippy" Shipman E-Mail: shippy at nmt.edu
Computer Science Major ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy
More information about the samba
mailing list