1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Commit Graph

321 Commits

Author SHA1 Message Date
Tim Potter
68075fb97f Merge create/delete domain user samr calls from HEAD. -
Tim Potter
0308a0a112 Merge of compiler warning fixups. -
Tim Potter
68b4052281 Merge of removal of py_samba.c -
Tim Potter
fc0b2fcf97 Merge of #ifdef'ed out auth_smbd wrapper. -
Tim Potter
c759392968 Merge of added locking functions from HEAD. -
Tim Potter
3026a5ef15 Merge of some commentary for getprinter info levels supported by win2k+ -
Tim Potter
55ee43cfb8 Merge: fix compiler warning. -
Martin Pool
fa500c77e3 (Merge from APPLIANCE_HEAD)
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.)
-
Tim Potter
dbea592877 Merge of cleanups and srvsvc implementation from HEAD. -
Martin Pool
606bb47f24 Check return code of string_to_sid. (Merge from HEAD) -
cvs2svn Import User
c31455779d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Tim Potter
0659351b25 Cleanup of header files for python extensions.
- 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
-
Martin Pool
fe449328b2 Check return code from string_to_sid. -
Tim Potter
8e0d781995 Added SRVSVC pipe support. I've started implementing NetServerGetInfo() -
Andrew Tridgell
e3d00fa47d reverted this patch till I sort out the craziness with UNIHDR -
Andrew Tridgell
b9eff31b14 This removes the 3rd argument from init_unistr2(). There were 240
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.
-
Tim Potter
225182a3a3 Sync up compiler warning fixes. -
Tim Potter
232116d2db Rename a local variable to avoid a warning. -
Jeremy Allison
aa8439a49e Finish adding strings to all talloc_init() calls.
Jeremy.
-
Jeremy Allison
784d15761c Finish adding strings to all talloc_init() calls.
Jeremy.
-
Tim Potter
36091157b2 Merge from HEAD:
>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.
-
cvs2svn Import User
bdb5206b45 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Martin Pool
1e63dc101a 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.
-
Martin Pool
3bb4bd3ed6 * Ignore .pyc and .pyo files produced as a side-effect of running
Python examples.
-
Tim Potter
b50816b500 Merge of compile tweaks for python tdbpack module. -
Tim Potter
89be695b29 Some more tweaking for compilation of py_tdbpack. -
Tim Potter
5bd90f310a Merge from HEAD:
>FUNCTION_MACRO change broke the Python modules.
>
>Also fix up string pasting (I thought this should only be a warning?)
-
Tim Potter
739285ff69 FUNCTION_MACRO change broke the Python modules.
Also fix up string pasting (I thought this should only be a warning?)
-
Herb Lewis
243763d6eb use FILE_MACRO instead of __FILE__
use FUNCTION_MACRO instead of __FUNCTION_
-
Tim Potter
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
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
-
Tim Potter
191c1596f5 Fixed silly bug. -
Tim Potter
880083e2e6 Another global_myname() fix from HEAD. -
Tim Potter
89a2ee7e72 Merge from HEAD:
>Added some extra code to test absence/presence of LM and NT passwords.
-
Tim Potter
5ea2edaadd Merge of argument check fixes from HEAD. -
Tim Potter
7adb6af115 Merge of global_myname() fixes from HEAD. -
Tim Potter
80e61a7546 Merge of compiler warning fixes from HEAD. -
Jeremy Allison
537cd78268 Change default codepage to UNIX.
Jeremy.
-
Jeremy Allison
6639693746 Fix comment - 850 -> iso8859-1
Jeremy.
-
Jeremy Allison
e88bbec2a0 Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
Jeremy.
-
Tim Potter
93306f581e Fix some argument checking bugs found by testsuite. -
Tim Potter
6f1d48555f Added some extra code to test absence/presence of LM and NT passwords. -
Tim Potter
9e871cc256 Fixed some compiler warnings. -
Tim Potter
4580e16908 Fixed some globals that escaped the recent globalcide. -
Martin Pool
ff1244c457 Add support for new 'F' format, which is a string in the default
codepage.
-
Tim Potter
dcef3ae5ca Merge from HEAD:
>Fix typo in docstring.

>Remove non-integer Pointer values, which are no longer supported.
-
Tim Potter
de26084f0d Merge from HEAD:
>Rename unpack_* functions to be consistent
>
>Decode CP850 strings when unpacking
>
>Add variable giving default encoding name
-
Tim Potter
9f9347bc03 Fix typo in docstring. -
Martin Pool
8cbaea2afa Rename unpack_* functions to be consistent
Decode CP850 strings when unpacking

Add variable giving default encoding name
-
Martin Pool
e62baf3a76 Rename pytdbpack_unpack -> pytdbunpack -
Martin Pool
7863c948b7 Just reorder functions to put related ones together -