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

30 Commits

Author SHA1 Message Date
Tim Potter
873e090be3 Merge of compiler warning fixups.
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
2003-03-20 01:05:22 +00:00
Tim Potter
5ef421f1d8 Merge of cleanups and srvsvc implementation from HEAD.
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
2003-02-19 22:47:49 +00:00
Tim Potter
3955716f90 Sync up python stuff from HEAD.
(This used to be commit 92c76e16fa40adc6148b9c11b3e377f35c464975)
2002-11-07 01:12:24 +00:00
Tim Potter
fc8c6e7cf0 Added methods for getprinterdataex, setprinterdataex and enumprinterdataex.
(This used to be commit ac84b220aa2910abec309f2dc048adb84f609786)
2002-09-02 07:44:00 +00:00
Tim Potter
ea8c45bbfd Added addjob command.
(This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca)
2002-05-16 02:01:23 +00:00
Tim Potter
932b8e9d40 Cleaned up help docstrings.
(This used to be commit a8fcb151f8ff601774c302b61e694b4522461068)
2002-05-16 01:33:38 +00:00
Tim Potter
5951e762d5 Renamed functions that are methods of a printer handle object from
spoolss_* to spoolss_hnd_* to make things a bit clearer.
(This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
2002-05-15 06:22:53 +00:00
Tim Potter
dfd1953542 Method entry for addprinterex()
(This used to be commit 1ad82cd0c3f76a629b8fc2e1b02e57b8e97829dd)
2002-05-15 06:10:45 +00:00
Tim Potter
8ca814e529 Added lots of new functions to the method tables.
(This used to be commit a8f5951becaab82bb1b03e3e04a05901ec3aa8e3)
2002-05-14 07:15:43 +00:00
Tim Potter
2e6939cf0b Added writeprinter command.
(This used to be commit 307788d0b823f228c718b2a186fc66144fd55717)
2002-05-14 06:09:59 +00:00
Tim Potter
520b40e423 General cleanup of compiler warnings etc.
(This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
2002-05-14 02:37:47 +00:00
Tim Potter
62f63f96e1 Added getprinterdata and setprinterdata functions.
(This used to be commit 325361e9e6e2b2f852cc8607ad93108b80bcef06)
2002-05-13 07:27:20 +00:00
Tim Potter
950004e125 Added startdocprinter and enddocprinter.
(This used to be commit 954107a9d314c8d87f65f741804ca3f9ca94432e)
2002-05-13 01:55:04 +00:00
Tim Potter
5e723ce3c0 Added commands for startpageprinter, endpageprinter, setjob and getjob.
(This used to be commit 3da89aa8e45d08444bfcddb145264bfcd6f6d768)
2002-05-08 05:50:12 +00:00
Tim Potter
1359433ad8 Added setjob() command.
(This used to be commit 02c63de9e58f9806e58d3862391e05e9b9cdb8fc)
2002-05-08 04:26:22 +00:00
Tim Potter
cd929ae6ce Added enumjobs command.
(This used to be commit bc9dd9b45866d269f576a640286a578da921c3fb)
2002-05-07 07:06:10 +00:00
Tim Potter
fe816061c1 Re-order args for enumprinterdrivers function.
(This used to be commit 5f9f32021300d47dcc068192428ee48b8aa246ea)
2002-05-03 06:21:59 +00:00
Tim Potter
9aabbc564f Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()
(This used to be commit 4bf6a9830acde47994975dffd578454ebb75e45a)
2002-04-14 23:42:54 +00:00
Tim Potter
3540c42bf4 Shutdown cli_state in the dealloc function. This happens automatically
when a handle object falls out of scope.
(This used to be commit 39546dd241b36d5e7b8e239525a13b91e4e9db80)
2002-04-14 23:33:31 +00:00
Tim Potter
54bda76922 More open_pipe_creds() refactoring.
(This used to be commit 7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
2002-04-14 00:59:50 +00:00
Tim Potter
60fd2ec8cc Implemented a setup_logging() function that takes two keywords:
interactive and logfilename.  These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.

Also added get_debuglevel() and set_debuglevel() functions.

Make open_pipe_creds() accept None as a anonymous credential.
(This used to be commit 094a51edb9369f5c493bddfdc98347431bea3c2d)
2002-04-11 05:05:08 +00:00
Tim Potter
81ca81e85b Added a whole bunch more permission constants.
(This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)
2002-04-11 01:35:53 +00:00
Tim Potter
416165a52c Added WERR_INVALID_FORM_NAME constant.
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
2002-04-09 05:11:34 +00:00
Tim Potter
cc29c33fbe Added constants for form types and WERROR values.
(This used to be commit 5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)
2002-04-09 04:22:27 +00:00
Tim Potter
5414561d40 Docstring updates.
(This used to be commit f05c3c6fc5047c87906a5677b2559acf13bf6678)
2002-04-03 04:40:35 +00:00
Tim Potter
230e36ccde Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
2002-03-28 04:14:43 +00:00
Tim Potter
6deca76e4c Broke out stuff into other files.
(This used to be commit 9eb3eb8513e82ec11cb8db671cfb5be45619d3fd)
2002-03-27 05:33:19 +00:00
Tim Potter
7e686ace08 Moved conv functions to separate file.
Converted remaining functions to methods.
(This used to be commit 1e894487f59a0c00347fdf28ddea892b40473a6d)
2002-03-26 11:12:16 +00:00
Tim Potter
7cf6b169a3 Moved form related functions as methods in the policy handle object.
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)
2002-03-26 06:25:47 +00:00
Tim Potter
d07cc9d8a1 Initial version.
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
2002-03-20 03:29:03 +00:00