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

154 Commits

Author SHA1 Message Date
Tim Potter
1ad82cd0c3 Method entry for addprinterex() -
Tim Potter
b56bf8f43e Fixed a memory leak in enumprinters.
Started addprinterex() - doesn't work yet.
-
Tim Potter
c07d583327 Comment that deleteprinterdataex isn't supported by a samba server. -
Tim Potter
e3c27d7d10 Return a dictionary of printer drivers in enumprinterdrivers() instead of a
list.

Started addprinterdriver() - doesn't work yet.

Added stubs for deleteprinterdriver routines.
-
Tim Potter
ced14ea913 Implement py_to_DRIVER_INFO_3() -
Tim Potter
a8f5951bec Added lots of new functions to the method tables. -
Tim Potter
0c52191cc5 make proto -
Tim Potter
14acdbf06d Added deleteprinterdata function.
Stub for deleteprinterdataex.
-
Tim Potter
ca315ef84f Fixed bug in enumprinterdrivers.
Added stubs for addprinterdriver and deleteprinterdriver functions.
-
Tim Potter
f7fadfdd73 Moved PyDict_SetItemString for printer info level structures into conv functions. -
Tim Potter
307788d0b8 Added writeprinter command. -
Tim Potter
7a15ce7c0c Added enumprinterdata. -
Tim Potter
18aeadc591 General cleanup of compiler warnings etc. -
Tim Potter
34a0293a04 Added entry for winreg extension.
Added extra source file for printerdata routines.
-
Tim Potter
0851f473b7 Updated patch. -
Tim Potter
2811ac99a1 Removed irritating CR at end of file. -
Tim Potter
325361e9e6 Added getprinterdata and setprinterdata functions. -
Tim Potter
f2b9447bbd Registry module. Only contains REG_xxx constants used by the spoolss
printerdata routines at the moment.
-
Tim Potter
954107a9d3 Added startdocprinter and enddocprinter. -
Tim Potter
3da89aa8e4 Added commands for startpageprinter, endpageprinter, setjob and getjob. -
Tim Potter
02c63de9e5 Added setjob() command. -
Tim Potter
39f58333fa Changed some error returns to return a werror tuple (status code and text
message) instead of just the status code.
-
Tim Potter
07d11f5e09 Remove unused variable.
#ifdef out code for new (uncommitted) version of make_sec_desc()
-
Tim Potter
bc9dd9b458 Added enumjobs command. -
Tim Potter
7da054d814 rpcstr_pull() src_len fix. -
Tim Potter
775549b70e Allow lookup_sids() and lookup_names() to take either a list of strings or
just a single string.
-
Tim Potter
5071fd8fe0 Removed unused arg to deleteform. -
Tim Potter
5f9f320213 Re-order args for enumprinterdrivers function. -
Tim Potter
68b9525614 Some examples using the spoolss python module. -
Tim Potter
0f464fc791 Got setprinter level 3 working!
Replaced some DEBUG's with PyErr_SetString() calls.
-
Tim Potter
99dee7b101 make proto -
Tim Potter
d125f9f7df Implemented py_to_PRINTER_INFO_3() helper function. -
Tim Potter
f3f4f0d397 Implemented routines to convert from a Python dictionary to a SEC_DESC
structure.

Cleaned up debugging stuff.
-
Tim Potter
c02a7a71d6 Return exception text if getprinter level not [0..3] -
Tim Potter
38d2b1794a Started working on setprinter code. -
Tim Potter
a721843197 make proto -
Tim Potter
f2155aa3f4 Stubs for connect, domain, user, group and alias policy objects.
Wrote samr connect fn.
-
Tim Potter
70bd1a0f94 Skeleton for SAMR module. -
Tim Potter
4bf6a9830a Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object() -
Tim Potter
45cb1fed49 Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). Not
sure whether these should really be tuples or lists.

In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe
connect function returns an error.
-
Tim Potter
4114fe5996 Call PyErr_SetString instead of fprintf to stderr.
Don't clean up talloc and cli_state on close printer.  They will be
destroyed in the handle dealloc function.
-
Tim Potter
39546dd241 Shutdown cli_state in the dealloc function. This happens automatically
when a handle object falls out of scope.
-
Tim Potter
3a11ce31ca Added enumerate trusted domains. -
Tim Potter
d586289197 New file to hold common prototypes. -
Tim Potter
8e0457f8aa Moved security descriptor routines into their own file. -
Tim Potter
f006bcf8e5 Moved function prototypes to py_common_proto.h -
Tim Potter
2d2c925014 Added copyright.
Added lookup_names() and lookup_sids() functions.
-
Tim Potter
703e0a6ce2 Made a comment clearer. -
Tim Potter
5dbd716b99 Generate proto for lsa.
Updated patch.
-
Tim Potter
5c44397803 Starting work on lsa module. -