summaryrefslogtreecommitdiffstats
path: root/source/python
Commit message (Collapse)AuthorAgeFilesLines
...
| * pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form listMartin Pool2002-11-051-21/+45
| | | | | | | | by appending, rather than preallocating.
| * Add more test cases that now work.Martin Pool2002-11-041-1/+2
| |
| * 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.
* | Merge of compile tweaks for python tdbpack module.Tim Potter2002-12-122-2/+2
| |
* | Merge from HEAD:Tim Potter2002-12-052-10/+20
| | | | | | | | | | | | >FUNCTION_MACRO change broke the Python modules. > >Also fix up string pasting (I thought this should only be a warning?)
* | Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-1/+1
| | | | | | | | | | | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code
* | Another global_myname() fix from HEAD.Tim Potter2002-11-291-2/+1
| |
* | Merge from HEAD:Tim Potter2002-11-291-8/+17
| | | | | | | | >Added some extra code to test absence/presence of LM and NT passwords.
* | Merge of argument check fixes from HEAD.Tim Potter2002-11-291-16/+22
| |
* | Merge of global_myname() fixes from HEAD.Tim Potter2002-11-291-8/+1
| |
* | Merge of compiler warning fixes from HEAD.Tim Potter2002-11-292-5/+6
| |
* | Change default codepage to UNIX.Jeremy Allison2002-11-271-34/+54
| | | | | | | | Jeremy.
* | Merge from HEAD:Tim Potter2002-11-191-3/+1
| | | | | | | | | | | | >Fix typo in docstring. >Remove non-integer Pointer values, which are no longer supported.
* | Merge from HEAD:Tim Potter2002-11-191-187/+56
| | | | | | | | | | | | | | | | >Rename unpack_* functions to be consistent > >Decode CP850 strings when unpacking > >Add variable giving default encoding name
* | Sync with HEAD.Tim Potter2002-11-111-174/+274
| |
* | Sync up python stuff from HEAD.Tim Potter2002-11-077-303/+463
| |
* | Sync with HEAD.Tim Potter2002-11-0411-68/+265
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2002-10-211-0/+144
|\|
| * 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
| |