1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

6359 Commits

Author SHA1 Message Date
Tim Potter
0d46be147a r10500: More progress to getting ldb tools building. Create a list of ldb modules
to link in.  There's still a whole lot of random other junk (dcerpc, gensec,
ndr stuff, lp_foo - what a mess).
(This used to be commit b78cf1270bd7eda1aa84d238136a83e64ff3c088)
2007-10-10 13:38:57 -05:00
Tim Potter
f51e98212f r10499: Export cli_ldap library.
(This used to be commit 3c9c3a52e3999f15df747bbd69479896bbec3a6b)
2007-10-10 13:38:56 -05:00
Tim Potter
230e60c204 r10498: Detect some more networking headers.
Hardcode value of RETSIGTYPE for now.

Diddle with order of including SConscript files to make ldb happier.
(This used to be commit 256f8f7a3846c8d069dd972c8623113d02a1f474)
2007-10-10 13:38:56 -05:00
Tim Potter
6b73c29bb7 r10497: Export the list of dsdb ldb modules.
(This used to be commit e88f5f423fcb2d603508f1529fce5738d03cc41b)
2007-10-10 13:38:56 -05:00
Andrew Tridgell
3545e513f5 r10496: - added configure test for sys/time.h
- print length of failed locks
(This used to be commit 11739ad31d7b3e1cf94ebf395608647e341257c4)
2007-10-10 13:38:56 -05:00
Andrew Tridgell
f2e9db908a r10495: older redhat boxes need sys/time.h for select()
(This used to be commit a11762e7bc139b0280e457e682722d955b81d8e5)
2007-10-10 13:38:56 -05:00
Andrew Tridgell
10de5cc72d r10494: - don't generate a tdb log message for any type of failed lock probe
- if the lock upgrade loop ever fails then log a warning
(This used to be commit 1b03c4e6c7e89452a835ef5ff39c07f58b715a22)
2007-10-10 13:38:55 -05:00
Andrew Tridgell
66ad3ab652 r10493: we need sys/select.h to enable select() in the solaris workaround
(This used to be commit 144cc3da5eadf0dcb28ef722feeed813c033e08a)
2007-10-10 13:38:55 -05:00
Andrew Tridgell
be27946d84 r10492: work around a bug in solaris which cases lock upgrades to fail with
EDEADLK even when progress can be made. This is not a good solution,
but I can't find anything better.
(This used to be commit 980dd17f7d0a622cd772afc9ba15e50007ad9c6e)
2007-10-10 13:38:55 -05:00
Volker Lendecke
9593101ec1 r10491: First step towards wbinfo -t: This issues a name request for the primary
domain and gets the DC's name via a mailslot call.

Metze, I renamed wbsrv_queue_reply to wbsrv_send_reply in accordance with
irpc_send_reply. Having _queue_ here and _send_ there is a bit confusing. And
as everything is async anyway, the semantics should not be too much of a
problem.

Volker
(This used to be commit 4637964b19c6e9f7d201b287e2d409d029fced01)
2007-10-10 13:38:54 -05:00
Andrew Tridgell
06085e7bc0 r10490: - allow deferred irpc replies to set the status
- add an example of deferred reply for echodata in LOCAL-IRPC
(This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10 13:38:54 -05:00
Andrew Tridgell
87f71eb8ad r10489: added the ability for irpc server to defer replies instead of replying
immediately. They set m->defer_reply = True;
(This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
2007-10-10 13:38:54 -05:00
Andrew Bartlett
6c85fa066c r10488: (Missing file from previous commit, adding a new RPC-JOIN test)
This is a merge of Brad Henry's 'net join' rework, to better perform
an ADS join, particularly as a DC.  This represents the bulk of his
Google SOC work, and I'm very pleased to intergrate it into the tree.
(Metze will intergrate the DRSUAPI work later).

Both metze and myself have also put a lot of time into this patch, and
in mentoring Brad in general.  In return, Brad has been a very good
student, and has taken the comments well.

Since it's last appearance on samba-technical@, I have made
correctness and valgrind fixups, as well as adding a new 'BINDING'
mode to the libnet_rpc routines.  This allows the exact binding string
to be passed down from the torture code, including options and exact
target host.
(This used to be commit ab20533e7db9e64c8fb5e7f971ab5d3a040e00ab)
2007-10-10 13:38:54 -05:00
Jelmer Vernooij
1faf4e331e r10487: Some small updates to the manpage.
(This used to be commit b9adbb5eb2687c1778234c18f95f59c8d7e4f875)
2007-10-10 13:38:54 -05:00
Andrew Bartlett
5a522b3100 r10486: This is a merge of Brad Henry's 'net join' rework, to better perform
an ADS join, particularly as a DC.  This represents the bulk of his
Google SOC work, and I'm very pleased to intergrate it into the tree.
(Metze will intergrate the DRSUAPI work later).

Both metze and myself have also put a lot of time into this patch, and
in mentoring Brad in general.  In return, Brad has been a very good
student, and has taken the comments well.

Since it's last appearance on samba-technical@, I have made
correctness and valgrind fixups, as well as adding a new 'BINDING'
mode to the libnet_rpc routines.  This allows the exact binding string
to be passed down from the torture code, including options and exact
target host.

Andrew Bartlett
(This used to be commit d6fa105fdabbeb83a9b0e50dad49d1649afdb2a4)
2007-10-10 13:38:53 -05:00
Andrew Tridgell
2fe7c3a34a r10485: run autoheader before autoconf
(This used to be commit 9456ed3db3b28e4a467e8685f2f1285cf57ce14b)
2007-10-10 13:38:53 -05:00
Andrew Tridgell
ea801d6520 r10484: try to fix the pread/pwrite declaration problems
(This used to be commit 196995ea38414ce5a57031c4cdf61b3ed548196a)
2007-10-10 13:38:53 -05:00
Andrew Tridgell
6e99b959de r10483: fixed some uninitialised variables warnings
(This used to be commit 315653cf1ecc11c435ee35b20e6cf9c73a67fa68)
2007-10-10 13:38:53 -05:00
Tim Potter
b0de111292 r10482: Add files to proto_files enough to build libcli and librpc directories.
(This used to be commit 4a03773c99f81d706307d69cb14af731dc8a8783)
2007-10-10 13:38:53 -05:00
Tim Potter
da373e23da r10481: #define _GNU_SOURCE for comparison_fn_t test.
(This used to be commit 992016e0a975fb1699f71b769746bd04f7bbfebc)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
a6b1c74cc7 r10480: Fix build for people that don't have pidl installed
(This used to be commit 4cf25c8312b7da0cde0d618e7d386938e1d0adba)
2007-10-10 13:38:52 -05:00
Volker Lendecke
cb6a4b280f r10479: Apply some const
(This used to be commit 3e10e8e6618c568f7f55348d829b433e10df472b)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
3d4ea18d4d r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h
(This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10 13:38:52 -05:00
Simo Sorce
63b43dd12f r10477: expose transactions outside ldb and change the API once more
do not autostart transactions on ldb operations if a transaction is already in place
test transactions on winsdb

all my tests passes so far
tridge please confirm this is ok for you
(This used to be commit c2bb2a36bdbe0ec7519697a9a9ba7526a0defac2)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
70b52b02a7 r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
(This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10 13:38:51 -05:00
Andrew Tridgell
2a9b65cd17 r10475: make sure we report failures in tdbtorture (ie. get the exit status right)
(This used to be commit a795fc0aa141c08af6e37af07c88164bad3db35b)
2007-10-10 13:38:51 -05:00
Volker Lendecke
ebf0779608 r10472: Check for strndup
(This used to be commit 8335aa056fd8a414feaffa707dc0bc20ac27388f)
2007-10-10 13:38:51 -05:00
Andrew Tridgell
60a455dd44 r10471: stratos doesn't have getpagesize(), so guess 8k on systems that don't
have it. Overestimating is harmless.
(This used to be commit ab953c8c72060c496876b6f39d388ad2f7e3c7e0)
2007-10-10 13:38:51 -05:00
Andrew Tridgell
c72afc39f0 r10470: solaris8 has a problem with tdbtorture with 3 processes. To see if
this is just a solaris issue this patch changes the default to 3, and
I'll see how many build farm boxes break
(This used to be commit c85836bafc9c042deac2a02ef6fddbfeaa5f47f1)
2007-10-10 13:38:51 -05:00
Andrew Tridgell
ddf733fc58 r10469: use the older style of structure initialisation for tdb to make it
more portable. tdb is used in more than just Samba4, and I think the
portability/readability balance is a bit different
(This used to be commit fc692dc61f06d61cb9126d2a8ccc240cecd11da6)
2007-10-10 13:38:50 -05:00
Andrew Tridgell
3bcfc68e0d r10468: - terminate tdbtorture quickly when an error is detected
- more workarounds for aix not handling malloc of size 0
(This used to be commit c2b1739c6389503854f55fa8407c55071781eff4)
2007-10-10 13:38:50 -05:00
Andrew Tridgell
6e4ebbed89 r10467: aix doesn't like zero length malloc :(
(This used to be commit 0177c6ca3e9baa223b5f7b29adc12d862dcb19d8)
2007-10-10 13:38:50 -05:00
Andrew Tridgell
d98b913aa9 r10466: work around missing pread/pwrite declaration on openbsd
(This used to be commit e615f36733966f9992670e3650fbe9b20d7d218c)
2007-10-10 13:38:49 -05:00
Andrew Tridgell
5860aef9cd r10465: separate out a read_only db from a read-only traversal to ensure we
don't end up doing a mmap read only
(This used to be commit 294ccfd46a0c4e1af9365d028acdabec03c41ad3)
2007-10-10 13:38:49 -05:00
Andrew Bartlett
5a770bf720 r10464: Use more consistant names.
Andrew Bartlett
(This used to be commit 1f726906c488355733dc1a3a89c53e194c192e68)
2007-10-10 13:38:49 -05:00
Andrew Tridgell
fbc2dbbb41 r10463: consider it an error if tdbtorture produces any log messages
(This used to be commit d9ee0e8b59ee52ed1e41865cffe97e32b504e7e7)
2007-10-10 13:38:49 -05:00
Andrew Tridgell
36cfc9c4ac r10462: cope better with compilers that don't put the object file in the same directory
as the source
(This used to be commit 312491b2511039f3d6308e70c849810c35a3259c)
2007-10-10 13:38:49 -05:00
Andrew Tridgell
5540712156 r10461: fixed tdb build on systems without stdint.h
(This used to be commit 83168c7e76c7e3adcdb0eec1611827d4db09f858)
2007-10-10 13:38:48 -05:00
Andrew Tridgell
c0e6586405 r10460: fixed portability of transaction code to systems with integer
alignment constraints (like sparc)
(This used to be commit bce35ad237a55376b6af98416eec92a7c4b422a6)
2007-10-10 13:38:48 -05:00
Andrew Tridgell
036b27c8e4 r10459: fixed some portability problems
(This used to be commit 03942dd54b31e7a4cf9c6270b26ccf68a3234b40)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
4be0ae794e r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
da46c9252e r10453: Fix the build
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b85f7857dc r10452: Couple of small scons updates - ignore .sconsign files
(This used to be commit b2d2b4f23393c727ae3feeaf4b4b65bc03a673f7)
2007-10-10 13:38:47 -05:00
Jelmer Vernooij
1e744a5108 r10450: Use exit code 1 in case of fatal errors
(This used to be commit 88ece24a4400cabef95fd1eb4ca14b7df085b529)
2007-10-10 13:38:47 -05:00
Stefan Metzmacher
aba4d018b4 r10449: remove double copyright header
metze
(This used to be commit f6bd76fa154de6ed7f7ef3257be9572f13f3ec48)
2007-10-10 13:38:47 -05:00
Tim Potter
41c393e5f4 r10448: Add librpc SConscript file to build.
(This used to be commit cc45b27034c72c20a7a17d957cf0615041d59308)
2007-10-10 13:38:47 -05:00
Tim Potter
52bf6f52a1 r10447: Add gensec sources to proto.h
(This used to be commit 1b675a1bdfa7e50e1b418ae41479f1bebc445064)
2007-10-10 13:38:47 -05:00
Tim Potter
88b74af1d8 r10446: Add ndr_base and rpc_base sources to proto.h
Generate NDR mashalling code for all idl files (why isn't this automatically by the scanner when it finds librpc/gen_ndr/{misc,dcerpc,orpc}.h in includes.h?)
(This used to be commit 01eb22b9dac4f7d06c7e760ce5f1f4b4049e41c9)
2007-10-10 13:38:46 -05:00
Tim Potter
dc56baecfb r10445: Add --header to pidl flags.
(This used to be commit 435c5bce00c069751aa59a09d7cae9c1cfbd724b)
2007-10-10 13:38:46 -05:00
Tim Potter
7906d768cc r10444: Add LIBBASIC files to proto.h
(This used to be commit 1c3748421f53f4a4e61865e1de95c53dc75d5cee)
2007-10-10 13:38:46 -05:00