1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00
Commit Graph

331 Commits

Author SHA1 Message Date
6c33189e50 Fix memory leak in py_smb_set_setdesc()
Consistency fixups in py_smb_query_secdesc()

Thanks to Brett A. Funderburg for these patches.
-
879309671d Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set.
Jeremy.
-
2a960963fb More memory leak fixes from Brett! It turns out PyDict_SetItemString
didn't behave exactly as I thought it did.  If you create an item using a
PyFoo_FromBar function you must decrement the reference to that object
afterwards (or use Py_BuildValue).
-
3cb39ddee4 Memory leak fixes from Brett A. Funderburg - don't use the connection talloc
context for data that is only needed on a per-call basis.
-
2cedaff044 Add debug output api's from lsa/spoolss modules to smb module. Patch
from Brett A. Funderburg.
-
36052f95ff Fix two memory leaks in the smb module:
- free talloc context when cli_query_secdesc() fails

 - dispose of cli_state when python cli_state_object is garbage collected
-
cfb86b4503 Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id() -
406956645f Delete outdated file. -
164ea38357 Fix for bug #60. Our autoconf code adds both libraries and linker
flags in the $LIBS make variable.  Separate the two so the python
extensions can build.
-
b6a7704888 merge in metze' smbcquotas patch from HEAD -
68075fb97f Merge create/delete domain user samr calls from HEAD. -
0308a0a112 Merge of compiler warning fixups. -
68b4052281 Merge of removal of py_samba.c -
fc0b2fcf97 Merge of #ifdef'ed out auth_smbd wrapper. -
c759392968 Merge of added locking functions from HEAD. -
3026a5ef15 Merge of some commentary for getprinter info levels supported by win2k+ -
55ee43cfb8 Merge: fix compiler warning. -
fa500c77e3 (Merge from APPLIANCE_HEAD)
CR1829: Fix memory leak when unpacking 'B' buffers in Python.

(PyList_Append creates a new reference to the added object, and so we
have to release the existing one.)
-
dbea592877 Merge of cleanups and srvsvc implementation from HEAD. -
606bb47f24 Check return code of string_to_sid. (Merge from HEAD) -
c31455779d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
0659351b25 Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
 - move #include of Python.h into one place so we can get rid of that
   annoying compiler warning about HAVE_FSTAT being redefined
-
fe449328b2 Check return code from string_to_sid. -
8e0d781995 Added SRVSVC pipe support. I've started implementing NetServerGetInfo() -
e3d00fa47d reverted this patch till I sort out the craziness with UNIHDR -
b9eff31b14 This removes the 3rd argument from init_unistr2(). There were 240
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.

The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.

I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
-
225182a3a3 Sync up compiler warning fixes. -
232116d2db Rename a local variable to avoid a warning. -
aa8439a49e Finish adding strings to all talloc_init() calls.
Jeremy.
-
784d15761c Finish adding strings to all talloc_init() calls.
Jeremy.
-
36091157b2 Merge from HEAD:
>CR1333: Fix memory leak when unpacking some structures.
>
>* (pytdbunpack_item): PyList_Append creates an additional reference to
>  the appended object.  Therefore, release the initial reference after
>  it's added to the list.
-
bdb5206b45 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
1e63dc101a CR1333: Fix memory leak when unpacking some structures.
* (pytdbunpack_item): PyList_Append creates an additional reference to
  the appended object.  Therefore, release the initial reference after
  it's added to the list.
-
3bb4bd3ed6 * Ignore .pyc and .pyo files produced as a side-effect of running
Python examples.
-
b50816b500 Merge of compile tweaks for python tdbpack module. -
89be695b29 Some more tweaking for compilation of py_tdbpack. -
5bd90f310a Merge from HEAD:
>FUNCTION_MACRO change broke the Python modules.
>
>Also fix up string pasting (I thought this should only be a warning?)
-
739285ff69 FUNCTION_MACRO change broke the Python modules.
Also fix up string pasting (I thought this should only be a warning?)
-
243763d6eb use FILE_MACRO instead of __FILE__
use FUNCTION_MACRO instead of __FUNCTION_
-
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
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
-
191c1596f5 Fixed silly bug. -
880083e2e6 Another global_myname() fix from HEAD. -
89a2ee7e72 Merge from HEAD:
>Added some extra code to test absence/presence of LM and NT passwords.
-
5ea2edaadd Merge of argument check fixes from HEAD. -
7adb6af115 Merge of global_myname() fixes from HEAD. -
80e61a7546 Merge of compiler warning fixes from HEAD. -
537cd78268 Change default codepage to UNIX.
Jeremy.
-
6639693746 Fix comment - 850 -> iso8859-1
Jeremy.
-
e88bbec2a0 Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
Jeremy.
-
93306f581e Fix some argument checking bugs found by testsuite. -