1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

160 Commits

Author SHA1 Message Date
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.
-
Tim Potter
793f1042f1 Check types of dictionary elements in to_struct() -
Tim Potter
e5dcd3c7cc Convert open_pipe_creds() to use new cli_full_connection() interface.
Initialise global_myname in py_samba_init() function.
-
Tim Potter
1ef99e7663 Honour return value of to_struct() when converting to Samba structures. -
Tim Potter
736eb3c748 Fixed compiler warning. -
Tim Potter
45562b8603 Fixed dodgy arguments to PyArg_ParseTupleAndKeywords() -
Tim Potter
0b2bd0a229 Some rearrangement of header files. -
Tim Potter
63e2c7c5fe Compile fix for enum trust dom wrapper. -
Tim Potter
08dcfff2a2 A graphical tdb browser using the gnome-python bindings. -
Tim Potter
1d75b548de Another change to the GPL "abandon hope all who enter here" warning. -
Tim Potter
08356ec38a Got gdb and gpl confused. (-: -
Tim Potter
aa3ec7618f Added a reminder about programs using the tdb bindings having to be
licensed under the GPL.
-
Tim Potter
f3530fd618 A tdb module based on some tips from Mike Noriega. This version supports
locking and tdb traversal using python callbacks.
-
Tim Potter
ac15442579 Remove level and name fields from dictionary copy in py_to_FORM() -
Tim Potter
274679d8ce py_to_DRIVER_INFO_3: remove level key on copy of dictionary before calling
to_struct().
-
Tim Potter
841b6cf63c Decode info level 3 for getprinterdriver.
Error checking for undecoded info levels.
-
Tim Potter
96ccb2beb1 When converting from a dictionary to a Samba structure, check for any
additional keys that may have been added and return False if so.
-
Tim Potter
0caf7610dc Set level key in driver info structures. -
Tim Potter
d4c7a85c2b Use get_level_value() utility fn.
Cleaned up some local variable naming.
-
Tim Potter
608b9ab29d Add level field when converting FORM_1 to dict.
More error checking when converting from dict to FORM_1.
-
Tim Potter
c9c2aac903 addform(), setform():
- call get_level_value() utility function
  - removed unused keyword args
  - clean up handling of name arg to cli call

deleteform():

  - removed unused keyword args
-
Tim Potter
2566dad274 Call get_level_value() utility function. -
Tim Potter
4cafbcb205 Added a utility function to extract the info key from a dictionary. -
Tim Potter
b26d9d7939 to_struct() now returns a boolean which is false if not all the elements of
the structure were present in the dictionary.
-
Tim Potter
2f86f01b88 Return enumerated forms as a hash of hashes instead of a list of hashes. -
Tim Potter
8d2f77ce95 Removed unused variable. -
Tim Potter
f8c198b748 Renamed 'printer_name' field in python printer info to 'name' to be
more consistent.
-
Tim Potter
1d0fd34d42 Fix memory leaks and return values in error returns for enumprinters().
Return enumerated printers as a hash of hashes instead of a list of hashes.
-
Tim Potter
c469ada3d3 Fix memory leaks and return values in error returns for enumports().
Return enumerated ports as a hash of hashes instead of a list of hashes.
-
Tim Potter
b1818eb375 Set exception object when enumjobs returns non-zero NT status. -
Tim Potter
cb4bfd39eb Fix return value for enumprinterdrivers(), getprinterdriverdir().
Set info level key in getprinterdriverdir() return info.
-
Tim Potter
179c68bd0d Shorten some debug messages. -