1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00
Commit Graph

191 Commits

Author SHA1 Message Date
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() -
Tim Potter
f639eb3817 Added README written by Jelmer - thanks! -
Tim Potter
2f46bdeb4f Compile fix for new cli_lsa_enum_trust_dom() argument list. -
Tim Potter
76eacaa285 Added connect, session_request, session_setup and tconx methods. -
Tim Potter
10889241d5 Broke out unpacking of a username/password stored in a Python
dictionary into a separate function.
-
Tim Potter
36cc488c4d Skeleton for a libsmb python wrapper. -
Tim Potter
b7bd0bf953 Updated patch. -
Tim Potter
2adcd0eb43 Print out a friendly message on error instead of a python exception when
calling tdb.open()

Override Python's SIGINT handler so we can quit from the command line
by hitting Ctrl-C.
-
Tim Potter
7ead9602ce Regenerated. -
Tim Potter
ef5c9698b0 Another compile fix. -
Tim Potter
802f30a1b3 Compile fix for flags field to cli_full_connection() -
Tim Potter
93309c0ad4 Renamed policy handle field in object containers to avoid cut&paste bugs. -
Tim Potter
97f70f2cff Added samr_open_domain() call. -
Tim Potter
0d05c8ce54 Compile fix for new arguments to cli_full_connection() -
Tim Potter
f504be133c Fix long list scrolling bug.
Added some padding around the filter entry to make it look nicer.

When resizing the window the scrolling list should get bigger/smaller
not the filter entry widget.
-
Tim Potter
6f269de03e Separate error handling for cli_full_connection() and cli_nt_session_open() -
Tim Potter
77be88668d Raise a ValueError if server name isn't given in UNC format. -
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
b6e860546a Allow None to be used as a valid credential in open_policy.
Added {get,set}_debuglevel() and setup_logging() functions.
-
Tim Potter
7d10dc5f7b Use a fixed size font for displaying tdb values.
Added a (regexp, function) pair to register display functions for keys
matching regular expressions.

Expand the size of the value scrolling window.

Added hex dump function and some regexps to display DRIVERS, SECDESC and
PRINTERS keys in hex instead of ascii.
-
Tim Potter
8e1a15a625 More automatically generated prototype madness. -
Tim Potter
c75bbda102 Use new version of open_pipe_creds() function.
Don't attempt to free client state returned by cli_full_connection()

Fix memory leaks on error.

Allow setprinter level 1 - doesn't work though.

Extended interface to enumprinters().  The name value passed in the RPC
request can be different from the server name in which case lots of weird
and wonderful information is returned.  Defaults to the server name.
-
Tim Potter
e4aff324c2 Use new version of open_pipe_creds() function. -
Tim Potter
3b011eb65a Use new version of open_pipe_creds() function.
Server argument to enumprinterdrivers() must be in UNC format.
-
Tim Potter
b44e826672 Use new version of open_pipe_creds() function.
Fix memory leaks on error.
-
Tim Potter
fc75c3ccc3 Use new version of open_pipe_creds() function.
A compile fix for enumerating trusted domains.
-