1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

50158 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
7c6a20a439 Add missing includes, required for use of gensec by 3rd-party
applications.
2008-12-23 20:17:59 +01:00
Jelmer Vernooij
31dc07ee28 pytevent: Add missing file. 2008-12-23 20:13:17 +01:00
Jelmer Vernooij
8b24da201b Allow using external libtevent. 2008-12-23 19:59:57 +01:00
Jelmer Vernooij
22703bf3ff standalone: Use more variables, preparing to include these files from main
Samba 4 makefile.
2008-12-23 19:44:11 +01:00
Jeremy Allison
7e1f0e272c Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-12-23 10:43:02 -08:00
Jeremy Allison
aa4abac6b7 Fix more ‘asprintf’, declared with attribute warn_unused_result.
Jeremy.
2008-12-23 10:42:25 -08:00
Jelmer Vernooij
5dce4148a3 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-23 19:30:16 +01:00
Jelmer Vernooij
465f78021e Move Samba4-specific file out of common libtevent. 2008-12-23 19:28:22 +01:00
Jeremy Allison
7fd114bab7 Fix more "warning: ignoring return value of ‘asprintf’, declared with
attribute warn_unused_result"
Jeremy.
2008-12-23 10:27:24 -08:00
Jeremy Allison
cb7d7beb99 Fix another "format not a string literal and no format arguments" warning.
Jeremy
2008-12-23 09:50:10 -08:00
Jelmer Vernooij
227c8000df Fix silly typo. 2008-12-23 12:14:25 +01:00
Jelmer Vernooij
4bbd2cbab7 pyldb: Provide replacement for sizeargfunc, not available before Python2.5. 2008-12-23 11:48:14 +01:00
Jelmer Vernooij
00b61ff2cf samba.tests.samdb: Fix test after merger of samba.security and
samba.dcerpc.security
2008-12-23 11:44:10 +01:00
Jelmer Vernooij
58cfb1a9e1 python: Define Py_ssize_t if the Python library doesn't. 2008-12-23 11:26:31 +01:00
Tim Prouty
4d02bbbfb4 s3: Fix stream marshalling to return the correct streaminfo status
When there are enough streams on a file to fill up the max_data_count
when responding to a trans2 streaminfo, samba is returning
NT_STATUS_BUFFER_TOO_SMALL.  Windows handles this by returning
NT_STATUS_BUFFER_OVERFLOW while still sending as much of the data that
it can fit into the buffer.  When the windows client sees
BUFFER_OVERFLOW, it retries the streaminfo with a larger buffer (2x).
The windows client starts at 2K and will continue increasing the
buffer size by two until it reaches 64K.  If the streams don't fit in
64K the windows client seems to give up.

This patch fixes marshall_stream_info to overfill the buffer by 1
stream so that send_trans2_replies can properly detect the overflow
and return the correct status.
2008-12-23 00:28:00 -08:00
Jelmer Vernooij
8ce77a57cc pyldb: Fix segfault because of incorrect reference counting. 2008-12-23 05:36:27 +01:00
Jelmer Vernooij
112feeaa35 pyldb: Avoid use of pytalloc, as it may not be available. 2008-12-23 05:36:27 +01:00
Jeremy Allison
aaea68791c In gcc version 4.3.2 we get warnings for functions declared with
attribute warn_unused_result. Start to fix these.
Jeremy.
2008-12-22 20:08:14 -08:00
Jelmer Vernooij
a7f64ba2f1 ldb: Include tevent.h rather than events.h. 2008-12-23 04:21:35 +01:00
Jelmer Vernooij
bbc95fb1a8 ldb: Fix linking against tevent library (rather than events)
replace: Fix copyright for dlfcn.c.
2008-12-23 04:18:31 +01:00
Jelmer Vernooij
86cee0b28c pytalloc: Add some comments, use talloc object location in repr rather
than python object location.
2008-12-23 04:06:21 +01:00
Jelmer Vernooij
998d588192 python/tevent: Remove use of pytalloc.h. 2008-12-23 03:25:51 +01:00
Jelmer Vernooij
619f320183 pidl: Fix typelist test after addition of type origin tracking. 2008-12-23 03:17:01 +01:00
Jelmer Vernooij
13feda897a Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-23 02:06:05 +01:00
Jelmer Vernooij
b2f59ac4ce merged build: Remove shared-build related variables, as they are already set up correctly by the main configure. 2008-12-23 02:04:50 +01:00
Jelmer Vernooij
8ada273700 Use make variable for Samba 4 shared library output directory. 2008-12-23 01:53:38 +01:00
Jelmer Vernooij
e6d5552250 Fix prefixing swig library directory with prefix. 2008-12-23 01:40:08 +01:00
Jelmer Vernooij
d26cde4da6 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-23 01:03:49 +01:00
Jelmer Vernooij
07bdb454e2 Use relative paths for Python modules. Seems to workaround a strange bug in
GNU make.
2008-12-23 00:59:39 +01:00
Tim Prouty
50feca550e s4: Fix a getaddrinfo/EAI_NODATA portability issue
FreeBSD has explicitly deprecated EAI_NODATA as a return value from
getaddrinfo by removing it from netdb.h.  On systems that don't have
EAI_NODATA, EAI_NONAME should be used instead.
2008-12-22 15:15:16 -08:00
Jelmer Vernooij
e9deb75759 Fix installation of standalone tevent Python module. 2008-12-22 23:55:01 +01:00
Jelmer Vernooij
6704c27a78 Fix standalone build of tdb python module, update ignores for standalone tdb. 2008-12-22 23:39:30 +01:00
Jelmer Vernooij
c2872a6ba5 Force symbolic links for shared library sonames to be created,
as they are required at run-time.
2008-12-22 23:36:48 +01:00
Jelmer Vernooij
b86b2ce662 Fix two remaining missing symbols in smbtorture4. 2008-12-22 23:00:10 +01:00
Jelmer Vernooij
4b2bdfec78 Fix build of the Python bindings now that SWIG is gone. 2008-12-22 22:08:01 +01:00
Jelmer Vernooij
99e637175c Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-22 21:15:59 +01:00
Jelmer Vernooij
c023828962 Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
Jeremy Allison
f1389a3950 Make it clearer when RAW-STREAMS is failing (don't always print names).
Jeremy.
2008-12-22 11:58:38 -08:00
Gerald (Jerry) Carter
5aadfe29f0 Fix "allow trusted domain" so it disables trusted domains. 2008-12-22 11:07:29 -08:00
Jelmer Vernooij
b682b0feb0 Fix function name in error message when failing to load module. 2008-12-22 19:17:13 +01:00
Jelmer Vernooij
07f296b03d Set right LD_LIBRARY_PATH for finding Samba4's libraries. 2008-12-22 19:13:28 +01:00
Jelmer Vernooij
199bcbe8ae Build samba 4 plugins in merged build. 2008-12-22 19:06:17 +01:00
Jelmer Vernooij
928fd47c3d s4: Fix subsystem for various services in samba daemon. 2008-12-22 19:04:55 +01:00
Jelmer Vernooij
91f245ab5b Fix segfault when there are no tests registered. 2008-12-22 18:53:19 +01:00
Jelmer Vernooij
f0dbc9865f merged build: Build Samba 4 using shared libraries internally, when
we're also doing so for Samba 3. This saves a significant amount of disk
space.
2008-12-22 18:14:59 +01:00
Jelmer Vernooij
05adbbc8c9 s4: Always link in auth, as some of the core infrastructure depends on it. 2008-12-22 18:12:22 +01:00
Jelmer Vernooij
50b0c5325e Never build tevent modules as shared objects. 2008-12-22 17:56:28 +01:00
Jelmer Vernooij
29dd98be09 Remove unused Samba4-specific init functions for libtevent. 2008-12-22 17:43:46 +01:00
Jelmer Vernooij
8475d18641 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-22 16:33:06 +01:00
Jelmer Vernooij
a071290606 merged build: Remove SWIG checks, set flags for shared Samba 4 build. 2008-12-22 16:30:53 +01:00