s4:torture: add a rpc.samba3.smb-reauth1 test
commit71f88dbbb5f0918d9847148520ff99715a6dbf22
authorMichael Adam <obnox@samba.org>
Tue, 24 Apr 2012 11:30:41 +0000 (24 13:30 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 25 Apr 2012 21:15:41 +0000 (25 23:15 +0200)
tree545ac71ca94b87e2b452b45b7ff11144b6b535fa
parente563e5a2be617f26c6046f82da3b03b856115bbc
s4:torture: add a rpc.samba3.smb-reauth1 test

It does reauth while using an rpc pipe:

* open session
* open lsa pipe
* do lsa getusername
* reauth to anonymous
* do lsa getusername again
* reauth back to original user
* do reauth again

result: lsa getusername is always possible
and always gives the first (authenticated user)
source4/torture/rpc/samba3rpc.c