summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
* test_pack_extra: The old code does not complain when there are tooMartin Pool2002-11-041-1/+15
| | | | | | many data values for the format. Test that the new code behaves the same way. (This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)
* test_pack_failures: The old code does not complain when there are tooMartin Pool2002-11-041-6/+14
| | | | | | | many data values for the format, so we don't test that here. test_large: New test case for packing/unpack a thousand values. (This used to be commit 04cad599f40faf234b40090806bcd1ac0473470f)
* pytdbpack_calc_reqd_len: Make exception be thrown correctly when aMartin Pool2002-11-041-2/+5
| | | | | | | | | non-string is used with a string format code. (It was being generated but not thrown.) Also call checked versions of some functions rather than FAST_* versions. (This used to be commit 1b681bd524764deaef657ef41c39d037ac7dcc7b)
* test_pack_failures: The old and new code is not exactly the same aboutMartin Pool2002-11-041-33/+37
| | | | | | error detection, so now we don't care what exact error is returned as long as we get something. (This used to be commit 5ade138bb815d3184fa57ff9cb548f78405059c5)
* test_pack: Coercing a dictionary to a sequence as it is packed is notMartin Pool2002-11-041-4/+0
| | | | | compatible with the old code, and so it is removed from the test case. (This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
* Fix boog in argument list for nt_create_andx.Tim Potter2002-10-301-1/+1
| | | | (This used to be commit 6945e89e2d10743635f01420c83d405a2d4cb356)
* Added close and unlink functions.Tim Potter2002-10-291-0/+44
| | | | (This used to be commit 3a7f8a568e9d1608c2a065e0b98488e2d068911c)
* Fixed bug in session setup kwlist.Tim Potter2002-10-211-2/+25
| | | | | | Added some basic error handling. Just throw a RuntimeError exception on error. (This used to be commit 06caeed588f702814be76a2b2aa7ed43504adef5)
* Test both new samba.tdbpack and oldtdbutil pack/unpack routines.Martin Pool2002-10-211-29/+37
| | | | | | This makes the test suite fail because at the moment they are in fact not behaving the same way. (This used to be commit 44dd7746ede7f7f9efcf7dabcd351b1d800e535c)
* Import old pure Python version of tdbpack/unpack, so that we can doMartin Pool2002-10-211-0/+144
| | | | | | | | compatibility testing against the shiny new C version. This version is slightly modified to not call codepage conversion routines, and renamed tdbutil->oldtdbutil. (This used to be commit 2dc4373727f73a46cd6135413e50917fb7fa538b)
* The libsmb module uses py_ntsec.oTim Potter2002-10-211-1/+2
| | | | (This used to be commit e27d3d20e3c51fc04f37d92c24f38f91b2d1e1e4)
* Fixed up tconx function. Implemented nt_create_andx, query_secdescTim Potter2002-10-211-12/+121
| | | | | and set_secdesc functions. (This used to be commit 3fd568ef5c984f089e7799d9ff55395330716641)
* Whoops - this should be in py_smb.cTim Potter2002-10-211-52/+0
| | | | (This used to be commit b740c7e5050b18bc06865451bed3daf3ae09c609)
* Give better error messages for TypeError, which will arise if e.g. youMartin Pool2002-10-211-10/+24
| | | | | try to pack an Int using a string tdbpack format. (This used to be commit 6139ab3cbca3fc2969d1e578b38394b1f6aeb9c3)
* More cleanups of validation functions.Tim Potter2002-10-212-19/+66
| | | | (This used to be commit a4790ba42cc6ee4086dafbc64b1dba790a6c3583)
* Zero some more return values.Tim Potter2002-10-211-1/+2
| | | | (This used to be commit 7f45bad319ace07a5bfc21465a0db919131dd608)
* level should be a uint32 in enum_ports function.Tim Potter2002-10-211-1/+1
| | | | (This used to be commit 121db5b6821df9c6ec05adb2d35c2dde930736f2)
* Stricter validation in python->C conversion functions.Tim Potter2002-10-211-9/+16
| | | | (This used to be commit 672c07e2432299e3b1015af524dc5c124f61f904)
* Fixed DRIVER_INFO_3 conversion function to check for dependent_filesTim Potter2002-10-211-3/+29
| | | | | key. (This used to be commit 35413be0ac39ce52f009f7750f23b41728d8a35c)
* Added stubs for query/set security descriptors on files. Not even close toTim Potter2002-10-201-0/+52
| | | | | working yet. (This used to be commit b7ef2e8b41bd6a7225b9f21c65c42b8ef0f82a32)
* Add extra parm to cli_full_connection call. Tim, you should probably look ↵Jim McDonough2002-10-181-1/+1
| | | | | | at this. (This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
* make protoTim Potter2002-10-171-1/+1
| | | | (This used to be commit 86c884c3a129d12dc77332c38484bef78c66440e)
* open_pipe_creds() now takes a pipe index instead of a pipe name.Tim Potter2002-10-175-10/+9
| | | | (This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
* Fix for new arguments of cli_nt_session_open()Tim Potter2002-10-171-4/+3
| | | | (This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
* The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)Tim Potter2002-09-251-2/+6
| | | | (This used to be commit 7ce782c20c6b9e515a2fa831315ae14c66d322ee)
* Remove hardcoded -I stuff. Hooray!Tim Potter2002-09-191-9/+9
| | | | (This used to be commit 105ff7c5400a6b79613b6a3b72808124b17ddc60)
* Bong! The devmode could be NULL. Don't crash if this is the case.Tim Potter2002-09-191-2/+8
| | | | (This used to be commit 3ce8f8c50c0adcedc38bf2812b7e9fae78942458)
* Fixed bug in keyword args for enumprinterdataexTim Potter2002-09-191-1/+1
| | | | (This used to be commit c7845b3c43f7167f2c695722bc9923ff666ade76)
* Moving to subdirectory.Tim Potter2002-09-191-59/+0
| | | | (This used to be commit 154c59c8f92b9f735f4e1e7c8c42692c959996f1)
* Implement printerdata_ex as Python dictionary. Read only at the moment.Tim Potter2002-09-192-22/+64
| | | | (This used to be commit 739ea89eb3ab49e5dccddfa767812811b413e67d)
* Display the repr() of non-string dictionary values.Tim Potter2002-09-181-7/+18
| | | | (This used to be commit 3c6975c711d87755f0532147f9aaecb224159f43)
* Implemented getpw{nam,uid} functions.Tim Potter2002-09-113-0/+109
| | | | (This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)
* Added char *, uid_t and gid_t types to generic conversion routines.Tim Potter2002-09-112-1/+26
| | | | (This used to be commit a938863914cbfec247586c92fd06203fec7febde)
* Fix some dodgy stuff that accidentally was committed.Tim Potter2002-09-111-8/+0
| | | | (This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)
* Fix imports for printerdata browser.Tim Potter2002-09-111-1/+1
| | | | (This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)
* Ignore *.pycTim Potter2002-09-111-0/+1
| | | | (This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)
* Change 'import spoolss' to 'from samba import spoolss'.Tim Potter2002-09-111-1/+1
| | | | (This used to be commit 06f6e7110029d5d60c4f34123f470bfb4c96364a)
* Check in examples for tdb packerMartin Pool2002-09-102-0/+207
| | | | (This used to be commit e8f9fbd32b73f60db3683d23a979dc09e7204258)
* Updated examples for new top level module layout.Tim Potter2002-09-103-8/+25
| | | | | Fixed some bugs also. (This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
* Put all Python modules into the 'samba' subpackage. Now you need toMartin Pool2002-09-092-1/+16
| | | | | | | | | | | write import samba.tdbutil samba.tdbutil.pack('f', ['hello']) You need 'cvs update -d' to get the new subdirectory for this to build properly. (This used to be commit 0d3276355e0511d6aff110a3943199629b3c00fd)
* Build py_tdbpack as well.Martin Pool2002-09-091-0/+5
| | | | (This used to be commit fc5e8b8f672d461809f113fe14435841608b046f)
* Python's setup.py does not need to be munged by configure.in -- it isMartin Pool2002-09-092-11/+4
| | | | | | sufficient to just pass the relevant variables to Python from the Makefile. Therefore, remove setup.py.in. (This used to be commit 8bebe9ee2b6bd56c297acc6b01cb0856aad1c4f3)
* Import my code to do reasonably fast tdbpack/unpack from PythonMartin Pool2002-09-091-0/+662
| | | | (This used to be commit 1f7ed8bb863fdacd0b9f3bc2e1e5d72ec7051feb)
* Update documentation for newly merged modulesMartin Pool2002-09-091-35/+9
| | | | (This used to be commit a0e58fd2cef5891e874a08f71d5d7a3f10ec6454)
* This patch has now been applied and no longer needs to exist separatelyMartin Pool2002-09-091-69/+0
| | | | (This used to be commit 5b2fa5260e22c0d8bc9fb0973a6247ad99d2ed4b)
* Add little meta noteMartin Pool2002-09-091-0/+6
| | | | (This used to be commit c651720633e3affb192eef9e676fad37a0ad4fae)
* Fix crash bugs in getprinter info level code (yay unit tests).Tim Potter2002-09-091-8/+3
| | | | | | Let the cli_spoolss function return invalid info level error rather than checking for it ourselves. (This used to be commit fc5e186821abc429ea8314d0785b76cbe1ec5f74)
* Pass level keyword down to cli_spoolss_getform()Tim Potter2002-09-091-1/+1
| | | | (This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
* Formatting tidyup.Tim Potter2002-09-091-1/+1
| | | | (This used to be commit 4132d9680a0b6ed829663399bba209a49ca41d56)
* Remove todo comment.Tim Potter2002-09-091-1/+0
| | | | (This used to be commit 95831c8266119284264f7f42b08fb4d8e21e9deb)