30525aee33
pytdbpack_calc_reqd_len: Correct calculation of packed length of
...
string types
-
20d88a7d1e
Change to representing buffers ('B') as (LEN, STRING) in Python,
...
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.
-
631945a03a
test_pack_extra: Add additional cases.
...
test_pack_failures: Remove cases for which old code is too lax.
-
12c3bb99a5
test_pack_extra: Better way of testing packing with extra values.
-
0c1cfe5598
pytdbpack_calc_reqd_len: It's no longer an error to supply more data
...
values than are consumed.
-
21e4186642
Doc
-
b0143e77d6
test_pack_extra: The old code does not complain when there are too
...
many data values for the format. Test that the new code behaves the
same way.
-
0310e539bb
Sync with HEAD.
-
04cad599f4
test_pack_failures: The old code does not complain when there are too
...
many data values for the format, so we don't test that here.
test_large: New test case for packing/unpack a thousand values.
-
1b681bd524
pytdbpack_calc_reqd_len: Make exception be thrown correctly when a
...
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.
-
5ade138bb8
test_pack_failures: The old and new code is not exactly the same about
...
error detection, so now we don't care what exact error is returned as
long as we get something.
-
ed0e4a670d
test_pack: Coercing a dictionary to a sequence as it is packed is not
...
compatible with the old code, and so it is removed from the test case.
-
6945e89e2d
Fix boog in argument list for nt_create_andx.
-
3a7f8a568e
Added close and unlink functions.
-
06caeed588
Fixed bug in session setup kwlist.
...
Added some basic error handling. Just throw a RuntimeError exception
on error.
-
d39b53ba54
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
-
44dd7746ed
Test both new samba.tdbpack and oldtdbutil pack/unpack routines.
...
This makes the test suite fail because at the moment they are in fact
not behaving the same way.
-
2dc4373727
Import old pure Python version of tdbpack/unpack, so that we can do
...
compatibility testing against the shiny new C version.
This version is slightly modified to not call codepage conversion
routines, and renamed tdbutil->oldtdbutil.
-
e27d3d20e3
The libsmb module uses py_ntsec.o
-
3fd568ef5c
Fixed up tconx function. Implemented nt_create_andx, query_secdesc
...
and set_secdesc functions.
-
b740c7e505
Whoops - this should be in py_smb.c
-
6139ab3cbc
Give better error messages for TypeError, which will arise if e.g. you
...
try to pack an Int using a string tdbpack format.
-
d3e88cb96f
Merge.
-
a4790ba42c
More cleanups of validation functions.
-
7f45bad319
Zero some more return values.
-
174c8ca814
Merge of validiation cleanups from head.
-
121db5b682
level should be a uint32 in enum_ports function.
-
672c07e243
Stricter validation in python->C conversion functions.
-
35413be0ac
Fixed DRIVER_INFO_3 conversion function to check for dependent_files
...
key.
-
b7ef2e8b41
Added stubs for query/set security descriptors on files. Not even close to
...
working yet.
-
42f04bbbb2
Add extra parm to cli_full_connection. Tim, you should probably take a look at this.
-
a9f632ed5d
Add extra parm to cli_full_connection call. Tim, you should probably look at this.
-
86c884c3a1
make proto
-
3a0a30beda
open_pipe_creds() now takes a pipe index instead of a pipe name.
-
cfb0c12eb6
Fix for new arguments of cli_nt_session_open()
-
7ce782c20c
The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)
-
105ff7c540
Remove hardcoded -I stuff. Hooray!
-
3ce8f8c50c
Bong! The devmode could be NULL. Don't crash if this is the case.
-
c7845b3c43
Fixed bug in keyword args for enumprinterdataex
-
154c59c8f9
Moving to subdirectory.
-
739ea89eb3
Implement printerdata_ex as Python dictionary. Read only at the moment.
-
3c6975c711
Display the repr() of non-string dictionary values.
-
19adbf1fae
Implemented getpw{nam,uid} functions.
-
a938863914
Added char *, uid_t and gid_t types to generic conversion routines.
-
d6d0f121d9
Fix some dodgy stuff that accidentally was committed.
-
d36fd66517
Fix imports for printerdata browser.
-
9d639cd415
Ignore *.pyc
-
06f6e71100
Change 'import spoolss' to 'from samba import spoolss'.
-
e8f9fbd32b
Check in examples for tdb packer
-
3e19e3afdb
Updated examples for new top level module layout.
...
Fixed some bugs also.
-