summaryrefslogtreecommitdiffstats
path: root/source/python
Commit message (Collapse)AuthorAgeFilesLines
* Fix long list scrolling bug.Tim Potter2002-06-041-4/+3
| | | | | | | 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.
* Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter2002-05-281-2/+7
|
* Raise a ValueError if server name isn't given in UNC format.Tim Potter2002-05-281-0/+7
|
* Raise a ValueError if server names aren't given in UNC format.Tim Potter2002-05-283-8/+16
|
* Allow None to be used as a valid credential for functions that take aTim Potter2002-05-284-13/+54
| | | | credential as a parameter.
* Allow None to be used as a valid credential in open_policy.Tim Potter2002-05-281-2/+39
| | | | Added {get,set}_debuglevel() and setup_logging() functions.
* Use a fixed size font for displaying tdb values.Tim Potter2002-05-271-4/+111
| | | | | | | | | | 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.
* More automatically generated prototype madness.Tim Potter2002-05-273-3/+3
|
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-23/+56
| | | | | | | | | | | | 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.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-2/+1
|
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-11/+25
| | | | Server argument to enumprinterdrivers() must be in UNC format.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-4/+11
| | | | Fix memory leaks on error.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-16/+20
| | | | A compile fix for enumerating trusted domains.
* Check types of dictionary elements in to_struct()Tim Potter2002-05-271-10/+10
|
* Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter2002-05-271-31/+28
| | | | Initialise global_myname in py_samba_init() function.
* Honour return value of to_struct() when converting to Samba structures.Tim Potter2002-05-272-6/+15
|
* Fixed compiler warning.Tim Potter2002-05-271-2/+3
|
* Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()Tim Potter2002-05-271-1/+1
|
* Some rearrangement of header files.Tim Potter2002-05-275-5/+5
|
* Compile fix for enum trust dom wrapper.Tim Potter2002-05-231-1/+1
|
* A graphical tdb browser using the gnome-python bindings.Tim Potter2002-05-231-0/+166
|
* Another change to the GPL "abandon hope all who enter here" warning.Tim Potter2002-05-231-4/+4
|
* Got gdb and gpl confused. (-:Tim Potter2002-05-221-3/+3
|
* Added a reminder about programs using the tdb bindings having to beTim Potter2002-05-221-0/+8
| | | | licensed under the GPL.
* A tdb module based on some tips from Mike Noriega. This version supportsTim Potter2002-05-213-0/+644
| | | | locking and tdb traversal using python callbacks.
* Remove level and name fields from dictionary copy in py_to_FORM()Tim Potter2002-05-201-4/+9
|
* py_to_DRIVER_INFO_3: remove level key on copy of dictionary before callingTim Potter2002-05-201-2/+7
| | | | to_struct().
* Decode info level 3 for getprinterdriver.Tim Potter2002-05-201-1/+5
| | | | Error checking for undecoded info levels.
* When converting from a dictionary to a Samba structure, check for anyTim Potter2002-05-201-2/+30
| | | | additional keys that may have been added and return False if so.
* Set level key in driver info structures.Tim Potter2002-05-201-1/+5
|
* Use get_level_value() utility fn.Tim Potter2002-05-172-46/+18
| | | | Cleaned up some local variable naming.
* Add level field when converting FORM_1 to dict.Tim Potter2002-05-171-1/+17
| | | | More error checking when converting from dict to FORM_1.
* addform(), setform():Tim Potter2002-05-171-26/+44
| | | | | | | | | | - call get_level_value() utility function - removed unused keyword args - clean up handling of name arg to cli call deleteform(): - removed unused keyword args
* Call get_level_value() utility function.Tim Potter2002-05-171-21/+8
|
* Added a utility function to extract the info key from a dictionary.Tim Potter2002-05-172-0/+18
|
* to_struct() now returns a boolean which is false if not all the elements ofTim Potter2002-05-172-2/+7
| | | | the structure were present in the dictionary.
* Return enumerated forms as a hash of hashes instead of a list of hashes.Tim Potter2002-05-161-8/+19
|
* Removed unused variable.Tim Potter2002-05-161-2/+0
|
* Renamed 'printer_name' field in python printer info to 'name' to beTim Potter2002-05-161-3/+3
| | | | more consistent.
* Fix memory leaks and return values in error returns for enumprinters().Tim Potter2002-05-161-29/+48
| | | | Return enumerated printers as a hash of hashes instead of a list of hashes.
* Fix memory leaks and return values in error returns for enumports().Tim Potter2002-05-161-16/+40
| | | | Return enumerated ports as a hash of hashes instead of a list of hashes.
* Set exception object when enumjobs returns non-zero NT status.Tim Potter2002-05-161-1/+3
|
* Fix return value for enumprinterdrivers(), getprinterdriverdir().Tim Potter2002-05-161-16/+18
| | | | Set info level key in getprinterdriverdir() return info.
* Shorten some debug messages.Tim Potter2002-05-162-2/+2
|
* More cleanups.Tim Potter2002-05-1611-109/+137
| | | | | | | | | - removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting
* Refactored open_pipe_creds() function to remove unused parameter.Tim Potter2002-05-168-46/+38
|
* Added addjob command.Tim Potter2002-05-163-2/+13
|
* Cleaned up help docstrings.Tim Potter2002-05-161-54/+67
|
* Renamed functions that are methods of a printer handle object fromTim Potter2002-05-157-64/+64
| | | | spoolss_* to spoolss_hnd_* to make things a bit clearer.
* make protoTim Potter2002-05-151-0/+1
|