summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2003-07-301-1/+1
| | | | | | connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
* More memory leak fixes from Brett! It turns out PyDict_SetItemStringTim Potter2003-07-291-16/+23
| | | | | | | 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)
* Memory leak fixes from Brett A. Funderburg - don't use the connection tallocTim Potter2003-07-291-7/+20
| | | | | context for data that is only needed on a per-call basis. (This used to be commit 3cb39ddee456f55b96e593c67c86082bbd590d86)
* Add debug output api's from lsa/spoolss modules to smb module. PatchTim Potter2003-07-291-1/+33
| | | | | from Brett A. Funderburg. (This used to be commit 2cedaff044e5a5a03482b1e8f211218db5394930)
* Fix two memory leaks in the smb module:Tim Potter2003-07-231-1/+7
| | | | | | | - 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)
* Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()Tim Potter2003-07-221-3/+3
| | | | (This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
* Delete outdated file.Tim Potter2003-06-131-6/+0
| | | | (This used to be commit 406956645f8c713441040598c0c2849101d3fed7)
* Fix for bug #60. Our autoconf code adds both libraries and linkerTim Potter2003-05-051-21/+30
| | | | | | flags in the $LIBS make variable. Separate the two so the python extensions can build. (This used to be commit 164ea3835724409d5b9badbad689d154307d2b59)
* merge in metze' smbcquotas patch from HEADGerald Carter2003-04-151-2/+2
| | | | (This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
* Merge create/delete domain user samr calls from HEAD.Tim Potter2003-04-144-146/+404
| | | | (This used to be commit 68075fb97f577a78438b5121202e94cfcb6597b8)
* Merge of compiler warning fixups.Tim Potter2003-03-2010-328/+316
| | | | (This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
* Merge of removal of py_samba.cTim Potter2003-03-202-68/+1
| | | | (This used to be commit 68b4052281d22dace2ae9e48d022fa288c0a6425)
* Merge of #ifdef'ed out auth_smbd wrapper.Tim Potter2003-03-181-1/+71
| | | | (This used to be commit fc0b2fcf977b9014d2478296168b22e9faa22108)
* Merge of added locking functions from HEAD.Tim Potter2003-03-131-1/+81
| | | | (This used to be commit c7593929681ad9aed4b9d2025d33071b9751185f)
* Merge of some commentary for getprinter info levels supported by win2k+Tim Potter2003-03-131-0/+16
| | | | (This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)
* Merge: fix compiler warning.Tim Potter2003-02-251-0/+7
| | | | (This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)
* (Merge from APPLIANCE_HEAD)Martin Pool2003-02-201-1/+4
| | | | | | | | 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)
* Merge of cleanups and srvsvc implementation from HEAD.Tim Potter2003-02-1920-255/+222
| | | | (This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
* Check return code of string_to_sid. (Merge from HEAD)Martin Pool2003-02-181-2/+8
| | | | (This used to be commit 606bb47f241d2916d039b38f48b50474a3e0dadc)
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-02-185-0/+349
|\ | | | | | | used to be commit c31455779d7948e866fe1916425c3746134dea01)
| * Cleanup of header files for python extensions.Tim Potter2003-02-1825-261/+360
| | | | | | | | | | | | | | - 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)
| * Check return code from string_to_sid.Martin Pool2003-02-181-2/+8
| | | | | | | | (This used to be commit fe449328b226a33ad1c64e087fe63e79f90ab4ac)
| * Added SRVSVC pipe support. I've started implementing NetServerGetInfo()Tim Potter2003-02-173-0/+217
| | | | | | | | (This used to be commit 8e0d781995b56dd1cd348baadd494bb8e64c10bc)
| * reverted this patch till I sort out the craziness with UNIHDRAndrew Tridgell2003-01-172-2/+2
| | | | | | | | (This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
| * This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell2003-01-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * Rename a local variable to avoid a warning.Tim Potter2003-01-071-9/+9
| | | | | | | | (This used to be commit 232116d2db9f24d64b3fa7a6e11191599590107a)
| * Finish adding strings to all talloc_init() calls.Jeremy Allison2002-12-236-13/+13
| | | | | | | | | | Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
* | Sync up compiler warning fixes.Tim Potter2003-01-151-9/+9
| | | | | | | | (This used to be commit 225182a3a36c72b10643c9568e5cc1f80c0173f1)
* | Finish adding strings to all talloc_init() calls.Jeremy Allison2002-12-236-13/+13
| | | | | | | | | | Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
* | Merge from HEAD:Tim Potter2002-12-201-10/+15
| | | | | | | | | | | | | | | | | | >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)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2002-12-121-0/+2
|\| | | | | | | used to be commit bdb5206b45a3e1360cc1a7e9f87299eeaa3c8d9c)
| * CR1333: Fix memory leak when unpacking some structures.Martin Pool2002-12-121-10/+15
| | | | | | | | | | | | | | * (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)
| * * Ignore .pyc and .pyo files produced as a side-effect of runningMartin Pool2002-12-121-0/+2
| | | | | | | | | | Python examples. (This used to be commit 3bb4bd3ed642a61e54c44c40c31f0e2242977614)
| * Some more tweaking for compilation of py_tdbpack.Tim Potter2002-12-112-2/+2
| | | | | | | | (This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)
| * FUNCTION_MACRO change broke the Python modules.Tim Potter2002-12-042-8/+18
| | | | | | | | | | Also fix up string pasting (I thought this should only be a warning?) (This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)
| * use FILE_MACRO instead of __FILE__Herb Lewis2002-12-031-6/+6
| | | | | | | | | | use FUNCTION_MACRO instead of __FUNCTION_ (This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
| * Fixed silly bug.Tim Potter2002-11-291-1/+1
| | | | | | | | (This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)
| * Fix comment - 850 -> iso8859-1Jeremy Allison2002-11-271-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)
| * Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.Jeremy Allison2002-11-271-10/+0
| | | | | | | | | | Jeremy. (This used to be commit e88bbec2a06bd92b8cfa33efdf166c4fa72cb656)
| * Fix some argument checking bugs found by testsuite.Tim Potter2002-11-251-16/+22
| | | | | | | | (This used to be commit 93306f581e3fa37d1aea67e93dc83d5a6d2fcb3f)
| * Added some extra code to test absence/presence of LM and NT passwords.Tim Potter2002-11-221-8/+17
| | | | | | | | (This used to be commit 6f1d48555f53ea3b32a7b8a6cf0fc2e148c311b7)
| * Fixed some compiler warnings.Tim Potter2002-11-222-5/+6
| | | | | | | | (This used to be commit 9e871cc256a70bc64e59630bd31c890cc231368e)
| * Fixed some globals that escaped the recent globalcide.Tim Potter2002-11-222-10/+2
| | | | | | | | (This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
| * Add support for new 'F' format, which is a string in the defaultMartin Pool2002-11-221-34/+64
| | | | | | | | | | codepage. (This used to be commit ff1244c457d0525343bcc7e89a899d8c7d14b8b6)
| * Fix typo in docstring.Tim Potter2002-11-191-1/+1
| | | | | | | | (This used to be commit 9f9347bc03448f8b93d536f9cd2df8fb496a4c22)
| * Rename unpack_* functions to be consistentMartin Pool2002-11-121-15/+16
| | | | | | | | | | | | | | Decode CP850 strings when unpacking Add variable giving default encoding name (This used to be commit 8cbaea2afa6faca80eced70d625359165afaa10c)
| * Rename pytdbpack_unpack -> pytdbunpackMartin Pool2002-11-121-7/+7
| | | | | | | | (This used to be commit e62baf3a76e0e4f642e542812868db614632de00)
| * Just reorder functions to put related ones togetherMartin Pool2002-11-121-40/+38
| | | | | | | | (This used to be commit 7863c948b73785e49d04227e87d8b4b47fd61f58)
| * Remove dead code for packing buffers which has now been reimplemented.Martin Pool2002-11-121-94/+0
| | | | | | | | (This used to be commit 001779dffd18e1f6a83496c94ead185d4bb42204)
| * Remove dead code for packing buffers which has now been reimplemented.Martin Pool2002-11-121-36/+0
| | | | | | | | (This used to be commit 62ca27d140d55cbb271b97624023540ae7c18882)