1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00
Commit Graph

236 Commits

Author SHA1 Message Date
cvs2svn Import User
d39b53ba54 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Martin Pool
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.
-
Martin Pool
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.
-
Tim Potter
e27d3d20e3 The libsmb module uses py_ntsec.o -
Tim Potter
3fd568ef5c Fixed up tconx function. Implemented nt_create_andx, query_secdesc
and set_secdesc functions.
-
Tim Potter
b740c7e505 Whoops - this should be in py_smb.c -
Martin Pool
6139ab3cbc Give better error messages for TypeError, which will arise if e.g. you
try to pack an Int using a string tdbpack format.
-
Tim Potter
d3e88cb96f Merge. -
Tim Potter
a4790ba42c More cleanups of validation functions. -
Tim Potter
7f45bad319 Zero some more return values. -
Tim Potter
174c8ca814 Merge of validiation cleanups from head. -
Tim Potter
121db5b682 level should be a uint32 in enum_ports function. -
Tim Potter
672c07e243 Stricter validation in python->C conversion functions. -
Tim Potter
35413be0ac Fixed DRIVER_INFO_3 conversion function to check for dependent_files
key.
-
Tim Potter
b7ef2e8b41 Added stubs for query/set security descriptors on files. Not even close to
working yet.
-
Jim McDonough
42f04bbbb2 Add extra parm to cli_full_connection. Tim, you should probably take a look at this. -
Jim McDonough
a9f632ed5d Add extra parm to cli_full_connection call. Tim, you should probably look at this. -
Tim Potter
86c884c3a1 make proto -
Tim Potter
3a0a30beda open_pipe_creds() now takes a pipe index instead of a pipe name. -
Tim Potter
cfb0c12eb6 Fix for new arguments of cli_nt_session_open() -
Tim Potter
7ce782c20c The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?) -
Tim Potter
105ff7c540 Remove hardcoded -I stuff. Hooray! -
Tim Potter
3ce8f8c50c Bong! The devmode could be NULL. Don't crash if this is the case. -
Tim Potter
c7845b3c43 Fixed bug in keyword args for enumprinterdataex -
Tim Potter
154c59c8f9 Moving to subdirectory. -
Tim Potter
739ea89eb3 Implement printerdata_ex as Python dictionary. Read only at the moment. -
Tim Potter
3c6975c711 Display the repr() of non-string dictionary values. -
Tim Potter
19adbf1fae Implemented getpw{nam,uid} functions. -
Tim Potter
a938863914 Added char *, uid_t and gid_t types to generic conversion routines. -
Tim Potter
d6d0f121d9 Fix some dodgy stuff that accidentally was committed. -
Tim Potter
d36fd66517 Fix imports for printerdata browser. -
Tim Potter
9d639cd415 Ignore *.pyc -
Tim Potter
06f6e71100 Change 'import spoolss' to 'from samba import spoolss'. -
Martin Pool
e8f9fbd32b Check in examples for tdb packer -
Tim Potter
3e19e3afdb Updated examples for new top level module layout.
Fixed some bugs also.
-
Martin Pool
0d3276355e Put all Python modules into the 'samba' subpackage. Now you need to
write

  import samba.tdbutil
  samba.tdbutil.pack('f', ['hello'])

You need 'cvs update -d' to get the new subdirectory for this to build
properly.
-
Martin Pool
fc5e8b8f67 Build py_tdbpack as well. -
Martin Pool
8bebe9ee2b Python's setup.py does not need to be munged by configure.in -- it is
sufficient to just pass the relevant variables to Python from the
Makefile.  Therefore, remove setup.py.in.
-
Martin Pool
1f7ed8bb86 Import my code to do reasonably fast tdbpack/unpack from Python -
Martin Pool
a0e58fd2ce Update documentation for newly merged modules -
Martin Pool
5b2fa5260e This patch has now been applied and no longer needs to exist separately -
Martin Pool
c651720633 Add little meta note -
Tim Potter
fc5e186821 Fix crash bugs in getprinter info level code (yay unit tests).
Let the cli_spoolss function return invalid info level error rather
than checking for it ourselves.
-
Tim Potter
69bb58b92e Pass level keyword down to cli_spoolss_getform() -
Tim Potter
4132d9680a Formatting tidyup. -
Tim Potter
95831c8266 Remove todo comment. -
Tim Potter
fff081d344 Check no extra fields are present when parsing credentials. -
Tim Potter
31feae9e8f Update patch. -
Tim Potter
c201a61a52 Initial version of printerdata_ex browsing. -
Tim Potter
c211d2deca Move printerdata dictionary object into it's own file. -