summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
* r8538: honour CC in python build.Günther Deschner2007-10-101-0/+2
| | | | | Guenther (This used to be commit d31510d6c56954030759e97ab8cdfc51e0abca92)
* r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.Lars Müller2007-10-101-1/+1
| | | | (This used to be commit 22acd4936875e3c98ce7e26cde05f0ce69d8cb63)
* r8431: Ensure to use dev_private and not private after Jeremy's CPP reservedLars Müller2007-10-101-2/+2
| | | | | | | | names rename. Jerry: I'm not sure if we have to use the string 'dev_private' instead of 'private' as second arg to PyDict_SetItemString(). (This used to be commit cd2c467cc46db1958aba7660f0ef7fd8af14bd63)
* r7960: Replace unknown SMB_XSTRDUP by known SMB_STRDUP macro.Lars Müller2007-10-102-2/+2
| | | | | I still don't know why the compile doesn't fail. (This used to be commit 8cfa6873c2b57eb94b43a5aded38be7958922210)
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-16/+16
| | | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
* r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.Tim Potter2007-10-101-1/+1
| | | | | Closes bugzilla 2699. (This used to be commit 16ddf2812266c314950f464a6f4d75d55de0f9d6)
* r6678: fix python python after talloc() shakeupGerald Carter2007-10-109-13/+14
| | | | (This used to be commit f629bffb1a6b8c2ea54fcfe33865b43559abbc77)
* r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2007-10-101-1/+1
| | | | (This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
* r5283: Merge -r5279 and-r5280 from trunk.Tim Potter2007-10-104-8/+154
| | | | (This used to be commit 74d872287b5cf5b13512091827a9d065f1fef122)
* r4238: More *alloc fixes.Jeremy Allison2007-10-101-7/+7
| | | | | Jeremy. (This used to be commit 4d971806f4e4f5523227e378125d5601a5df271d)
* r3504: Fix incorrectly applied patch. My fault - sorry!Tim Potter2007-10-101-1/+2
| | | | (This used to be commit 43a7f7db3d1995089ac8fb279f36e9e8edb1d8bb)
* r3228: Fix for bugzilla #1884 from Brett Funderburg. Use the value ofTim Potter2007-10-101-2/+2
| | | | | | desired_access passed in to the lsa open policy routine. Use a default value that netapps and windows likes as well. (This used to be commit 9c3cffaf22c69b8c7fae12adf02aa1679de546b3)
* r2828: Fix for bugzilla #1864 from Brett again.Tim Potter2007-10-101-1/+12
| | | | | Add sd->type field to security descriptor Python representation. (This used to be commit b157a1b7c3e15a960fbc943d37abbb1bf5053a63)
* r2823: Patch from Brett Funderburg to pass create options parameter toTim Potter2007-10-101-2/+3
| | | | | nt_create_andx() function. (This used to be commit fa3e8365641e84ca361dc95bac33a9d56e9d799b)
* r2736: Fix bug in Python printerdata wraper found by Daniel Jarboe.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 8ec28d613d6dcade135b314c6764fbafcc8ed79c)
* r1789: compiler warnings from SuSEGerald Carter2007-10-101-2/+2
| | | | (This used to be commit 7e44193be103fad273796218c8f5e5f9a1657c3c)
* r1492: Rework our random number generation system.Andrew Bartlett2007-10-101-2/+2
| | | | | | | | | | | On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett (This used to be commit 36741d3cf53a7bd17d361251f2bb50851cdb035f)
* r384: Relicense tdb python module in trunk and 3.0 branch as LGPL since theTim Potter2007-10-102-28/+28
| | | | | license on tdb has changed. (This used to be commit c6a18beafe702018f18acba76d7f796d7c89d2aa)
* r39: * importing .cvsignore filesGerald Carter2007-10-103-4/+0
| | | | | * updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
* Path for bugzilla #1152 from Timur Bakeyev. Allow python modules toTim Potter2004-03-241-0/+3
| | | | | build despite libraries added to LDFLAGS instead of LDPATH. (This used to be commit 98a25dcda8e53e22b48930131ff394414056f6a1)
* Fix for writable printerdata problem - bugzilla #1112.Tim Potter2004-02-261-6/+12
| | | | (This used to be commit a05b9f0cc55300e2a25c87849a4417afea0cd867)
* Fix for #480. Change the interface for init_unistr2 to not take a lengthJeremy Allison2003-09-252-2/+2
| | | | | | | but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. (This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
* Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison2003-09-191-1/+1
| | | | | | | | me to expose a type arguement to make_sec_desc(). We weren't copying the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on auto inherited checks. Jeremy. (This used to be commit 28b315a7501f42928d73efaa75f74146ba95cf2d)
* update python libraries for new cli_spoolss_getprinterdriver() callGerald Carter2003-08-251-2/+3
| | | | (This used to be commit 331a69919c3d4457e4c700b1fd4033f338d0ec98)
* Tims' little fix.John Terpstra2003-08-121-1/+1
| | | | (This used to be commit 03a308afcd8826387e33a9c95df98425f9e0fa79)
* Fix for bug 269. Change wbinfo and ntlm_auth to convert domain, usernameTim Potter2003-08-121-2/+8
| | | | | | | 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)
* More patches from Brett:Tim Potter2003-08-041-20/+23
| | | | | | | | | | | | | | | | | | | | - 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)
* Fix memory leak in py_smb_set_setdesc()Tim Potter2003-08-041-10/+15
| | | | | | | Consistency fixups in py_smb_query_secdesc() Thanks to Brett A. Funderburg for these patches. (This used to be commit 6c33189e50ae3704275198e324fcdb7facd209f7)
* 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)