Problem: Printer name is invalid

Mike Black mblack at csihq.com
Mon Jan 12 19:25:28 GMT 1998


I've done some more testing and found that the "lpq" permission problem is
NOT the cause (I modified so it had global permissions).

I'm still in the boat that all my NT systems (not sure about '95) cannot
make any new connections to printers.  They consistently get a "printer name
is invalid".  Existing connections work OK.  If I drop a good connection I
cannot remake it (same message).

Anybody got a clue as to what is going on?  I've attached a TCPDUMP of the
transaction and it does not indicate any problems (i.e. no errors).

14:21:52.923076 mblack.csihq.com.3373 > picard.csihq.com.netbios-ssn: P
520316506:520316589(83) ack 2675807502 win 7319
>>> NBT Packet
NBT Session Packet
Flags=0x0
Length=79

SMB PACKET: SMBopenX (REQUEST)
SMB Command   =  0x2D
Error class   =  0x0
Error code    =  0
Flags1        =  0x18
Flags2        =  0x3
Tree ID       =  110
Proc ID       =  51966
UID           =  100
MID           =  832
Word Count    =  15
smbvwv[]=
Com2=0xFF
Off2=0
Flags=0x1
Mode=0x42
SearchAttrib=HIDDEN SYSTEM DIR
Attrib=
Time=Tue Aug 31 07:37:52 1999
OFun=0x1
Size=0
TimeOut=-1
Res=0x0
smbbuf[]=
Path=\pipe\spoolss


 (DF)
14:21:52.924220 picard.csihq.com.netbios-ssn > mblack.csihq.com.3373: P
1:40(39) ack 83 win 64240
>>> NBT Packet
NBT Session Packet
Flags=0x0
Length=35

SMB PACKET: SMBopenX (REPLY)
SMB Command   =  0x2D
Error class   =  0x2
Error code    =  4
Flags1        =  0x88
Flags2        =  0x1
Tree ID       =  110
Proc ID       =  51966
UID           =  100
MID           =  832
Word Count    =  0
SMBError = ERRSRV - ERRaccess (The requester does not have  the  necessary
access  rights  within  the specified  context for the requested function.
The context is defined by the TID or the UID.)
smbvwv[]=
Com2=smb_bcc=0


 (DF)
14:21:52.930341 mblack.csihq.com.3373 > picard.csihq.com.netbios-ssn: P
83:189(106) ack 40 win 8760
>>> NBT Packet
NBT Session Packet
Flags=0x0
Length=102

SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x18
Flags2        =  0x3
Tree ID       =  110
Proc ID       =  51966
UID           =  100
MID           =  896
Word Count    =  14
TotParamCnt=22
TotDataCnt=0
MaxParmCnt=6
MaxDataCnt=0
MaxSCnt=0
TransFlags=0x0
Res1=0x1388
Res2=0x0
Res3=0x0
ParamCnt=22
ParamOff=80
DataCnt=0
DataOff=0
SUCnt=0
Name=\PIPE\LANMAN
Data: (4 bytes)
[000] 00 73 00 00                                       .s..
Command=0x46
Str1=zWrLh
Str2=B13
Data: (10 bytes)
[000] 68 70 6C 6A 36 00 00 00  00 00                    hplj6... ..


 (DF)
14:21:52.976917 picard.csihq.com.netbios-ssn > mblack.csihq.com.3373: P
40:107(67) ack 189 win 64240
>>> NBT Packet
NBT Session Packet
Flags=0x0
Length=63

SMB PACKET: SMBtrans (REPLY)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x88
Flags2        =  0x1
Tree ID       =  110
Proc ID       =  51966
UID           =  100
MID           =  896
Word Count    =  10
TotParamCnt=6
TotDataCnt=0
Res1=0
ParamCnt=6
ParamOff=55
Res2=0
DataCnt=0
DataOff=63
Res3=0
Lsetup=0
Unknown Data: (2 bytes)
[000] 00 00                                             ..
Param Data: (6 bytes)
[000] 00 00 00 00 00 00                                 ......



12 packets received by filter
0 packets dropped by kernel
Script done on Mon Jan 12 14:21:57 1998




More information about the samba mailing list