1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

6549 Commits

Author SHA1 Message Date
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
Tim Potter
96f308481f r10443: Fix emitter for NdrMarshaller tool.
(This used to be commit 76341196b59fe6084dd7c4e1c5d9ef8f2a7e362d)
2007-10-10 13:38:46 -05:00
Tim Potter
c715f7256a r10442: Build librpc/libndr_misc.a from librpc/idl/misc.idl. Doesn't quite work
yet as scons somehow thinks it needs to put a directory called ndr_idl
in the command line.
(This used to be commit e4a54a4c49b958b56dc7822c800a3f5ff7eb0b60)
2007-10-10 13:38:46 -05:00
Andrew Bartlett
7cf1f5768c r10440: Start passing against Win2k3 SP1 again, with the NTLMv2 changes
described on the list.  I probably need to write more specific NTLMv2
sucess and failure mode tests.

Andrew Bartlett
(This used to be commit c4d608734a98277b1f761142eb3f89086b539847)
2007-10-10 13:38:46 -05:00
Jelmer Vernooij
f3b412fbd6 r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.

Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10 13:38:45 -05:00
Tim Potter
92d74c3408 r10436: Some thoughts on getting pidl working in scons.
(This used to be commit f1688a8066cd787aa630714ffc161eb0f30414f1)
2007-10-10 13:38:45 -05:00
Stefan Metzmacher
f59d435127 r10435: fill in the reference to the generic wbsrv_call in the wbsrv_samba3_call,
so that async function can use it.

metze
(This used to be commit 72302b5d3dc3657caf885d40696495b6c8aabefb)
2007-10-10 13:38:45 -05:00
Stefan Metzmacher
fdeff0fa50 r10434: add a short path to the event context that should be used for async replies
metze
(This used to be commit cc9579d08567ec38adf0617901669fb3bb91e489)
2007-10-10 13:38:45 -05:00
Stefan Metzmacher
bcf0615be5 r10426: - restructure the winbind server code a bit
- remove the echo test stuff
- abstract out the used protocol
- we have a seperate handler for the samba3 protocol now
- the backend can easy do async replies
  by setting WBSRV_CALL_FLAGS_REPLY_ASYNC in wbsrv_call
  and then call wbsrv_queue_reply() later

metze
(This used to be commit 32f3e68a569e9273b8d34fbd797c0a28494e5b6d)
2007-10-10 13:38:44 -05:00
Andrew Tridgell
86df9ca15a r10424: for caller convenience, automatically turn a tdb_traverse() into a
tdb_traverse_read() for read only databases
(This used to be commit 9b53e04377d2ff652c4a9496798d2e3aa0dccab3)
2007-10-10 13:38:44 -05:00