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

217 Commits

Author SHA1 Message Date
Jim McDonough
42f04bbbb2 Add extra parm to cli_full_connection. Tim, you should probably take a look at this. -
Tim Potter
7ce782c20c The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?) -
Tim Potter
105ff7c540 Remove hardcoded -I stuff. Hooray! -
Tim Potter
3ce8f8c50c Bong! The devmode could be NULL. Don't crash if this is the case. -
Tim Potter
c7845b3c43 Fixed bug in keyword args for enumprinterdataex -
Tim Potter
154c59c8f9 Moving to subdirectory. -
Tim Potter
739ea89eb3 Implement printerdata_ex as Python dictionary. Read only at the moment. -
Tim Potter
3c6975c711 Display the repr() of non-string dictionary values. -
Tim Potter
19adbf1fae Implemented getpw{nam,uid} functions. -
Tim Potter
a938863914 Added char *, uid_t and gid_t types to generic conversion routines. -
Tim Potter
d6d0f121d9 Fix some dodgy stuff that accidentally was committed. -
Tim Potter
d36fd66517 Fix imports for printerdata browser. -
Tim Potter
9d639cd415 Ignore *.pyc -
Tim Potter
06f6e71100 Change 'import spoolss' to 'from samba import spoolss'. -
Martin Pool
e8f9fbd32b Check in examples for tdb packer -
Tim Potter
3e19e3afdb Updated examples for new top level module layout.
Fixed some bugs also.
-
Martin Pool
0d3276355e 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.
-
Martin Pool
fc5e8b8f67 Build py_tdbpack as well. -
Martin Pool
8bebe9ee2b 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.
-
Martin Pool
1f7ed8bb86 Import my code to do reasonably fast tdbpack/unpack from Python -
Martin Pool
a0e58fd2ce Update documentation for newly merged modules -
Martin Pool
5b2fa5260e This patch has now been applied and no longer needs to exist separately -
Martin Pool
c651720633 Add little meta note -
Tim Potter
fc5e186821 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.
-
Tim Potter
69bb58b92e Pass level keyword down to cli_spoolss_getform() -
Tim Potter
4132d9680a Formatting tidyup. -
Tim Potter
95831c8266 Remove todo comment. -
Tim Potter
fff081d344 Check no extra fields are present when parsing credentials. -
Tim Potter
31feae9e8f Update patch. -
Tim Potter
c201a61a52 Initial version of printerdata_ex browsing. -
Tim Potter
c211d2deca Move printerdata dictionary object into it's own file. -
Tim Potter
aae48211ff 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!
-
Tim Potter
b5068bb9fe level keys are inserted by conv routines. -
Tim Potter
100aa8c893 Convert to new REGISTRY_VALUE cli_spoolss routines. -
Tim Potter
9db5be0361 Fixed enumjobs command to use new JOB_INFO_CTR structure. -
Tim Potter
cdd64e0860 Display printerdata values in hex. -
Tim Potter
7a6b6a8b48 Added utility function to convert python strings to hex dump + ascii. -
Tim Potter
a3e52367c9 A printerdata browser I whipped up in about 5 minutes. (-:
Usage: gprinterdata //win2kdc1/fooprinter
-
Tim Potter
6f78c41814 Rewrote to use gtkdictbrowser. -
Tim Potter
519d1589a9 Ignore *.pyc files. -
Tim Potter
a89fe79e22 Implement deleteprinterdataex -
Tim Potter
348b6778d8 Return dictionary of printerdata in enumprinterdataex. -
Tim Potter
fb0f4f7bfe Add a 'key' field to printer data dictionary.
Implemented getprinterdataex, setprinterdataex and enumprinterdataex
(doesn't quite work yet).
-
Tim Potter
88a97d2174 make proto -
Tim Potter
ac84b220aa Added methods for getprinterdataex, setprinterdataex and enumprinterdataex. -
Tim Potter
63e59b0b73 Fix transposed args in open_pipe_creds() function. -
Tim Potter
0a2f6049c0 Forgot to check in some of the libsmb stuff. -
Tim Potter
8af86f6835 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
-
Tim Potter
9e36824d47 Implemented enum_domain_groups function. -
Tim Potter
55f891016c New arguments to cli_spoolss_enum_printers() -