jelmer/samba4-debian.git
16 years agor10516: Add seperator argument to str_list_{make,join}_shell()
Jelmer Vernooij [Mon, 26 Sep 2005 18:16:23 +0000 (18:16 +0000)]
r10516: Add seperator argument to str_list_{make,join}_shell()

16 years agor10515: Handle replacement of "domain logons" and "domain master" by "server role"
Jelmer Vernooij [Mon, 26 Sep 2005 18:15:24 +0000 (18:15 +0000)]
r10515: Handle replacement of "domain logons" and "domain master" by "server role"

16 years agor10514: Add str_list_make_shell() and str_list_join_shell()
Jelmer Vernooij [Mon, 26 Sep 2005 17:42:12 +0000 (17:42 +0000)]
r10514: Add str_list_make_shell() and str_list_join_shell()

16 years agor10513: Reduce some use of pstring. The main reason some parts of the code still
Jelmer Vernooij [Mon, 26 Sep 2005 16:57:08 +0000 (16:57 +0000)]
r10513: Reduce some use of pstring. The main reason some parts of the code still
use pstring is next_token() now.

16 years agor10510: Decrease the amount of data included by includes.h a bit
Jelmer Vernooij [Mon, 26 Sep 2005 15:59:43 +0000 (15:59 +0000)]
r10510: Decrease the amount of data included by includes.h a bit

16 years agor10509: Some more sconscript fixes. Now getting to link stage for smbclient
Jelmer Vernooij [Mon, 26 Sep 2005 15:15:50 +0000 (15:15 +0000)]
r10509: Some more sconscript fixes. Now getting to link stage for smbclient

16 years agor10508: - implement WINBINDD_NETBIOS_NAME, WINBINDD_DOMAIN_NAME and WINBINDD_INFO
Stefan Metzmacher [Mon, 26 Sep 2005 13:42:42 +0000 (13:42 +0000)]
r10508: - implement WINBINDD_NETBIOS_NAME, WINBINDD_DOMAIN_NAME and WINBINDD_INFO

is there a way to test this calls?

vl: please review this

metze

16 years agor10507: Let lib/replace take care of defining socklen_t for heimdal
Jelmer Vernooij [Mon, 26 Sep 2005 13:12:02 +0000 (13:12 +0000)]
r10507: Let lib/replace take care of defining socklen_t for heimdal

16 years agor10506: set return data correctly
Stefan Metzmacher [Mon, 26 Sep 2005 13:02:47 +0000 (13:02 +0000)]
r10506: set return data correctly

metze

16 years agor10504: - seperate implementation specific stuff, from the generic composite
Stefan Metzmacher [Mon, 26 Sep 2005 11:47:55 +0000 (11:47 +0000)]
r10504: - seperate implementation specific stuff, from the generic composite
  stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.

NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
      state in the _send() function. I haven't fixed this bugs in this
      commit! We may need some composite_trigger_*() functions or so.
      And maybe some other generic helper functions...

metze

16 years agor10500: More progress to getting ldb tools building. Create a list of ldb modules
Tim Potter [Mon, 26 Sep 2005 07:36:26 +0000 (07:36 +0000)]
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).

16 years agor10499: Export cli_ldap library.
Tim Potter [Mon, 26 Sep 2005 07:34:09 +0000 (07:34 +0000)]
r10499: Export cli_ldap library.

16 years agor10498: Detect some more networking headers.
Tim Potter [Mon, 26 Sep 2005 07:33:55 +0000 (07:33 +0000)]
r10498: Detect some more networking headers.

Hardcode value of RETSIGTYPE for now.

Diddle with order of including SConscript files to make ldb happier.

16 years agor10497: Export the list of dsdb ldb modules.
Tim Potter [Mon, 26 Sep 2005 07:32:14 +0000 (07:32 +0000)]
r10497: Export the list of dsdb ldb modules.

16 years agor10496: - added configure test for sys/time.h
Andrew Tridgell [Mon, 26 Sep 2005 02:03:06 +0000 (02:03 +0000)]
r10496: - added configure test for sys/time.h

- print length of failed locks

16 years agor10495: older redhat boxes need sys/time.h for select()
Andrew Tridgell [Mon, 26 Sep 2005 01:46:02 +0000 (01:46 +0000)]
r10495: older redhat boxes need sys/time.h for select()

16 years agor10494: - don't generate a tdb log message for any type of failed lock probe
Andrew Tridgell [Mon, 26 Sep 2005 01:37:46 +0000 (01:37 +0000)]
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

16 years agor10493: we need sys/select.h to enable select() in the solaris workaround
Andrew Tridgell [Mon, 26 Sep 2005 01:28:49 +0000 (01:28 +0000)]
r10493: we need sys/select.h to enable select() in the solaris workaround

16 years agor10492: work around a bug in solaris which cases lock upgrades to fail with
Andrew Tridgell [Mon, 26 Sep 2005 01:12:12 +0000 (01:12 +0000)]
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.

16 years agor10491: First step towards wbinfo -t: This issues a name request for the primary
Volker Lendecke [Sun, 25 Sep 2005 21:01:56 +0000 (21:01 +0000)]
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

16 years agor10490: - allow deferred irpc replies to set the status
Andrew Tridgell [Sun, 25 Sep 2005 13:17:03 +0000 (13:17 +0000)]
r10490: - allow deferred irpc replies to set the status

- add an example of deferred reply for echodata in LOCAL-IRPC

16 years agor10489: added the ability for irpc server to defer replies instead of replying
Andrew Tridgell [Sun, 25 Sep 2005 13:01:26 +0000 (13:01 +0000)]
r10489: added the ability for irpc server to defer replies instead of replying
immediately. They set m->defer_reply = True;

16 years agor10488: (Missing file from previous commit, adding a new RPC-JOIN test)
Andrew Bartlett [Sun, 25 Sep 2005 12:38:07 +0000 (12:38 +0000)]
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.

16 years agor10487: Some small updates to the manpage.
Jelmer Vernooij [Sun, 25 Sep 2005 12:27:36 +0000 (12:27 +0000)]
r10487: Some small updates to the manpage.

16 years agor10486: This is a merge of Brad Henry's 'net join' rework, to better perform
Andrew Bartlett [Sun, 25 Sep 2005 12:26:07 +0000 (12:26 +0000)]
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

16 years agor10485: run autoheader before autoconf
Andrew Tridgell [Sun, 25 Sep 2005 00:14:45 +0000 (00:14 +0000)]
r10485: run autoheader before autoconf

16 years agor10484: try to fix the pread/pwrite declaration problems
Andrew Tridgell [Sun, 25 Sep 2005 00:13:25 +0000 (00:13 +0000)]
r10484: try to fix the pread/pwrite declaration problems

16 years agor10483: fixed some uninitialised variables warnings
Andrew Tridgell [Sat, 24 Sep 2005 23:52:30 +0000 (23:52 +0000)]
r10483: fixed some uninitialised variables warnings

16 years agor10482: Add files to proto_files enough to build libcli and librpc directories.
Tim Potter [Sat, 24 Sep 2005 23:35:50 +0000 (23:35 +0000)]
r10482: Add files to proto_files enough to build libcli and librpc directories.

16 years agor10481: #define _GNU_SOURCE for comparison_fn_t test.
Tim Potter [Sat, 24 Sep 2005 22:58:18 +0000 (22:58 +0000)]
r10481: #define _GNU_SOURCE for comparison_fn_t test.

16 years agor10480: Fix build for people that don't have pidl installed
Jelmer Vernooij [Sat, 24 Sep 2005 22:37:54 +0000 (22:37 +0000)]
r10480: Fix build for people that don't have pidl installed

16 years agor10479: Apply some const
Volker Lendecke [Sat, 24 Sep 2005 17:49:33 +0000 (17:49 +0000)]
r10479: Apply some const

16 years agor10478: More work on proto headers; we now generate a couple of smaller ones
Jelmer Vernooij [Sat, 24 Sep 2005 16:23:41 +0000 (16:23 +0000)]
r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h

16 years agor10477: expose transactions outside ldb and change the API once more
Simo Sorce [Sat, 24 Sep 2005 15:42:15 +0000 (15:42 +0000)]
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

16 years agor10476: Move some more types to libreplace. Fix missing strndup errors
Jelmer Vernooij [Sat, 24 Sep 2005 14:58:18 +0000 (14:58 +0000)]
r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal

16 years agor10475: make sure we report failures in tdbtorture (ie. get the exit status right)
Andrew Tridgell [Sat, 24 Sep 2005 13:10:19 +0000 (13:10 +0000)]
r10475: make sure we report failures in tdbtorture (ie. get the exit status right)

16 years agor10472: Check for strndup
Volker Lendecke [Sat, 24 Sep 2005 08:24:55 +0000 (08:24 +0000)]
r10472: Check for strndup

16 years agor10471: stratos doesn't have getpagesize(), so guess 8k on systems that don't
Andrew Tridgell [Sat, 24 Sep 2005 07:30:20 +0000 (07:30 +0000)]
r10471: stratos doesn't have getpagesize(), so guess 8k on systems that don't
have it. Overestimating is harmless.

16 years agor10470: solaris8 has a problem with tdbtorture with 3 processes. To see if
Andrew Tridgell [Sat, 24 Sep 2005 07:07:22 +0000 (07:07 +0000)]
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

16 years agor10469: use the older style of structure initialisation for tdb to make it
Andrew Tridgell [Sat, 24 Sep 2005 06:53:24 +0000 (06:53 +0000)]
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

16 years agor10468: - terminate tdbtorture quickly when an error is detected
Andrew Tridgell [Sat, 24 Sep 2005 06:49:28 +0000 (06:49 +0000)]
r10468: - terminate tdbtorture quickly when an error is detected

- more workarounds for aix not handling malloc of size 0

16 years agor10467: aix doesn't like zero length malloc :(
Andrew Tridgell [Sat, 24 Sep 2005 05:02:02 +0000 (05:02 +0000)]
r10467: aix doesn't like zero length malloc :(

16 years agor10466: work around missing pread/pwrite declaration on openbsd
Andrew Tridgell [Sat, 24 Sep 2005 04:56:51 +0000 (04:56 +0000)]
r10466: work around missing pread/pwrite declaration on openbsd

16 years agor10465: separate out a read_only db from a read-only traversal to ensure we
Andrew Tridgell [Sat, 24 Sep 2005 03:43:02 +0000 (03:43 +0000)]
r10465: separate out a read_only db from a read-only traversal to ensure we
don't end up doing a mmap read only

16 years agor10464: Use more consistant names.
Andrew Bartlett [Sat, 24 Sep 2005 03:31:01 +0000 (03:31 +0000)]
r10464: Use more consistant names.

Andrew Bartlett

16 years agor10463: consider it an error if tdbtorture produces any log messages
Andrew Tridgell [Sat, 24 Sep 2005 03:29:50 +0000 (03:29 +0000)]
r10463: consider it an error if tdbtorture produces any log messages

16 years agor10462: cope better with compilers that don't put the object file in the same directory
Andrew Tridgell [Sat, 24 Sep 2005 03:28:10 +0000 (03:28 +0000)]
r10462: cope better with compilers that don't put the object file in the same directory
as the source

16 years agor10461: fixed tdb build on systems without stdint.h
Andrew Tridgell [Sat, 24 Sep 2005 02:39:09 +0000 (02:39 +0000)]
r10461: fixed tdb build on systems without stdint.h

16 years agor10460: fixed portability of transaction code to systems with integer
Andrew Tridgell [Sat, 24 Sep 2005 02:37:22 +0000 (02:37 +0000)]
r10460: fixed portability of transaction code to systems with integer
alignment constraints (like sparc)

16 years agor10459: fixed some portability problems
Andrew Tridgell [Sat, 24 Sep 2005 02:31:43 +0000 (02:31 +0000)]
r10459: fixed some portability problems

16 years agor10456: More SCons fixes:
Jelmer Vernooij [Fri, 23 Sep 2005 16:32:52 +0000 (16:32 +0000)]
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

16 years agor10453: Fix the build
Jelmer Vernooij [Fri, 23 Sep 2005 15:08:17 +0000 (15:08 +0000)]
r10453: Fix the build

16 years agor10452: Couple of small scons updates - ignore .sconsign files
Jelmer Vernooij [Fri, 23 Sep 2005 14:09:38 +0000 (14:09 +0000)]
r10452: Couple of small scons updates - ignore .sconsign files

16 years agor10450: Use exit code 1 in case of fatal errors
Jelmer Vernooij [Fri, 23 Sep 2005 13:06:23 +0000 (13:06 +0000)]
r10450: Use exit code 1 in case of fatal errors

16 years agor10449: remove double copyright header
Stefan Metzmacher [Fri, 23 Sep 2005 07:53:58 +0000 (07:53 +0000)]
r10449: remove double copyright header

metze

16 years agor10448: Add librpc SConscript file to build.
Tim Potter [Fri, 23 Sep 2005 07:43:43 +0000 (07:43 +0000)]
r10448: Add librpc SConscript file to build.

16 years agor10447: Add gensec sources to proto.h
Tim Potter [Fri, 23 Sep 2005 07:43:06 +0000 (07:43 +0000)]
r10447: Add gensec sources to proto.h

16 years agor10446: Add ndr_base and rpc_base sources to proto.h
Tim Potter [Fri, 23 Sep 2005 07:42:17 +0000 (07:42 +0000)]
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?)

16 years agor10445: Add --header to pidl flags.
Tim Potter [Fri, 23 Sep 2005 07:40:15 +0000 (07:40 +0000)]
r10445: Add --header to pidl flags.

16 years agor10444: Add LIBBASIC files to proto.h
Tim Potter [Fri, 23 Sep 2005 07:36:09 +0000 (07:36 +0000)]
r10444: Add LIBBASIC files to proto.h

16 years agor10443: Fix emitter for NdrMarshaller tool.
Tim Potter [Fri, 23 Sep 2005 06:39:34 +0000 (06:39 +0000)]
r10443: Fix emitter for NdrMarshaller tool.

16 years agor10442: Build librpc/libndr_misc.a from librpc/idl/misc.idl. Doesn't quite work
Tim Potter [Fri, 23 Sep 2005 02:28:30 +0000 (02:28 +0000)]
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.

16 years agor10440: Start passing against Win2k3 SP1 again, with the NTLMv2 changes
Andrew Bartlett [Fri, 23 Sep 2005 02:05:26 +0000 (02:05 +0000)]
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

16 years agor10438: Move portability functions to lib/replace/; replace now simply ensures
Jelmer Vernooij [Fri, 23 Sep 2005 00:38:22 +0000 (00:38 +0000)]
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.

16 years agor10436: Some thoughts on getting pidl working in scons.
Tim Potter [Thu, 22 Sep 2005 23:30:08 +0000 (23:30 +0000)]
r10436: Some thoughts on getting pidl working in scons.

16 years agor10435: fill in the reference to the generic wbsrv_call in the wbsrv_samba3_call,
Stefan Metzmacher [Thu, 22 Sep 2005 19:44:08 +0000 (19:44 +0000)]
r10435: fill in the reference to the generic wbsrv_call in the wbsrv_samba3_call,
so that async function can use it.

metze

16 years agor10434: add a short path to the event context that should be used for async replies
Stefan Metzmacher [Thu, 22 Sep 2005 19:36:43 +0000 (19:36 +0000)]
r10434: add a short path to the event context that should be used for async replies

metze

16 years agor10426: - restructure the winbind server code a bit
Stefan Metzmacher [Thu, 22 Sep 2005 18:35:08 +0000 (18:35 +0000)]
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

16 years agor10424: for caller convenience, automatically turn a tdb_traverse() into a
Andrew Tridgell [Thu, 22 Sep 2005 13:20:28 +0000 (13:20 +0000)]
r10424: for caller convenience, automatically turn a tdb_traverse() into a
tdb_traverse_read() for read only databases

16 years agor10423: minor changes to the ldb test suite to allow it to work correctly with
Andrew Tridgell [Thu, 22 Sep 2005 13:16:23 +0000 (13:16 +0000)]
r10423: minor changes to the ldb test suite to allow it to work correctly with
a real ldap backend (such as openldap)

16 years agor10422: ldb_search() can now use tdb_traverse_read() to ensure it can run in
Andrew Tridgell [Thu, 22 Sep 2005 13:14:12 +0000 (13:14 +0000)]
r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run in
parallel with any transaction

16 years agor10421: following on discussions with simo, I have worked out a way of
Andrew Tridgell [Thu, 22 Sep 2005 13:12:46 +0000 (13:12 +0000)]
r10421: following on discussions with simo, I have worked out a way of
allowing searches to proceed while another process is in a
transaction, then only upgrading the transaction lock to a write lock
on commit.

The solution is:

 - split tdb_traverse() into two calls, called tdb_traverse() and
   tdb_traverse_read(). The _read() version only gets read locks, and
   will fail any write operations made in the callback from the
   traverse.

 - the normal tdb_traverse() call allows for read or write operations
   in the callback, but gets the transaction lock, preventing
   transastions from starting inside the traverse

In addition we enforce the following rule that you may not start a
transaction within a traverse callback, although you can start a
traverse within a transaction

With these rules in place I believe all the deadlock possibilities are
removed, and we can now allow for searches to happen in parallel with
transactions

16 years agor10420: Two minor scons fixes
Jelmer Vernooij [Thu, 22 Sep 2005 12:23:44 +0000 (12:23 +0000)]
r10420: Two minor scons fixes

16 years agor10419: Remove unused prototypes of locking functions (thanks Jelmer)
Simo Sorce [Thu, 22 Sep 2005 09:06:37 +0000 (09:06 +0000)]
r10419: Remove unused prototypes of locking functions (thanks Jelmer)
omment about transactions

16 years agor10418: Fix comparison_fn_t test I busted. Add $HOME to the environment as some
Tim Potter [Thu, 22 Sep 2005 08:47:32 +0000 (08:47 +0000)]
r10418: Fix comparison_fn_t test I busted.  Add $HOME to the environment as some
tools get confused if it isn't there.

16 years agor10416: Detect some more types to get rid of spurious warnings in the
Tim Potter [Thu, 22 Sep 2005 07:17:24 +0000 (07:17 +0000)]
r10416: Detect some more types to get rid of spurious warnings in the
lib/replace/replace.h header.

Running 'scons lib/tdb' now (mostly) builds tdb.

16 years agor10415: The ldb and tdb libraries are bad examples to test out the make proto
Tim Potter [Thu, 22 Sep 2005 06:38:26 +0000 (06:38 +0000)]
r10415: The ldb and tdb libraries are bad examples to test out the make proto
code as they are marked as NOPROTO in the config.mk files.

16 years agor10414: Fix building of proto.h
Tim Potter [Thu, 22 Sep 2005 06:20:53 +0000 (06:20 +0000)]
r10414: Fix building of proto.h

16 years agor10411: we don't need the 10 times retry on rid allocation now, as
Andrew Tridgell [Thu, 22 Sep 2005 05:31:16 +0000 (05:31 +0000)]
r10411: we don't need the 10 times retry on rid allocation now, as
transactions ensure two account creations can't interfere with each
other

16 years agor10410: blindly update the scons file for tdb. I'm not sure how this works,
Andrew Tridgell [Thu, 22 Sep 2005 05:03:03 +0000 (05:03 +0000)]
r10410: blindly update the scons file for tdb. I'm not sure how this works,
but it definately needs transaction.c now

16 years agor10409: allow smb.conf override of ldb synchronous transactions with "ldb:nosync...
Andrew Tridgell [Thu, 22 Sep 2005 04:57:35 +0000 (04:57 +0000)]
r10409: allow smb.conf override of ldb synchronous transactions with "ldb:nosync = yes/no"

16 years agor10408: now that we are using tdb transactions we don't need any additional
Andrew Tridgell [Thu, 22 Sep 2005 04:40:23 +0000 (04:40 +0000)]
r10408: now that we are using tdb transactions we don't need any additional
locking code in the ldb_tdb backend, except for a single read lock
during searches to ensure searches don't cross transaction boundaries

The tdb transactions code would map these extra locks to noops anyway
(as locking makes no sense inside a transaction), but the work in
setting up the locking keys still costs something, and it makes the
code needlessly complex

16 years agor10407: the schannel database does not need to be synchronous (and thus crash
Andrew Tridgell [Thu, 22 Sep 2005 04:19:57 +0000 (04:19 +0000)]
r10407: the schannel database does not need to be synchronous (and thus crash
safe) as it is removed on smbd restart

16 years agor10406: added --nosync option to all ldb tools, so that you can control if
Andrew Tridgell [Thu, 22 Sep 2005 04:16:46 +0000 (04:16 +0000)]
r10406: added --nosync option to all ldb tools, so that you can control if
transactions are synchronous or not on the command line.

add LDB_FLG_NOSYNC flag to ldb_connect() so we can make our temporary
ldb databases non-synchronous

16 years agor10405: added transactions into tdb, and hook them into ldb. See my
Andrew Tridgell [Thu, 22 Sep 2005 03:56:41 +0000 (03:56 +0000)]
r10405: added transactions into tdb, and hook them into ldb. See my
samba-technical posting for more details on the transactions design.

This also adds a number of command line arguments to tdbtorture,
making it more flexible, and fixes some lock deadlock conditions in
the tdbtorture code.

16 years agor10404: make sure we use the right smb.conf in the ldap testing
Andrew Tridgell [Thu, 22 Sep 2005 03:52:32 +0000 (03:52 +0000)]
r10404: make sure we use the right smb.conf in the ldap testing

16 years agor10403: fixed the basedn for testing, and add a debug showing the size of the test...
Andrew Tridgell [Thu, 22 Sep 2005 03:51:50 +0000 (03:51 +0000)]
r10403: fixed the basedn for testing, and add a debug showing the size of the test in ldbtest

16 years agor10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.
Andrew Bartlett [Thu, 22 Sep 2005 01:50:58 +0000 (01:50 +0000)]
r10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.

I still have issues with Win2k3 SP1, and Samba4 doesn't pass it's own
test for the moment, but I'm working on these issues :-)

This required a change to the credentials API, so that the special
case for NTLM logins using a principal was indeed handled as a
special, not general case.

Also don't set the realm from a ccache, as then it overrides --option=realm=.

Andrew Bartlett

16 years agor10398: Don't do DNS lookups on short names (no .).
Andrew Bartlett [Wed, 21 Sep 2005 22:55:39 +0000 (22:55 +0000)]
r10398: Don't do DNS lookups on short names (no .).

Andrew Bartlett

16 years agor10395: While playing with winbind, I found a segfault because I had given
Volker Lendecke [Wed, 21 Sep 2005 16:35:15 +0000 (16:35 +0000)]
r10395: While playing with winbind, I found a segfault because I had given
resolve_name_send a stack-allocated method list. Duplicate it.

Volker

16 years agor10393: More type checking in scons
Jelmer Vernooij [Wed, 21 Sep 2005 15:18:11 +0000 (15:18 +0000)]
r10393: More type checking in scons
Remove unused file

16 years agor10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.
Volker Lendecke [Wed, 21 Sep 2005 14:41:29 +0000 (14:41 +0000)]
r10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.

Volker

16 years agor10389: Add Manifest file (required for CPAN)
Jelmer Vernooij [Wed, 21 Sep 2005 13:04:09 +0000 (13:04 +0000)]
r10389: Add Manifest file (required for CPAN)

16 years agor10388: Add version numbers (required for CPAN)
Jelmer Vernooij [Wed, 21 Sep 2005 12:57:18 +0000 (12:57 +0000)]
r10388: Add version numbers (required for CPAN)

16 years agor10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we can
Andrew Bartlett [Wed, 21 Sep 2005 12:38:25 +0000 (12:38 +0000)]
r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we can
avoid DNS delays in our testsuite.  The next step will be to use
kerberos in the tests (awaits application of socketwrapper or hooks
into our socket layer).

Andrew Bartlett

16 years agor10386: Merge current lorikeet-heimdal into Samba4.
Andrew Bartlett [Wed, 21 Sep 2005 12:24:41 +0000 (12:24 +0000)]
r10386: Merge current lorikeet-heimdal into Samba4.

Andrew Bartlett

16 years agor10385: removed obsolete comment
Andrew Tridgell [Wed, 21 Sep 2005 10:46:02 +0000 (10:46 +0000)]
r10385: removed obsolete comment

16 years agor10384: add _GNU_SOURCE in tdb configure
Andrew Tridgell [Wed, 21 Sep 2005 10:45:47 +0000 (10:45 +0000)]
r10384: add _GNU_SOURCE in tdb configure

16 years agor10383: This patch is on the road to implementing servers (such as kpasswd) that
Andrew Bartlett [Wed, 21 Sep 2005 10:18:40 +0000 (10:18 +0000)]
r10383: This patch is on the road to implementing servers (such as kpasswd) that
use raw krb5, not GSSAPI.  I still keep the 'fake GSSAPI' code, but
under the module name 'fake_gssapi_krb5'.

Andrew Bartlett

16 years agor10382: In the absence of client support for the full KDC-side
Andrew Bartlett [Wed, 21 Sep 2005 10:17:56 +0000 (10:17 +0000)]
r10382: In the absence of client support for the full KDC-side
canonicalisation code, I've hacked Heimdal to use the default realm if
no other realm can be determined for a given host.

Andrew Bartlett