Age | Commit message (Collapse) | Author | Files | Lines |
|
and workstation to utf8 before sending the winbindd request. Also, don't
continue when the call to pull_utf8() fails but rather return a winbind
error. (This is what was causing the crash)
(This used to be commit ca1c463360b75538a93b56a87cbb4a6ee7b6cec6)
|
|
- remove 'if(mem_ctx)' tests prior to 'talloc_destroy' call to make
consistent with other modules; 'talloc_destroy' already test for NULL
anyway.
- initialize PyObject* result pointers to NULL in function
declarations; enables removal of redundant NULL assignments.
- use local scope TALLOC_CTX in lsa_lookup_names to prevent unbounded
memory growth during python policy object lifetime.
- change context name string used in lsa_lookup_sids from
'lsa_open_policy' to 'lsa_lookup_sids' (cut'npaste oversight from
previous patch)
- change docstring to match module name (apparently another cut'npaste
situation)
(This used to be commit 98cac74c67c454f636df5c1ea2baa029c482e402)
|
|
Consistency fixups in py_smb_query_secdesc()
Thanks to Brett A. Funderburg for these patches.
(This used to be commit 6c33189e50ae3704275198e324fcdb7facd209f7)
|
|
connections. Overrides smb.conf parameter if set.
Jeremy.
(This used to be commit 879309671df6b530e0bff69559422a417da4a307)
|
|
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).
(This used to be commit 2a960963fbe43de753d44d617a7666a7b258092e)
|
|
context for data that is only needed on a per-call basis.
(This used to be commit 3cb39ddee456f55b96e593c67c86082bbd590d86)
|
|
from Brett A. Funderburg.
(This used to be commit 2cedaff044e5a5a03482b1e8f211218db5394930)
|
|
- free talloc context when cli_query_secdesc() fails
- dispose of cli_state when python cli_state_object is garbage collected
(This used to be commit 36052f95ffad4f227596e8038d3f056312d0ad82)
|
|
(This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
|
|
(This used to be commit 406956645f8c713441040598c0c2849101d3fed7)
|
|
flags in the $LIBS make variable. Separate the two so the python
extensions can build.
(This used to be commit 164ea3835724409d5b9badbad689d154307d2b59)
|
|
(This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
|
|
(This used to be commit 68075fb97f577a78438b5121202e94cfcb6597b8)
|
|
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
|
|
(This used to be commit 68b4052281d22dace2ae9e48d022fa288c0a6425)
|
|
(This used to be commit fc0b2fcf977b9014d2478296168b22e9faa22108)
|
|
(This used to be commit c7593929681ad9aed4b9d2025d33071b9751185f)
|
|
(This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)
|
|
(This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)
|
|
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.)
(This used to be commit fa500c77e338337cafe5b46cadf9b104e920e823)
|
|
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
|
|
(This used to be commit 606bb47f241d2916d039b38f48b50474a3e0dadc)
|
|
used to be commit c31455779d7948e866fe1916425c3746134dea01)
|
|
- 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
(This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
|
|
(This used to be commit fe449328b226a33ad1c64e087fe63e79f90ab4ac)
|
|
(This used to be commit 8e0d781995b56dd1cd348baadd494bb8e64c10bc)
|
|
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
|
|
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.
(This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
|
|
(This used to be commit 225182a3a36c72b10643c9568e5cc1f80c0173f1)
|
|
(This used to be commit 232116d2db9f24d64b3fa7a6e11191599590107a)
|
|
Jeremy.
(This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
|
|
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
|
|
>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.
(This used to be commit 36091157b24cfbd76c15ddc20681a1feeaa706db)
|
|
used to be commit bdb5206b45a3e1360cc1a7e9f87299eeaa3c8d9c)
|
|
* (pytdbunpack_item): PyList_Append creates an additional reference to
the appended object. Therefore, release the initial reference after
it's added to the list.
(This used to be commit 1e63dc101a5085a46b9632ba657e5d5cd7505751)
|
|
Python examples.
(This used to be commit 3bb4bd3ed642a61e54c44c40c31f0e2242977614)
|
|
(This used to be commit b50816b500c4be0dda2cc79e0927d8a7dab65fd2)
|
|
(This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)
|
|
>FUNCTION_MACRO change broke the Python modules.
>
>Also fix up string pasting (I thought this should only be a warning?)
(This used to be commit 5bd90f310aa6303a5c949b46591f9fcf82a175b8)
|
|
Also fix up string pasting (I thought this should only be a warning?)
(This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)
|
|
use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
|
|
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
(This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
|
|
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)
|
|
(This used to be commit 880083e2e614d88675f98a46cfe7acdaeb167db3)
|
|
>Added some extra code to test absence/presence of LM and NT passwords.
(This used to be commit 89a2ee7e72fef444632659af13feaf94d3f6e9ce)
|
|
(This used to be commit 5ea2edaadd87c24f63991678183c5d01225eabf7)
|
|
(This used to be commit 7adb6af115dfc1189c2894d45a796b7b8dfe7a05)
|
|
(This used to be commit 80e61a7546b2ac070f8dda56b9810a352ac669e4)
|
|
Jeremy.
(This used to be commit 537cd78268abae8005de73c7bfd9ec24865da654)
|
|
Jeremy.
(This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)
|