Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for #480. Change the interface for init_unistr2 to not take a length | Jeremy Allison | 2003-09-25 | 2 | -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. | ||||
* | Ensure that dup_sec_desc copies the 'type' field correctly. This caused | Jeremy Allison | 2003-09-19 | 1 | -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. | ||||
* | update python libraries for new cli_spoolss_getprinterdriver() call | Gerald Carter | 2003-08-25 | 1 | -2/+3 |
| | |||||
* | Tims' little fix. | John Terpstra | 2003-08-12 | 1 | -1/+1 |
| | |||||
* | Fix for bug 269. Change wbinfo and ntlm_auth to convert domain, username | Tim Potter | 2003-08-12 | 1 | -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) | ||||
* | More patches from Brett: | Tim Potter | 2003-08-04 | 1 | -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) | ||||
* | Fix memory leak in py_smb_set_setdesc() | Tim Potter | 2003-08-04 | 1 | -10/+15 |
| | | | | | | Consistency fixups in py_smb_query_secdesc() Thanks to Brett A. Funderburg for these patches. | ||||
* | Add a command line option (-S on|off|required) to enable signing on client | Jeremy Allison | 2003-07-30 | 1 | -1/+1 |
| | | | | | connections. Overrides smb.conf parameter if set. Jeremy. | ||||
* | More memory leak fixes from Brett! It turns out PyDict_SetItemString | Tim Potter | 2003-07-29 | 1 | -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). | ||||
* | Memory leak fixes from Brett A. Funderburg - don't use the connection talloc | Tim Potter | 2003-07-29 | 1 | -7/+20 |
| | | | | context for data that is only needed on a per-call basis. | ||||
* | Add debug output api's from lsa/spoolss modules to smb module. Patch | Tim Potter | 2003-07-29 | 1 | -1/+33 |
| | | | | from Brett A. Funderburg. | ||||
* | Fix two memory leaks in the smb module: | Tim Potter | 2003-07-23 | 1 | -1/+7 |
| | | | | | | - free talloc context when cli_query_secdesc() fails - dispose of cli_state when python cli_state_object is garbage collected | ||||
* | Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id() | Tim Potter | 2003-07-22 | 1 | -3/+3 |
| | |||||
* | Delete outdated file. | Tim Potter | 2003-06-13 | 1 | -6/+0 |
| | |||||
* | Fix for bug #60. Our autoconf code adds both libraries and linker | Tim Potter | 2003-05-05 | 1 | -21/+30 |
| | | | | | flags in the $LIBS make variable. Separate the two so the python extensions can build. | ||||
* | merge in metze' smbcquotas patch from HEAD | Gerald Carter | 2003-04-15 | 1 | -2/+2 |
| | |||||
* | Merge create/delete domain user samr calls from HEAD. | Tim Potter | 2003-04-14 | 4 | -146/+404 |
| | |||||
* | Merge of compiler warning fixups. | Tim Potter | 2003-03-20 | 10 | -328/+316 |
| | |||||
* | Merge of removal of py_samba.c | Tim Potter | 2003-03-20 | 2 | -68/+1 |
| | |||||
* | Merge of #ifdef'ed out auth_smbd wrapper. | Tim Potter | 2003-03-18 | 1 | -1/+71 |
| | |||||
* | Merge of added locking functions from HEAD. | Tim Potter | 2003-03-13 | 1 | -1/+81 |
| | |||||
* | Merge of some commentary for getprinter info levels supported by win2k+ | Tim Potter | 2003-03-13 | 1 | -0/+16 |
| | |||||
* | Merge: fix compiler warning. | Tim Potter | 2003-02-25 | 1 | -0/+7 |
| | |||||
* | (Merge from APPLIANCE_HEAD) | Martin Pool | 2003-02-20 | 1 | -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.) | ||||
* | Merge of cleanups and srvsvc implementation from HEAD. | Tim Potter | 2003-02-19 | 20 | -255/+222 |
| | |||||
* | Check return code of string_to_sid. (Merge from HEAD) | Martin Pool | 2003-02-18 | 1 | -2/+8 |
| | |||||
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. | cvs2svn Import User | 2003-02-18 | 5 | -0/+349 |
|\ | |||||
| * | Cleanup of header files for python extensions. | Tim Potter | 2003-02-18 | 25 | -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 | ||||
| * | Check return code from string_to_sid. | Martin Pool | 2003-02-18 | 1 | -2/+8 |
| | | |||||
| * | Added SRVSVC pipe support. I've started implementing NetServerGetInfo() | Tim Potter | 2003-02-17 | 3 | -0/+217 |
| | | |||||
| * | reverted this patch till I sort out the craziness with UNIHDR | Andrew Tridgell | 2003-01-17 | 2 | -2/+2 |
| | | |||||
| * | This removes the 3rd argument from init_unistr2(). There were 240 | Andrew Tridgell | 2003-01-17 | 2 | -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. | ||||
| * | Rename a local variable to avoid a warning. | Tim Potter | 2003-01-07 | 1 | -9/+9 |
| | | |||||
| * | Finish adding strings to all talloc_init() calls. | Jeremy Allison | 2002-12-23 | 6 | -13/+13 |
| | | | | | | | | Jeremy. | ||||
* | | Sync up compiler warning fixes. | Tim Potter | 2003-01-15 | 1 | -9/+9 |
| | | |||||
* | | Finish adding strings to all talloc_init() calls. | Jeremy Allison | 2002-12-23 | 6 | -13/+13 |
| | | | | | | | | Jeremy. | ||||
* | | Merge from HEAD: | Tim Potter | 2002-12-20 | 1 | -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 commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. | cvs2svn Import User | 2002-12-12 | 1 | -0/+2 |
|\| | |||||
| * | CR1333: Fix memory leak when unpacking some structures. | Martin Pool | 2002-12-12 | 1 | -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. | ||||
| * | * Ignore .pyc and .pyo files produced as a side-effect of running | Martin Pool | 2002-12-12 | 1 | -0/+2 |
| | | | | | | | | Python examples. | ||||
| * | Some more tweaking for compilation of py_tdbpack. | Tim Potter | 2002-12-11 | 2 | -2/+2 |
| | | |||||
| * | FUNCTION_MACRO change broke the Python modules. | Tim Potter | 2002-12-04 | 2 | -8/+18 |
| | | | | | | | | Also fix up string pasting (I thought this should only be a warning?) | ||||
| * | use FILE_MACRO instead of __FILE__ | Herb Lewis | 2002-12-03 | 1 | -6/+6 |
| | | | | | | | | use FUNCTION_MACRO instead of __FUNCTION_ | ||||
| * | Fixed silly bug. | Tim Potter | 2002-11-29 | 1 | -1/+1 |
| | | |||||
| * | Fix comment - 850 -> iso8859-1 | Jeremy Allison | 2002-11-27 | 1 | -1/+1 |
| | | | | | | | | Jeremy. | ||||
| * | Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding. | Jeremy Allison | 2002-11-27 | 1 | -10/+0 |
| | | | | | | | | Jeremy. | ||||
| * | Fix some argument checking bugs found by testsuite. | Tim Potter | 2002-11-25 | 1 | -16/+22 |
| | | |||||
| * | Added some extra code to test absence/presence of LM and NT passwords. | Tim Potter | 2002-11-22 | 1 | -8/+17 |
| | | |||||
| * | Fixed some compiler warnings. | Tim Potter | 2002-11-22 | 2 | -5/+6 |
| | | |||||
| * | Fixed some globals that escaped the recent globalcide. | Tim Potter | 2002-11-22 | 2 | -10/+2 |
| | |