[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please help with printing to a Samba printer



On my home LAN my XP box shares an Epson R200 printer.

I am trying to follow the "Debian and Windows shared printing HOWTO".

Two questions follow:

Thank you very much. Bob

1) This is the first "anomaly". What are those messages at the bottom ? It's reason ?

bob@t40:~$ smbclient -I 192.168.174.242 -L fenice-nf7-maxt -N
Domain=[FENICE-NF7-MAXT] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        P$              Disk      Default share
        IPC$            IPC       Remote IPC
        print$          Disk      Printer Drivers
        SharedDocs      Disk
        R200            Printer   R200
        Z$              Disk      Default share
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
timeout connecting to 192.168.174.242:139
Error connecting to 192.168.174.242 (Operation already in progress)
Connection to fenice-nf7-maxt failed
NetBIOS over TCP disabled -- no workgroup available

2) I proceeded to define the printer to my linux CUPS (127.0.0.1:631) and this is what I see with ethereal on either box. In particular I see a Tree Connect AndX Request, Path: \\192.168.174.242\R200 in frame 9 going from linux to xp and Tree Connect AndX Response, Error: STATUS_ACCESS_DE as the reply from xp to linux in frame 10 the Reason ?

No. Time Source Destination Protocol Info 1 0.000000 192.168.174.244 192.168.174.242 TCP 57074 > microsoft-ds [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=73543465 TSER=0 WS=2

Frame 1 (74 bytes on wire, 74 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 0, Ack: 0, Len: 0

No. Time Source Destination Protocol Info 2 0.000267 192.168.174.242 192.168.174.244 TCP microsoft-ds > 57074 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1460 WS=0 TSV=0 TSER=0

Frame 2 (78 bytes on wire, 78 bytes captured)
Ethernet II, Src: 00:04:4b:80:80:03, Dst: 00:09:6b:53:12:f1
Internet Protocol, Src Addr: 192.168.174.242 (192.168.174.242), Dst Addr: 192.168.174.244 (192.168.174.244) Transmission Control Protocol, Src Port: microsoft-ds (445), Dst Port: 57074 (57074), Seq: 0, Ack: 1, Len: 0

No. Time Source Destination Protocol Info 3 0.000338 192.168.174.244 192.168.174.242 TCP 57074 > microsoft-ds [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=73543465 TSER=0

Frame 3 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 1, Ack: 1, Len: 0

No. Time Source Destination Protocol Info 4 0.015363 192.168.174.244 192.168.174.242 SMB Negotiate Protocol Request

Frame 4 (249 bytes on wire, 249 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 1, Ack: 1, Len: 183
NetBIOS Session Service
SMB (Server Message Block Protocol)
Frame 5 (155 bytes on wire, 155 bytes captured)
Ethernet II, Src: 00:04:4b:80:80:03, Dst: 00:09:6b:53:12:f1
Internet Protocol, Src Addr: 192.168.174.242 (192.168.174.242), Dst Addr: 192.168.174.244 (192.168.174.244) Transmission Control Protocol, Src Port: microsoft-ds (445), Dst Port: 57074 (57074), Seq: 1, Ack: 184, Len: 89
NetBIOS Session Service
SMB (Server Message Block Protocol)

No. Time Source Destination Protocol Info 6 0.016445 192.168.174.244 192.168.174.242 TCP 57074 > microsoft-ds [ACK] Seq=184 Ack=90 Win=5840 Len=0 TSV=73543481 TSER=5887

Frame 6 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 184,
Ack: 90, Len: 0

No. Time Source Destination Protocol Info 7 0.016912 192.168.174.244 192.168.174.242 SMB Session Setup AndX Request, User: anonymous

Frame 7 (158 bytes on wire, 158 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 184,
Ack: 90, Len: 92
NetBIOS Session Service
SMB (Server Message Block Protocol)

No. Time Source Destination Protocol Info 8 0.017755 192.168.174.242 192.168.174.244 SMB Session Setup AndX Response

Frame 8 (193 bytes on wire, 193 bytes captured)
Ethernet II, Src: 00:04:4b:80:80:03, Dst: 00:09:6b:53:12:f1
Internet Protocol, Src Addr: 192.168.174.242 (192.168.174.242), Dst Addr: 192.168.174.244 (192.168.174.244) Transmission Control Protocol, Src Port: microsoft-ds (445), Dst Port: 57074 (57074), Seq: 90, Ack: 276, Len: 127
NetBIOS Session Service
SMB (Server Message Block Protocol)

No. Time Source Destination Protocol Info 9 0.017886 192.168.174.244 192.168.174.242 SMB Tree Connect AndX Request, Path: \\192.168.174.242\R200

Frame 9 (166 bytes on wire, 166 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 276,
Ack: 217, Len: 100
NetBIOS Session Service
SMB (Server Message Block Protocol)

No. Time Source Destination Protocol Info 10 0.018630 192.168.174.242 192.168.174.244 SMB Tree Connect AndX Response, Error: STATUS_ACCESS_DENIED

Frame 10 (105 bytes on wire, 105 bytes captured)
Ethernet II, Src: 00:04:4b:80:80:03, Dst: 00:09:6b:53:12:f1
Internet Protocol, Src Addr: 192.168.174.242 (192.168.174.242), Dst Addr: 192.168.174.244 (192.168.174.244) Transmission Control Protocol, Src Port: microsoft-ds (445), Dst Port: 57074 (57074), Seq: 217,
Ack: 376, Len: 39
NetBIOS Session Service
SMB (Server Message Block Protocol)

No. Time Source Destination Protocol Info 11 0.018827 192.168.174.244 192.168.174.242 TCP 57074 > microsoft-ds [FIN, ACK] Seq=376 Ack=256 Win=5840 Len=0 TSV=73543484 TSER=5887

Frame 11 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 376,
Ack: 256, Len: 0

No. Time Source Destination Protocol Info 12 0.019380 192.168.174.242 192.168.174.244 TCP microsoft-ds > 57074 [FIN, ACK] Seq=256 Ack=377 Win=65160 Len=0 TSV=5888 TSER=73543484

Frame 12 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: 00:04:4b:80:80:03, Dst: 00:09:6b:53:12:f1
Internet Protocol, Src Addr: 192.168.174.242 (192.168.174.242), Dst Addr: 192.168.174.244 (192.168.174.244) Transmission Control Protocol, Src Port: microsoft-ds (445), Dst Port: 57074 (57074), Seq: 256,
Ack: 377, Len: 0
No. Time Source Destination Protocol Info 13 0.019430 192.168.174.244 192.168.174.242 TCP 57074 > microsoft-ds [ACK] Seq=377 Ack=257 Win=5840 Len=0 TSV=73543484 TSER=5888

Frame 13 (66 bytes on wire, 66 bytes captured)
Ethernet II, Src: 00:09:6b:53:12:f1, Dst: 00:04:4b:80:80:03
Internet Protocol, Src Addr: 192.168.174.244 (192.168.174.244), Dst Addr: 192.168.174.242 (192.168.174.242) Transmission Control Protocol, Src Port: 57074 (57074), Dst Port: microsoft-ds (445), Seq: 377,
Ack: 257, Len: 0





Reply to: