summaryrefslogtreecommitdiff
path: root/source3/python
AgeCommit message (Collapse)AuthorFilesLines
2002-05-28Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter1-2/+7
(This used to be commit 6f269de03e91b823a30a2a12e41f25f1fa050870)
2002-05-28Raise a ValueError if server name isn't given in UNC format.Tim Potter1-0/+7
(This used to be commit 77be88668d9669a0aaa331c4bbb0faad978f0990)
2002-05-28Raise a ValueError if server names aren't given in UNC format.Tim Potter3-8/+16
(This used to be commit f5a1a3190dc0d4ecdf55b870633a83ee125b816e)
2002-05-28Allow None to be used as a valid credential for functions that take aTim Potter4-13/+54
credential as a parameter. (This used to be commit 166aee6cc2abb5f6e91ebf3d4ec37454034b8dcd)
2002-05-28Allow None to be used as a valid credential in open_policy.Tim Potter1-2/+39
Added {get,set}_debuglevel() and setup_logging() functions. (This used to be commit b6e860546a622e6da238faf56d7c1567c6cf63a5)
2002-05-27Use a fixed size font for displaying tdb values.Tim Potter1-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. (This used to be commit 7d10dc5f7bd12e25ea3e64b380a029c89929156f)
2002-05-27More automatically generated prototype madness.Tim Potter3-3/+3
(This used to be commit 8e1a15a625b72711bcfab77403e6a6b91e434756)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-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. (This used to be commit c75bbda1021838074ff0f2e54edd68c69acccee0)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-2/+1
(This used to be commit e4aff324c28bfc08e73b627a5c7941109a3c2c2f)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-11/+25
Server argument to enumprinterdrivers() must be in UNC format. (This used to be commit 3b011eb65a45a2b919e0b759f426581100ac17fd)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-4/+11
Fix memory leaks on error. (This used to be commit b44e82667252c0ff4477d77487ff92b3af8ad418)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-16/+20
A compile fix for enumerating trusted domains. (This used to be commit fc75c3ccc3bc45ab72db85d46dbedbbdb0e2dff7)
2002-05-27Check types of dictionary elements in to_struct()Tim Potter1-10/+10
(This used to be commit 793f1042f153bd6ca3f75bebf719d47744ffecde)
2002-05-27Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter1-31/+28
Initialise global_myname in py_samba_init() function. (This used to be commit e5dcd3c7ccf0060d86a484b8307f747805b20c5f)
2002-05-27Honour return value of to_struct() when converting to Samba structures.Tim Potter2-6/+15
(This used to be commit 1ef99e76632f6f6b866de491db8722c94f75a8c2)
2002-05-27Fixed compiler warning.Tim Potter1-2/+3
(This used to be commit 736eb3c7485c0e65a463f14f27ada55a1a3fd453)
2002-05-27Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()Tim Potter1-1/+1
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
2002-05-27Some rearrangement of header files.Tim Potter5-5/+5
(This used to be commit 0b2bd0a2290315056789f6aa1421678583086fc6)
2002-05-23Compile fix for enum trust dom wrapper.Tim Potter1-1/+1
(This used to be commit 63e2c7c5fe6eca86222a7a76d81ce1ee93ebde22)
2002-05-23A graphical tdb browser using the gnome-python bindings.Tim Potter1-0/+166
(This used to be commit 08dcfff2a22fd35a3e5cdca8ed137a7e5891fe53)
2002-05-23Another change to the GPL "abandon hope all who enter here" warning.Tim Potter1-4/+4
(This used to be commit 1d75b548de8b667673cf136306388546eb3bd98d)
2002-05-22Got gdb and gpl confused. (-:Tim Potter1-3/+3
(This used to be commit 08356ec38a5be239b6ab53ee75f3735c29b677a7)
2002-05-22Added a reminder about programs using the tdb bindings having to beTim Potter1-0/+8
licensed under the GPL. (This used to be commit aa3ec7618fe39ddc75755098433572b271197af4)
2002-05-21A tdb module based on some tips from Mike Noriega. This version supportsTim Potter3-0/+644
locking and tdb traversal using python callbacks. (This used to be commit f3530fd6180bb78a58a3f41ac1389c9f0ba7b183)
2002-05-20Remove level and name fields from dictionary copy in py_to_FORM()Tim Potter1-4/+9
(This used to be commit ac15442579848f145dbdce6d51207321c4150c25)
2002-05-20py_to_DRIVER_INFO_3: remove level key on copy of dictionary before callingTim Potter1-2/+7
to_struct(). (This used to be commit 274679d8ce33aaf664ffaaa6834d506f7b196fc6)
2002-05-20Decode info level 3 for getprinterdriver.Tim Potter1-1/+5
Error checking for undecoded info levels. (This used to be commit 841b6cf63c1f22dcb8fa07796a44e20555fe5b59)
2002-05-20When converting from a dictionary to a Samba structure, check for anyTim Potter1-2/+30
additional keys that may have been added and return False if so. (This used to be commit 96ccb2beb1d45f8122ff03fc2f7727bf065adbf6)
2002-05-20Set level key in driver info structures.Tim Potter1-1/+5
(This used to be commit 0caf7610dcf698d2c649e42f0630de4337cfcea2)
2002-05-17Use get_level_value() utility fn.Tim Potter2-46/+18
Cleaned up some local variable naming. (This used to be commit d4c7a85c2b5c45f1cc3273230d80a1d5923cd848)
2002-05-17Add level field when converting FORM_1 to dict.Tim Potter1-1/+17
More error checking when converting from dict to FORM_1. (This used to be commit 608b9ab29dca820d29a40a2c5df86c1ff7e751a9)
2002-05-17addform(), setform():Tim Potter1-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 (This used to be commit c9c2aac9035a11e3fe2d320504097b98a426dd63)
2002-05-17Call get_level_value() utility function.Tim Potter1-21/+8
(This used to be commit 2566dad274e0bced9e55cbc3c126c00e70373fbe)
2002-05-17Added a utility function to extract the info key from a dictionary.Tim Potter2-0/+18
(This used to be commit 4cafbcb205af11c478a2d9047554315915933e5d)
2002-05-17to_struct() now returns a boolean which is false if not all the elements ofTim Potter2-2/+7
the structure were present in the dictionary. (This used to be commit b26d9d793914b66050c374ec2c0e94fa37c7e0e4)
2002-05-16Return enumerated forms as a hash of hashes instead of a list of hashes.Tim Potter1-8/+19
(This used to be commit 2f86f01b88ccaaeee97588f339ebaeae5c4c06e9)
2002-05-16Removed unused variable.Tim Potter1-2/+0
(This used to be commit 8d2f77ce956711f2afbadbeee50d82fbec9047dc)
2002-05-16Renamed 'printer_name' field in python printer info to 'name' to beTim Potter1-3/+3
more consistent. (This used to be commit f8c198b74899d1be1725d0647c5f0cd7db870340)
2002-05-16Fix memory leaks and return values in error returns for enumprinters().Tim Potter1-29/+48
Return enumerated printers as a hash of hashes instead of a list of hashes. (This used to be commit 1d0fd34d42e286fe7a41ca2d122f6bd7dc958b0a)
2002-05-16Fix memory leaks and return values in error returns for enumports().Tim Potter1-16/+40
Return enumerated ports as a hash of hashes instead of a list of hashes. (This used to be commit c469ada3d3b12b6a6e243d004faaae5f96cd3d96)
2002-05-16Set exception object when enumjobs returns non-zero NT status.Tim Potter1-1/+3
(This used to be commit b1818eb37572f4d30efef998d926ac111e78cb48)
2002-05-16Fix return value for enumprinterdrivers(), getprinterdriverdir().Tim Potter1-16/+18
Set info level key in getprinterdriverdir() return info. (This used to be commit cb4bfd39eb83efddb29b3a3bc70c2a8713f80ef2)
2002-05-16Shorten some debug messages.Tim Potter2-2/+2
(This used to be commit 179c68bd0db7c2631fcf052a746acacedf3c47ac)
2002-05-16More cleanups.Tim Potter11-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 (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
2002-05-16Refactored open_pipe_creds() function to remove unused parameter.Tim Potter8-46/+38
(This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
2002-05-16Added addjob command.Tim Potter3-2/+13
(This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca)
2002-05-16Cleaned up help docstrings.Tim Potter1-54/+67
(This used to be commit a8fcb151f8ff601774c302b61e694b4522461068)
2002-05-15Renamed functions that are methods of a printer handle object fromTim Potter7-64/+64
spoolss_* to spoolss_hnd_* to make things a bit clearer. (This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
2002-05-15make protoTim Potter1-0/+1
(This used to be commit 4fe9f83998a3b669b2190b0c71908fe2d9f915fd)
2002-05-15Method entry for addprinterex()Tim Potter1-0/+3
(This used to be commit 1ad82cd0c3f76a629b8fc2e1b02e57b8e97829dd)