1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

219 Commits

Author SHA1 Message Date
Tim Potter
4af2e30ecf make proto
(This used to be commit 86c884c3a129d12dc77332c38484bef78c66440e)
2002-10-17 04:48:08 +00:00
Tim Potter
14df81590c open_pipe_creds() now takes a pipe index instead of a pipe name.
(This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
2002-10-17 04:45:25 +00:00
Tim Potter
dae2b02f78 Fix for new arguments of cli_nt_session_open()
(This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
2002-10-17 04:40:53 +00:00
Tim Potter
5b71a0055f The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)
(This used to be commit 7ce782c20c6b9e515a2fa831315ae14c66d322ee)
2002-09-25 06:25:02 +00:00
Tim Potter
8eda50793e Remove hardcoded -I stuff. Hooray!
(This used to be commit 105ff7c5400a6b79613b6a3b72808124b17ddc60)
2002-09-19 05:49:14 +00:00
Tim Potter
86c7c460ca Bong! The devmode could be NULL. Don't crash if this is the case.
(This used to be commit 3ce8f8c50c0adcedc38bf2812b7e9fae78942458)
2002-09-19 05:39:03 +00:00
Tim Potter
a39dcb606d Fixed bug in keyword args for enumprinterdataex
(This used to be commit c7845b3c43f7167f2c695722bc9923ff666ade76)
2002-09-19 05:29:14 +00:00
Tim Potter
d3a661453e Moving to subdirectory.
(This used to be commit 154c59c8f92b9f735f4e1e7c8c42692c959996f1)
2002-09-19 00:26:07 +00:00
Tim Potter
15fdb18dd7 Implement printerdata_ex as Python dictionary. Read only at the moment.
(This used to be commit 739ea89eb3ab49e5dccddfa767812811b413e67d)
2002-09-19 00:14:01 +00:00
Tim Potter
e7ff6ab840 Display the repr() of non-string dictionary values.
(This used to be commit 3c6975c711d87755f0532147f9aaecb224159f43)
2002-09-18 08:16:22 +00:00
Tim Potter
b3bcdccb1c Implemented getpw{nam,uid} functions.
(This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)
2002-09-11 04:55:45 +00:00
Tim Potter
735eb8fdd2 Added char *, uid_t and gid_t types to generic conversion routines.
(This used to be commit a938863914cbfec247586c92fd06203fec7febde)
2002-09-11 04:54:20 +00:00
Tim Potter
3600395b37 Fix some dodgy stuff that accidentally was committed.
(This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)
2002-09-11 04:53:16 +00:00
Tim Potter
18e72f5fac Fix imports for printerdata browser.
(This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)
2002-09-11 04:50:18 +00:00
Tim Potter
1d3bef09b6 Ignore *.pyc
(This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)
2002-09-11 02:26:47 +00:00
Tim Potter
324846f08d Change 'import spoolss' to 'from samba import spoolss'.
(This used to be commit 06f6e7110029d5d60c4f34123f470bfb4c96364a)
2002-09-11 01:20:49 +00:00
Martin Pool
31737ace97 Check in examples for tdb packer
(This used to be commit e8f9fbd32b73f60db3683d23a979dc09e7204258)
2002-09-10 08:36:55 +00:00
Tim Potter
d4b6d5db91 Updated examples for new top level module layout.
Fixed some bugs also.
(This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
2002-09-10 06:41:27 +00:00
Martin Pool
0ad8d0c768 Put all Python modules into the 'samba' subpackage. Now you need to
write

  import samba.tdbutil
  samba.tdbutil.pack('f', ['hello'])

You need 'cvs update -d' to get the new subdirectory for this to build
properly.
(This used to be commit 0d3276355e0511d6aff110a3943199629b3c00fd)
2002-09-09 08:34:35 +00:00
Martin Pool
462818caba Build py_tdbpack as well.
(This used to be commit fc5e8b8f672d461809f113fe14435841608b046f)
2002-09-09 08:06:17 +00:00
Martin Pool
b2536ccfdd Python's setup.py does not need to be munged by configure.in -- it is
sufficient to just pass the relevant variables to Python from the
Makefile.  Therefore, remove setup.py.in.
(This used to be commit 8bebe9ee2b6bd56c297acc6b01cb0856aad1c4f3)
2002-09-09 07:49:25 +00:00
Martin Pool
63f411a3f9 Import my code to do reasonably fast tdbpack/unpack from Python
(This used to be commit 1f7ed8bb863fdacd0b9f3bc2e1e5d72ec7051feb)
2002-09-09 06:30:48 +00:00
Martin Pool
3245349610 Update documentation for newly merged modules
(This used to be commit a0e58fd2cef5891e874a08f71d5d7a3f10ec6454)
2002-09-09 06:26:41 +00:00
Martin Pool
f099013fcb This patch has now been applied and no longer needs to exist separately
(This used to be commit 5b2fa5260e22c0d8bc9fb0973a6247ad99d2ed4b)
2002-09-09 06:23:43 +00:00
Martin Pool
0b819e864a Add little meta note
(This used to be commit c651720633e3affb192eef9e676fad37a0ad4fae)
2002-09-09 05:22:13 +00:00
Tim Potter
8a36292471 Fix crash bugs in getprinter info level code (yay unit tests).
Let the cli_spoolss function return invalid info level error rather
than checking for it ourselves.
(This used to be commit fc5e186821abc429ea8314d0785b76cbe1ec5f74)
2002-09-09 04:43:38 +00:00
Tim Potter
b32f4ccf5b Pass level keyword down to cli_spoolss_getform()
(This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
2002-09-09 04:42:01 +00:00
Tim Potter
317ce5fc06 Formatting tidyup.
(This used to be commit 4132d9680a0b6ed829663399bba209a49ca41d56)
2002-09-09 04:38:12 +00:00
Tim Potter
35d9e886fb Remove todo comment.
(This used to be commit 95831c8266119284264f7f42b08fb4d8e21e9deb)
2002-09-09 01:09:23 +00:00
Tim Potter
bffdffcbb1 Check no extra fields are present when parsing credentials.
(This used to be commit fff081d3440373071d8859b7a7d71cf6489126a4)
2002-09-09 01:06:20 +00:00
Tim Potter
e7561581ff Update patch.
(This used to be commit 31feae9e8f0c9831284cfa85f9b771113549ed2f)
2002-09-08 23:57:40 +00:00
Tim Potter
c9101c3b01 Initial version of printerdata_ex browsing.
(This used to be commit c201a61a52ffbaf1b1b70e25e0ef2b29a89f921c)
2002-09-06 07:44:21 +00:00
Tim Potter
a2327b8485 Move printerdata dictionary object into it's own file.
(This used to be commit c211d2deca1019d3ef9bd08f5a01e76ede2d0191)
2002-09-06 07:34:57 +00:00
Tim Potter
e411dc9687 Decode list of dependent files in printer driver info3 and info6.
It's a null terminated list of null terminated unicode strings.  What
a mess!
(This used to be commit aae48211ff4f22e0c2e2fe57c370f465df4332bc)
2002-09-06 07:01:40 +00:00
Tim Potter
22b75d5c81 level keys are inserted by conv routines.
(This used to be commit b5068bb9fe28cfdd7a00dbc50196eb60e3a46af1)
2002-09-06 06:59:40 +00:00
Tim Potter
b2e4d8e5f9 Convert to new REGISTRY_VALUE cli_spoolss routines.
(This used to be commit 100aa8c893464d65f1b2225dab9dc5b58bbcff91)
2002-09-03 05:00:17 +00:00
Tim Potter
45664627c7 Fixed enumjobs command to use new JOB_INFO_CTR structure.
(This used to be commit 9db5be03617740e705bce51784fdb80784779acb)
2002-09-03 04:58:36 +00:00
Tim Potter
62d6c7f8f8 Display printerdata values in hex.
(This used to be commit cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b)
2002-09-03 01:56:05 +00:00
Tim Potter
2e93f20c1b Added utility function to convert python strings to hex dump + ascii.
(This used to be commit 7a6b6a8b4871065e3178223a7da5fafd8792b0bc)
2002-09-03 01:55:21 +00:00
Tim Potter
53495225a5 A printerdata browser I whipped up in about 5 minutes. (-:
Usage: gprinterdata //win2kdc1/fooprinter
(This used to be commit a3e52367c961070ce80ac3d4bba763ad9ec1007c)
2002-09-03 01:48:24 +00:00
Tim Potter
8e56ded996 Rewrote to use gtkdictbrowser.
(This used to be commit 6f78c4181449a995b9d5b2955981a20e4fdcc829)
2002-09-03 01:32:05 +00:00
Tim Potter
86d9d827ce Ignore *.pyc files.
(This used to be commit 519d1589a9358d8c2de01bd23159e3d552554131)
2002-09-03 01:30:26 +00:00
Tim Potter
2a18e89da7 Implement deleteprinterdataex
(This used to be commit a89fe79e222b36eda123ccdbca96badb7714776e)
2002-09-03 01:10:21 +00:00
Tim Potter
611f9c899d Return dictionary of printerdata in enumprinterdataex.
(This used to be commit 348b6778d8b9e42f27da51652c7198cc42048059)
2002-09-03 00:40:06 +00:00
Tim Potter
1f914af0ec Add a 'key' field to printer data dictionary.
Implemented getprinterdataex, setprinterdataex and enumprinterdataex
(doesn't quite work yet).
(This used to be commit fb0f4f7bfe81923adfe71549973da2be57f0e71f)
2002-09-02 07:47:42 +00:00
Tim Potter
7ee13d88a1 make proto
(This used to be commit 88a97d2174eee884de52e848d30bc2c459bf28bb)
2002-09-02 07:44:48 +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
d75fc27fa1 Fix transposed args in open_pipe_creds() function.
(This used to be commit 63e59b0b737a1cd4ccc588b27e86be8262296052)
2002-09-02 07:42:39 +00:00
Tim Potter
d63a6aba6c Forgot to check in some of the libsmb stuff.
(This used to be commit 0a2f6049c0b49810abf1c3e909d712f53c7fc8c1)
2002-08-30 02:43:51 +00:00
Tim Potter
677bae21d1 Abstract out the functionality of gtdbtool into a dictionary browser
class.  This should provide a nice framework for browsing any kind of
data presented as a python dictionary:

 - windows registry
 - printer data
 - tdb files
(This used to be commit 8af86f68354f7c803bb66886560b358d6e48681d)
2002-08-30 01:35:56 +00:00