[Samba] samba error in all versions of samba code
Robert M Shepard
bob at rmshep.mt.net
Sun Nov 17 17:20:00 GMT 2002
This error is an error in the rpc code. It has been posted to the list
several times (this is my third, but at least ten times by others as
well). This error occurs with the linux rpcclient code in setting and
uploading printers to samba on the same box. It also occurs when
uploading drivers from Win2k and WinNt to the same box.
On the other hand, I do have two linux boxes, which appear to be identical
in all respects, on which the code runs correctly.
This error occures in 2.2.5, 2.2.6rc2, 2.2.6 and the current CVS (3.0.20
?) code (which I down loaded and installed).
This error is not an authentication error.
All linux servers are running redhat 7.3. They appear to be identical in
most respects.
using the rpcclient from the cvs 3.0.20... branch against the server
running the 3.0.20 branch I get the following:
rpcclient localhost -N -U'xxxx%yyyyyyy' -c 'adddriver "Windows 4.0"
"hislsr1:ADOBEPS4.DRV:hislsr1.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV:hislsr1.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
added interface ip=172.25.0.19 bcast=172.25.255.255 nmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
resolve_wins: Attempting wins lookup for name localhost<0x20>
resolve_wins: using WINS server 206.127.100.66 and tag '*'
Negative name query response, rcode 0x03: The name requested does not
exist.
resolve_hosts: Attempting host lookup for name localhost<0x20>
Connecting to host=localhost share=IPC$
Connecting to 127.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
lsa_io_sec_qos: length c does not match size 8
Printer Driver hislsr1 successfully installed.
rpcclient linuxserver1 -N -U'xxxx%yyyyyyy' -c 'setdriver hislsr1 hislsr1'
added interface ip=172.25.0.19 bcast=172.25.255.255 nmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name linuxserver1<0x20>
resolve_wins: Attempting wins lookup for name linuxserver1<0x20>
resolve_wins: using WINS server 206.127.100.66 and tag '*'
Got a positive name query response from 206.127.100.66 ( 172.25.0.19 )
Connecting to host=linuxserver1 share=IPC$
Connecting to 172.25.0.19 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
lsa_io_sec_qos: length c does not match size 8
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL
I had posted previously that the error appeared to be the lsa_io_sec_qos
message, but clearly the first command succeeds and the second fails.
on some servers both commands succeed, on some servers neither command
succeeds. When the command succeeds, it also works from NT... when it
fails, WinNt just complains that it couldn't install the driver and quits.
I would really like someone in the developer community to help with this.
As I said, this problem has been posted by many people, three since my
last request.
thanks
bob shepard
More information about the samba
mailing list