Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | some more idmapping :) | Simo Sorce | 2003-04-05 | 1 | -2/+2 |
| | |||||
* | Started working on python routines to add and delete domain users. | Tim Potter | 2003-03-24 | 4 | -146/+404 |
| | | | | | | Unfortunately users get created with the ACB mask set to disabled and must change password. The set_user_info2 call required to fix this doesn't quite work yet... | ||||
* | GCC 3.x has deprecated multi-line string constants. | Tim Potter | 2003-03-19 | 5 | -307/+304 |
| | |||||
* | Fix compiler warning. | Tim Potter | 2003-03-19 | 2 | -3/+8 |
| | |||||
* | Removed unused variable. | Tim Potter | 2003-03-19 | 1 | -2/+0 |
| | |||||
* | Add function prototype. | Tim Potter | 2003-03-19 | 1 | -0/+4 |
| | |||||
* | Remove py_samba.c experiment - it didn't work. | Tim Potter | 2003-03-19 | 2 | -68/+1 |
| | |||||
* | Added #ifdef'ed out implementation of auth_smbd python fn. Uncomment | Tim Potter | 2003-03-18 | 1 | -1/+71 |
| | | | | when auth_smbd functionality merged to HEAD. | ||||
* | Added chainlock, chainunlock, lock_bystring and unlock_bystring methods. | Tim Potter | 2003-03-13 | 1 | -1/+81 |
| | |||||
* | Quieten compiler warning. | Tim Potter | 2003-02-24 | 1 | -0/+7 |
| | |||||
* | Doc | Martin Pool | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | (Merge from APPLIANCE_HEAD) | Martin Pool | 2003-02-20 | 1 | -0/+3 |
| | | | | | | | 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.) | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | Add support for new 'F' format, which is a string in the default | Martin Pool | 2002-11-22 | 1 | -34/+64 |
| | | | | codepage. | ||||
* | Fix typo in docstring. | Tim Potter | 2002-11-19 | 1 | -1/+1 |
| | |||||
* | Rename unpack_* functions to be consistent | Martin Pool | 2002-11-12 | 1 | -15/+16 |
| | | | | | | Decode CP850 strings when unpacking Add variable giving default encoding name | ||||
* | Rename pytdbpack_unpack -> pytdbunpack | Martin Pool | 2002-11-12 | 1 | -7/+7 |
| | |||||
* | Just reorder functions to put related ones together | Martin Pool | 2002-11-12 | 1 | -40/+38 |
| | |||||
* | Remove dead code for packing buffers which has now been reimplemented. | Martin Pool | 2002-11-12 | 1 | -94/+0 |
| | |||||
* | Remove dead code for packing buffers which has now been reimplemented. | Martin Pool | 2002-11-12 | 1 | -36/+0 |
| | |||||
* | Remove non-integer Pointer values, which are no longer supported. | Martin Pool | 2002-11-12 | 1 | -2/+0 |
| | |||||
* | Rewrite all the packing stuff so that it converts 'f' strings to CP850 | Martin Pool | 2002-11-09 | 1 | -174/+274 |
| | | | | | | | | on encoding. (Tough luck if your Samba codepage is not 850.) It's much cleaner and possibly more efficient now too: just build one big list of strings, then zip it up at the end. Still need to do this for unpacking. | ||||
* | Added enumprinterkey function. | Tim Potter | 2002-11-06 | 3 | -0/+72 |
| | | | | Stub for deleteprinterkey. | ||||
* | Moved function to parse a list of unicode strings into util file. | Tim Potter | 2002-11-06 | 2 | -26/+26 |
| | | | | | It's now used in parsing printer driver structures and the response from the enumprinterkey rpc. | ||||
* | pytdbpack_unpack: Clean up, and correct the handling of '$'. | Martin Pool | 2002-11-06 | 1 | -20/+18 |
| | |||||
* | Add another test case for repeated-unpack ('$') | Martin Pool | 2002-11-06 | 1 | -0/+9 |
| | |||||
* | pytdbpack_pack_data: Allow first argument to be any kind of Number, | Martin Pool | 2002-11-05 | 1 | -3/+9 |
| | | | | not just an Integer. Coerce appropriately. | ||||
* | pytdbpack_pack_data: If the first argument to a 'B' code is not an | Martin Pool | 2002-11-05 | 1 | -1/+3 |
| | | | | | Integer, raise an error rather than just returning Null, which breaks the interpreter. | ||||
* | pytdbpack_pack_data: Oops, since B is separately encoded as buffer and | Martin Pool | 2002-11-05 | 1 | -5/+8 |
| | | | | | length we need separate counters traversing the format and value sequences to pack them. | ||||
* | Update test cases. | Martin Pool | 2002-11-05 | 1 | -28/+32 |
| | |||||
* | pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form list | Martin Pool | 2002-11-05 | 1 | -21/+45 |
| | | | | by appending, rather than preallocating. | ||||
* | Add more test cases that now work. | Martin Pool | 2002-11-04 | 1 | -1/+2 |
| |