1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r2739: Start of torture test for winreg wrappers.

This commit is contained in:
Tim Potter 2004-09-28 21:44:05 +00:00 committed by Gerald (Jerry) Carter
parent f4a7a3282a
commit cf9b984b84

View File

@ -0,0 +1,23 @@
#!/usr/bin/python
import dcerpc
def test_OpenHKLM(pipe):
r = {}
r['unknown'] = {}
r['unknown']['unknown0'] = 0x84e0
r['unknown']['unknown1'] = 0
r['access_required'] = 0x02000000
dcerpc.winreg_OpenHKLM(pipe, r)
def runtests(binding, domain, username, password):
print 'Testing WINREG pipe'
pipe = dcerpc.pipe_connect(binding,
dcerpc.DCERPC_WINREG_UUID, dcerpc.DCERPC_WINREG_VERSION,
domain, username, password)
test_OpenHKLM(pipe)