1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-28 12:23:49 +03:00

r3001: Expose unmarshalling functions for structures marked "public" in the

idl.  This allows us to pass a buffer of bytes returned from a spoolss
call and convert it to a Python dictionary.  Works for enumprinters level
1!
This commit is contained in:
Tim Potter
2004-10-16 00:19:33 +00:00
committed by Gerald (Jerry) Carter
parent 93efa87040
commit 4bc497a299
3 changed files with 40 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ def test_EnumPrinters(pipe):
result = dcerpc.spoolss_EnumPrinters(pipe, r)
print result
print dcerpc.unmarshall_spoolss_PrinterInfo1(result['buffer'])
def runtests(binding, domain, username, password):