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
Tim Potter
7488f61d3c
Implemented enum_domain_groups function.
...
(This used to be commit 9e36824d47f7d1aac14bb5aeded8da54962c90a8)
2002-08-27 01:49:51 +00:00
Tim Potter
b1037bffcf
New arguments to cli_spoolss_enum_printers()
...
(This used to be commit 55f891016c005c1552f1c1d95dd067bbf9de8869)
2002-08-27 00:41:06 +00:00
Tim Potter
16b454f6c7
Added README written by Jelmer - thanks!
...
(This used to be commit f639eb3817b9edf421dc103394428d607857a0bb)
2002-08-21 23:28:41 +00:00
Tim Potter
269c713edf
Compile fix for new cli_lsa_enum_trust_dom() argument list.
...
(This used to be commit 2f46bdeb4fa1d32fe948af5d7fa80480ff2d2c86)
2002-08-06 01:07:07 +00:00
Tim Potter
598d62bd53
Added connect, session_request, session_setup and tconx methods.
...
(This used to be commit 76eacaa28546d65b9ddb7ff356f0bd2aaf2f86d8)
2002-08-02 05:35:09 +00:00
Tim Potter
81a4862ae7
Broke out unpacking of a username/password stored in a Python
...
dictionary into a separate function.
(This used to be commit 10889241d5f5813f499501a45edccc4acd3e9f74)
2002-08-02 05:28:54 +00:00
Tim Potter
0872bc4486
Skeleton for a libsmb python wrapper.
...
(This used to be commit 36cc488c4d99198d346103b0e44776a7de145428)
2002-07-29 03:50:35 +00:00
Tim Potter
db789e9467
Updated patch.
...
(This used to be commit b7bd0bf95380f5fae385bfd353999f40f72e3d06)
2002-07-29 03:07:49 +00:00
Tim Potter
0c8e0571b7
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.
(This used to be commit 2adcd0eb4362a20824d1f34b63c0f405a7803872)
2002-07-26 01:01:27 +00:00
Tim Potter
46deff915e
Regenerated.
...
(This used to be commit 7ead9602ce8c30a57cb83d56fb76228945a7599f)
2002-07-11 23:18:41 +00:00
Tim Potter
246ec5ad07
Another compile fix.
...
(This used to be commit ef5c9698b06c5df99ec07ee781cc54d2e348ba8a)
2002-07-11 23:08:51 +00:00
Tim Potter
cad934c8e9
Compile fix for flags field to cli_full_connection()
...
(This used to be commit 802f30a1b34888823c1fc80121b3917cb6825119)
2002-07-11 22:19:31 +00:00
Tim Potter
6905730c3e
Renamed policy handle field in object containers to avoid cut&paste bugs.
...
(This used to be commit 93309c0ad4cd66680f94d7a46028b4d392d1cc06)
2002-06-20 00:56:27 +00:00
Tim Potter
b21b66c544
Added samr_open_domain() call.
...
(This used to be commit 97f70f2cfff72d6040c72d34a569f5c889cbff2e)
2002-06-20 00:54:43 +00:00
Tim Potter
d35c5f39a5
Compile fix for new arguments to cli_full_connection()
...
(This used to be commit 0d05c8ce54c3fa859abb8bd2ac13cacaed63e95c)
2002-06-20 00:51:07 +00:00
Tim Potter
3adb868e04
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.
(This used to be commit f504be133cd9659163a609eb11a09a36e56166ee)
2002-06-04 01:41:44 +00:00
Tim Potter
d80f078647
Separate error handling for cli_full_connection() and cli_nt_session_open()
...
(This used to be commit 6f269de03e91b823a30a2a12e41f25f1fa050870)
2002-05-28 03:15:09 +00:00
Tim Potter
6aaaa165b7
Raise a ValueError if server name isn't given in UNC format.
...
(This used to be commit 77be88668d9669a0aaa331c4bbb0faad978f0990)
2002-05-28 03:14:28 +00:00
Tim Potter
6aad72916a
Raise a ValueError if server names aren't given in UNC format.
...
(This used to be commit f5a1a3190dc0d4ecdf55b870633a83ee125b816e)
2002-05-28 02:33:11 +00:00
Tim Potter
e99a265bad
Allow None to be used as a valid credential for functions that take a
...
credential as a parameter.
(This used to be commit 166aee6cc2abb5f6e91ebf3d4ec37454034b8dcd)
2002-05-28 02:09:54 +00:00
Tim Potter
d21f10d3e6
Allow None to be used as a valid credential in open_policy.
...
Added {get,set}_debuglevel() and setup_logging() functions.
(This used to be commit b6e860546a622e6da238faf56d7c1567c6cf63a5)
2002-05-28 02:08:39 +00:00
Tim Potter
d26bcfaf95
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.
(This used to be commit 7d10dc5f7bd12e25ea3e64b380a029c89929156f)
2002-05-27 07:47:58 +00:00
Tim Potter
0f1de232c2
More automatically generated prototype madness.
...
(This used to be commit 8e1a15a625b72711bcfab77403e6a6b91e434756)
2002-05-27 06:39:10 +00:00
Tim Potter
fdf42114cd
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.
(This used to be commit c75bbda1021838074ff0f2e54edd68c69acccee0)
2002-05-27 06:38:36 +00:00
Tim Potter
de4e9824bd
Use new version of open_pipe_creds() function.
...
(This used to be commit e4aff324c28bfc08e73b627a5c7941109a3c2c2f)
2002-05-27 06:36:30 +00:00
Tim Potter
c2f0e1638e
Use new version of open_pipe_creds() function.
...
Server argument to enumprinterdrivers() must be in UNC format.
(This used to be commit 3b011eb65a45a2b919e0b759f426581100ac17fd)
2002-05-27 06:36:06 +00:00
Tim Potter
2fe386d9b9
Use new version of open_pipe_creds() function.
...
Fix memory leaks on error.
(This used to be commit b44e82667252c0ff4477d77487ff92b3af8ad418)
2002-05-27 06:35:30 +00:00
Tim Potter
343751ca95
Use new version of open_pipe_creds() function.
...
A compile fix for enumerating trusted domains.
(This used to be commit fc75c3ccc3bc45ab72db85d46dbedbbdb0e2dff7)
2002-05-27 06:34:13 +00:00
Tim Potter
24def691ef
Check types of dictionary elements in to_struct()
...
(This used to be commit 793f1042f153bd6ca3f75bebf719d47744ffecde)
2002-05-27 06:33:33 +00:00
Tim Potter
f2cbcec5a4
Convert open_pipe_creds() to use new cli_full_connection() interface.
...
Initialise global_myname in py_samba_init() function.
(This used to be commit e5dcd3c7ccf0060d86a484b8307f747805b20c5f)
2002-05-27 06:32:11 +00:00
Tim Potter
bf7ca61cb4
Honour return value of to_struct() when converting to Samba structures.
...
(This used to be commit 1ef99e76632f6f6b866de491db8722c94f75a8c2)
2002-05-27 06:29:58 +00:00
Tim Potter
3ec6d94f95
Fixed compiler warning.
...
(This used to be commit 736eb3c7485c0e65a463f14f27ada55a1a3fd453)
2002-05-27 06:28:45 +00:00
Tim Potter
b403e16e09
Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()
...
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
2002-05-27 06:28:18 +00:00
Tim Potter
82e4fb6fbb
Some rearrangement of header files.
...
(This used to be commit 0b2bd0a2290315056789f6aa1421678583086fc6)
2002-05-27 06:23:30 +00:00
Tim Potter
6a663f5a2a
Compile fix for enum trust dom wrapper.
...
(This used to be commit 63e2c7c5fe6eca86222a7a76d81ce1ee93ebde22)
2002-05-23 22:53:59 +00:00
Tim Potter
4f46de7972
A graphical tdb browser using the gnome-python bindings.
...
(This used to be commit 08dcfff2a22fd35a3e5cdca8ed137a7e5891fe53)
2002-05-23 05:10:51 +00:00
Tim Potter
c6d53c2798
Another change to the GPL "abandon hope all who enter here" warning.
...
(This used to be commit 1d75b548de8b667673cf136306388546eb3bd98d)
2002-05-23 02:36:53 +00:00
Tim Potter
8955286b32
Got gdb and gpl confused. (-:
...
(This used to be commit 08356ec38a5be239b6ab53ee75f3735c29b677a7)
2002-05-22 23:31:44 +00:00
Tim Potter
dc86e2b710
Added a reminder about programs using the tdb bindings having to be
...
licensed under the GPL.
(This used to be commit aa3ec7618fe39ddc75755098433572b271197af4)
2002-05-22 00:43:04 +00:00