CVS update: samba4/source/torture/rpc

tridge at samba.org tridge at samba.org
Tue Jan 20 06:07:09 GMT 2004


Date:	Tue Jan 20 06:07:09 2004
Author:	tridge

Update of /home/cvs/samba4/source/torture/rpc
In directory dp.samba.org:/tmp/cvs-serv10826

Modified Files:
	spoolss.c 
Log Message:
added code to the RPC-SPOOLSS test that demonstrates that policy
handles are not shared between open dcerpc connections, even when
those connections are on the same SMB socket. I have tested this with
w2k3, w2k and NT4. It seems that policy handles have a strict scope of
the dcerpc connection on which they were opened.

I realise that this goes against existing folk-law in the team, but it
seems that the previous testing (I'm not sure who did this?) was
wrong. Perhaps clients do send us policy handles from other
connections, but if they do then the correct thing to do is to fail
the operation with a dcerpc fault. I suspect that failing it with
exactly the right dcerpc fault code is important.


Revisions:
spoolss.c		1.30 => 1.31
	http://www.samba.org/cgi-bin/cvsweb/samba4/source/torture/rpc/spoolss.c.diff?r1=1.30&r2=1.31


More information about the samba-cvs mailing list