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:
committed by
Gerald (Jerry) Carter
parent
93efa87040
commit
4bc497a299
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user