Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | pytdbpack_pack_data: Allow 'd' and 'w' formats to take either Integer | Martin Pool | 2002-11-04 | 1 | -2/+20 | |
| | | | | or Long arguments. | |||||
* | Make sure uint32 unpacking is unsigned, and generates a Python long so | Martin Pool | 2002-11-04 | 1 | -10/+10 | |
| | | | | that it can represent all the unsigned values | |||||
* | Re-add some tests which do work with both implementations | Martin Pool | 2002-11-04 | 1 | -6/+6 | |
| | ||||||
* | Comment out test cases where the old and new parser are different. | Martin Pool | 2002-11-04 | 1 | -60/+71 | |
| | ||||||
* | pytdbpack_calc_reqd_len: Correct calculation of packed length of | Martin Pool | 2002-11-04 | 1 | -5/+8 | |
| | | | | string types | |||||
* | Change to representing buffers ('B') as (LEN, STRING) in Python, | Martin Pool | 2002-11-04 | 1 | -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 Pool | 2002-11-04 | 1 | -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 Pool | 2002-11-04 | 1 | -3/+3 | |
| | ||||||
* | pytdbpack_calc_reqd_len: It's no longer an error to supply more data | Martin Pool | 2002-11-04 | 1 | -8/+2 | |
| | | | | values than are consumed. | |||||
* | Doc | Martin Pool | 2002-11-04 | 1 | -2/+5 | |
| | ||||||
* | test_pack_extra: The old code does not complain when there are too | Martin Pool | 2002-11-04 | 1 | -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 too | Martin Pool | 2002-11-04 | 1 | -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 a | Martin Pool | 2002-11-04 | 1 | -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 about | Martin Pool | 2002-11-04 | 1 | -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 not | Martin Pool | 2002-11-04 | 1 | -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 Potter | 2002-10-30 | 1 | -1/+1 | |
| | ||||||
* | Added close and unlink functions. | Tim Potter | 2002-10-29 | 1 | -0/+44 | |
| | ||||||
* | Fixed bug in session setup kwlist. | Tim Potter | 2002-10-21 | 1 | -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 Pool | 2002-10-21 | 1 | -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 do | Martin Pool | 2002-10-21 | 1 | -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.o | Tim Potter | 2002-10-21 | 1 | -1/+2 | |
| | ||||||
* | Fixed up tconx function. Implemented nt_create_andx, query_secdesc | Tim Potter | 2002-10-21 | 1 | -12/+121 | |
| | | | | and set_secdesc functions. | |||||
* | Whoops - this should be in py_smb.c | Tim Potter | 2002-10-21 | 1 | -52/+0 | |
| | ||||||
* | Give better error messages for TypeError, which will arise if e.g. you | Martin Pool | 2002-10-21 | 1 | -10/+24 | |
| | | | | try to pack an Int using a string tdbpack format. | |||||
* | More cleanups of validation functions. | Tim Potter | 2002-10-21 | 2 | -19/+66 | |
| | ||||||
* | Zero some more return values. | Tim Potter | 2002-10-21 | 1 | -1/+2 | |
| | ||||||
* | level should be a uint32 in enum_ports function. | Tim Potter | 2002-10-21 | 1 | -1/+1 | |
| | ||||||
* | Stricter validation in python->C conversion functions. | Tim Potter | 2002-10-21 | 1 | -9/+16 | |
| | ||||||
* | Fixed DRIVER_INFO_3 conversion function to check for dependent_files | Tim Potter | 2002-10-21 | 1 | -3/+29 | |
| | | | | key. | |||||
* | Added stubs for query/set security descriptors on files. Not even close to | Tim Potter | 2002-10-20 | 1 | -0/+52 | |
| | | | | working yet. | |||||
* | Add extra parm to cli_full_connection call. Tim, you should probably look ↵ | Jim McDonough | 2002-10-18 | 1 | -1/+1 | |
| | | | | at this. | |||||
* | make proto | Tim Potter | 2002-10-17 | 1 | -1/+1 | |
| | ||||||
* | open_pipe_creds() now takes a pipe index instead of a pipe name. | Tim Potter | 2002-10-17 | 5 | -10/+9 | |
| | ||||||
* | Fix for new arguments of cli_nt_session_open() | Tim Potter | 2002-10-17 | 1 | -4/+3 | |
| | ||||||
* | The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?) | Tim Potter | 2002-09-25 | 1 | -2/+6 | |
| | ||||||
* | Remove hardcoded -I stuff. Hooray! | Tim Potter | 2002-09-19 | 1 | -9/+9 | |
| | ||||||
* | Bong! The devmode could be NULL. Don't crash if this is the case. | Tim Potter | 2002-09-19 | 1 | -2/+8 | |
| | ||||||
* | Fixed bug in keyword args for enumprinterdataex | Tim Potter | 2002-09-19 | 1 | -1/+1 | |
| | ||||||
* | Moving to subdirectory. | Tim Potter | 2002-09-19 | 1 | -59/+0 | |
| | ||||||
* | Implement printerdata_ex as Python dictionary. Read only at the moment. | Tim Potter | 2002-09-19 | 2 | -22/+64 | |
| | ||||||
* | Display the repr() of non-string dictionary values. | Tim Potter | 2002-09-18 | 1 | -7/+18 | |
| | ||||||
* | Implemented getpw{nam,uid} functions. | Tim Potter | 2002-09-11 | 3 | -0/+109 | |
| | ||||||
* | Added char *, uid_t and gid_t types to generic conversion routines. | Tim Potter | 2002-09-11 | 2 | -1/+26 | |
| | ||||||
* | Fix some dodgy stuff that accidentally was committed. | Tim Potter | 2002-09-11 | 1 | -8/+0 | |
| | ||||||
* | Fix imports for printerdata browser. | Tim Potter | 2002-09-11 | 1 | -1/+1 | |
| | ||||||
* | Ignore *.pyc | Tim Potter | 2002-09-11 | 1 | -0/+1 | |
| | ||||||
* | Change 'import spoolss' to 'from samba import spoolss'. | Tim Potter | 2002-09-11 | 1 | -1/+1 | |
| | ||||||
* | Check in examples for tdb packer | Martin Pool | 2002-09-10 | 2 | -0/+207 | |
| | ||||||
* | Updated examples for new top level module layout. | Tim Potter | 2002-09-10 | 3 | -8/+25 | |
| | | | | Fixed some bugs also. | |||||
* | Put all Python modules into the 'samba' subpackage. Now you need to | Martin Pool | 2002-09-09 | 2 | -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. |