1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

22 Commits

Author SHA1 Message Date
Gerald Carter
331a69919c update python libraries for new cli_spoolss_getprinterdriver() call -
Jeremy Allison
aa8439a49e Finish adding strings to all talloc_init() calls.
Jeremy.
-
Tim Potter
0310e539bb Sync with HEAD. -
Tim Potter
d3e88cb96f Merge. -
Tim Potter
4132d9680a Formatting tidyup. -
Tim Potter
b5068bb9fe level keys are inserted by conv routines. -
Tim Potter
f5a1a3190d Raise a ValueError if server names aren't given in UNC format. -
Tim Potter
166aee6cc2 Allow None to be used as a valid credential for functions that take a
credential as a parameter.
-
Tim Potter
3b011eb65a Use new version of open_pipe_creds() function.
Server argument to enumprinterdrivers() must be in UNC format.
-
Tim Potter
841b6cf63c Decode info level 3 for getprinterdriver.
Error checking for undecoded info levels.
-
Tim Potter
2566dad274 Call get_level_value() utility function. -
Tim Potter
cb4bfd39eb Fix return value for enumprinterdrivers(), getprinterdriverdir().
Set info level key in getprinterdriverdir() return info.
-
Tim Potter
d35cad359d More cleanups.
- removed dodgy fprintf() error handling

 - return an error string from open_pipe_creds() so the appropriate
   exception can be raised by the caller

 - reformatting
-
Tim Potter
36ed06cb50 Refactored open_pipe_creds() function to remove unused parameter. -
Tim Potter
986d868837 Renamed functions that are methods of a printer handle object from
spoolss_* to spoolss_hnd_* to make things a bit clearer.
-
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
ca315ef84f Fixed bug in enumprinterdrivers.
Added stubs for addprinterdriver and deleteprinterdriver functions.
-
Tim Potter
5f9f320213 Re-order args for enumprinterdrivers function. -
Tim Potter
ed0a6480f7 Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
-
Tim Potter
e84cc7ea84 Start to make argument ordering consistent. -
Tim Potter
1e48f872a4 Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
-
Tim Potter
d4b8000e1f Moved printer driver related calls here. -