s4:torture: add a rpc.samba3.smb-reauth2 test
authorMichael Adam <obnox@samba.org>
Wed, 25 Apr 2012 14:38:56 +0000 (16:38 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 26 Apr 2012 00:27:11 +0000 (02:27 +0200)
commita7ffbf467d0f74ca171ba79e1c6e3506ae862302
tree12a57e482fa42f77e7481c9703d26543a8cb75f3
parent71f88dbbb5f0918d9847148520ff99715a6dbf22
s4:torture: add a rpc.samba3.smb-reauth2 test

* Open session.
* Reauth to anon.
* Open lsa pipe.
* Do lsa get username.
* Rauth to original user.
* Do lsa get username again.

expected result: the getusername works and
shows 'NT AUTHORITY\ANONYMOUS LOGON' in both calls.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Apr 26 02:27:12 CEST 2012 on sn-devel-104
source4/torture/rpc/samba3rpc.c