Jelmer Vernooij
1feab85be6
Rename samba-socket -> samba_socket to fix a couple more compiler
...
warnings.
2008-12-24 00:15:43 +01:00
Jelmer Vernooij
30bdb68c9e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 23:26:32 +01:00
Jelmer Vernooij
e94e7f8279
s4: Fix make clean to remove gen_ndr objects.
2008-12-23 23:24:12 +01:00
Jelmer Vernooij
dcc4081f75
Fix more compiler warnings.
2008-12-23 23:22:57 +01:00
Jelmer Vernooij
8df6af213a
Use 32-bit smbpid in interface as required by SMB2, in line with
...
1bdd08227e
.
2008-12-23 23:02:54 +01:00
Jelmer Vernooij
bd64688c6a
Fix more compiler warnings in various places.
2008-12-23 22:57:11 +01:00
Jelmer Vernooij
32e03f9fa5
Install tevent_internal.h, as Samba 4 needs it.
2008-12-23 22:57:00 +01:00
Jelmer Vernooij
5c75b65ca1
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 22:12:23 +01:00
Jelmer Vernooij
ff26cb4b1c
Fix compiler warnings in libnet.
2008-12-23 22:11:21 +01:00
Jelmer Vernooij
ef80d1b794
Fix use of "time offset" parameter, and add test to make sure I don't break it again :-)
2008-12-23 22:10:34 +01:00
Jeremy Allison
d0eeb9aa8d
Fix more asprintf warnings and some error path errors.
...
Jeremy.
2008-12-23 12:11:12 -08:00
Jeremy Allison
1966a947d3
More asprintf warning fixes.
...
Jeremy.
2008-12-23 11:56:48 -08:00
Jeremy Allison
94df767f21
More asprintf warning fixes.
...
Jeremy.
2008-12-23 11:45:26 -08:00
Jeremy Allison
b143938b8a
Fix more asprintf errors and error code paths.
...
Jeremy.
2008-12-23 11:27:19 -08:00
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