summaryrefslogtreecommitdiffstats
path: root/source/python
Commit message (Collapse)AuthorAgeFilesLines
...
* pytdbpack_pack_data: Allow 'd' and 'w' formats to take either IntegerMartin Pool2002-11-041-2/+20
| | | | or Long arguments.
* Make sure uint32 unpacking is unsigned, and generates a Python long soMartin Pool2002-11-041-10/+10
| | | | that it can represent all the unsigned values
* Re-add some tests which do work with both implementationsMartin Pool2002-11-041-6/+6
|
* Comment out test cases where the old and new parser are different.Martin Pool2002-11-041-60/+71
|
* pytdbpack_calc_reqd_len: Correct calculation of packed length ofMartin Pool2002-11-041-5/+8
| | | | string types
* Change to representing buffers ('B') as (LEN, STRING) in Python,Martin Pool2002-11-041-130/+112
| | | | | | rather than as just a string. Makes the code more messy, but needed for compatibility with existing PSA Python code which seems to be too knotty to separate out.
* test_pack_extra: Add additional cases.Martin Pool2002-11-041-7/+12
| | | | test_pack_failures: Remove cases for which old code is too lax.
* test_pack_extra: Better way of testing packing with extra values.Martin Pool2002-11-041-3/+3
|
* pytdbpack_calc_reqd_len: It's no longer an error to supply more dataMartin Pool2002-11-041-8/+2
| | | | values than are consumed.
* DocMartin Pool2002-11-041-2/+5
|
* 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.
* 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.
* 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.
* 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.
* 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.
* Fix boog in argument list for nt_create_andx.Tim Potter2002-10-301-1/+1
|
* Added close and unlink functions.Tim Potter2002-10-291-0/+44
|
* Fixed bug in session setup kwlist.Tim Potter2002-10-211-2/+25
| | | | | Added some basic error handling. Just throw a RuntimeError exception on error.
* 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.
* 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.
* The libsmb module uses py_ntsec.oTim Potter2002-10-211-1/+2
|
* Fixed up tconx function. Implemented nt_create_andx, query_secdescTim Potter2002-10-211-12/+121
| | | | and set_secdesc functions.
* Whoops - this should be in py_smb.cTim Potter2002-10-211-52/+0
|
* 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.
* More cleanups of validation functions.Tim Potter2002-10-212-19/+66
|
* Zero some more return values.Tim Potter2002-10-211-1/+2
|
* level should be a uint32 in enum_ports function.Tim Potter2002-10-211-1/+1
|
* Stricter validation in python->C conversion functions.Tim Potter2002-10-211-9/+16
|
* Fixed DRIVER_INFO_3 conversion function to check for dependent_filesTim Potter2002-10-211-3/+29
| | | | key.
* Added stubs for query/set security descriptors on files. Not even close toTim Potter2002-10-201-0/+52
| | | | working yet.
* Add extra parm to cli_full_connection call. Tim, you should probably look ↵Jim McDonough2002-10-181-1/+1
| | | | at this.
* make protoTim Potter2002-10-171-1/+1
|
* open_pipe_creds() now takes a pipe index instead of a pipe name.Tim Potter2002-10-175-10/+9
|
* Fix for new arguments of cli_nt_session_open()Tim Potter2002-10-171-4/+3
|
* The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)Tim Potter2002-09-251-2/+6
|
* Remove hardcoded -I stuff. Hooray!Tim Potter2002-09-191-9/+9
|
* Bong! The devmode could be NULL. Don't crash if this is the case.Tim Potter2002-09-191-2/+8
|
* Fixed bug in keyword args for enumprinterdataexTim Potter2002-09-191-1/+1
|
* Moving to subdirectory.Tim Potter2002-09-191-59/+0
|
* Implement printerdata_ex as Python dictionary. Read only at the moment.Tim Potter2002-09-192-22/+64
|
* Display the repr() of non-string dictionary values.Tim Potter2002-09-181-7/+18
|
* Implemented getpw{nam,uid} functions.Tim Potter2002-09-113-0/+109
|
* Added char *, uid_t and gid_t types to generic conversion routines.Tim Potter2002-09-112-1/+26
|
* Fix some dodgy stuff that accidentally was committed.Tim Potter2002-09-111-8/+0
|
* Fix imports for printerdata browser.Tim Potter2002-09-111-1/+1
|
* Ignore *.pycTim Potter2002-09-111-0/+1
|
* Change 'import spoolss' to 'from samba import spoolss'.Tim Potter2002-09-111-1/+1
|
* Check in examples for tdb packerMartin Pool2002-09-102-0/+207
|
* Updated examples for new top level module layout.Tim Potter2002-09-103-8/+25
| | | | Fixed some bugs also.
* 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.