Printing problem!

Rune Henssel rune at lyngbyes.dk
Tue Oct 20 20:37:40 GMT 1998


Hello!

I have encountered a strange printing problem in samba (1.9.18p10). Certain
clients are unable to print. It dosn't matter if they are doing it from
their own machine, or using smbclient from a linux box, the error is the
same.

A dump made using smbclient with parameter -d 100 reveals that samba has
trouble finding the file it is to print.

This is a partial list of the dump:

Connecting to 172.16.0.1 at port 139
Connected
write_socket(6,76)
write_socket(6,76) wrote 76
Sent session request
got smb length of 0
write_socket(6,168)
write_socket(6,168) wrote 168
got smb length of 75
size=75
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=8070
smb_uid=0
smb_mid=8170
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12800 (0x3200)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=65280 (0xFF00)
smb_vwv[6]=255 (0xFF)
smb_vwv[7]=34560 (0x8700)
smb_vwv[8]=31 (0x1F)
smb_vwv[9]=256 (0x100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=55060 (0xD714)
smb_vwv[13]=24690 (0x6072)
smb_vwv[14]=48636 (0xBDFC)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]=255 (0xFF)
smb_bcc=6
[000] 4A 41 4E 45 54 00                                 JANET.
max mux 50
max vcs 1
max raw 65535
capabilities 0x301
Sec mode 12800
max xmt 65535
Got 0 byte crypt key
Chose protocol [NT LANMAN 1.0]
Server time is Tue Oct 20 21:33:01 1998
Timezone is UTC+2.0
write_socket(6,89)
write_socket(6,89) wrote 89
got smb length of 68
size=68
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=8070
smb_uid=0
smb_mid=8170
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1 (0x1)
smb_bcc=27
[000] 55 6E 69 78 00 53 61 6D  62 61 20 31 2E 39 2E 31  Unix.Sam ba 1.9.1
[010] 38 70 31 30 00 4A 41 4E  45 54 00                 8p10.JAN ET.
Domain=[JANET] OS=[Unix] Server=[Samba 1.9.18p10]
security=share
write_socket(6,80)
write_socket(6,80) wrote 80
got smb length of 53
Connected with cnum=13 max_xmit=65531
smb: \> dos_clean_name [\\testpage.prn]
write_socket(6,60)
write_socket(6,60) wrote 60
got smb length of 35
ERRHRD - 39 opening remote file \testpage.prn
smb: \> cli_send_logout
write_socket(6,39)
write_socket(6,39) wrote 39
got smb length of 35


I am at a loss as to why it can't find the file, since using a different
UserID lets me print the file without problems.

Yours!

    Rune Henssel
    rune at lyngbyes.dk




More information about the samba-technical mailing list