Patch provided below
getprinterdriver segfaults because arguments to cli_spoolss_getprinterdriver
were flipped around (char *arch="Windows NT x86" and int version=2 were
Also, version could not be specified. Against a test W2K3 server version 2
returned: WERR_UNKNOWN_PRINTER_DRIVER. Added version to the end of accepted
Added ZERO_STRUCT(ctr) for consistency.
Created attachment 576 [details]
patch for segfault and version (python spoolss getprinterdriver)
Thanks for samba and thanks for samba python.
Fixed. I'm glad someone is using the Python stuff!
originally against 3.0.5rc1 (which was 34.0.6rc1 due to the security release).
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.