Simo Sorce [Thu, 11 Aug 2011 03:10:48 +0000 (23:10 -0400)]
s3-messaging: Fix messaging classes.
This has been broken since
ff0ac5b0 (May 2007).
Basically all messages were belonging to the General class except for CTDB
messages.
This fixed the message_send_all() function to correctly compute the class, and
fixes registrations to include all they need to cope with the fact not all
messages are of calss general (registrations rotted a bit because as long as
FLAG_MSG_GENERAL was defined the process woould receive all messages).
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 11 Aug 2011 03:36:06 +0000 (23:36 -0400)]
s3-messaging: Remove obsolete class.
The FLAG_MSG_PRINT_NOTIFY class is actually obsolete and never used, as the
only message belonging to it is not used either.
Signed-off-by: Andreas Schneider <asn@samba.org>
Michael Adam [Thu, 11 Aug 2011 08:49:30 +0000 (10:49 +0200)]
s3:build(autoconf): fix bug #8369: remove irritating "." targets when recent system libs exist
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Aug 11 13:26:27 CEST 2011 on sn-devel-104
Volker Lendecke [Wed, 10 Aug 2011 17:53:53 +0000 (19:53 +0200)]
Adapt tally_histogram to Samba coding conventions
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Aug 10 21:12:59 CEST 2011 on sn-devel-104
Volker Lendecke [Wed, 10 Aug 2011 17:52:58 +0000 (19:52 +0200)]
Adapt get_max_bucket to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:52:40 +0000 (19:52 +0200)]
Adapt tally_approx_median to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:52:15 +0000 (19:52 +0200)]
Adapt bucket_range to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:51:56 +0000 (19:51 +0200)]
Adapt tally_mean to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:51:26 +0000 (19:51 +0200)]
Adapt divls64 to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:50:52 +0000 (19:50 +0200)]
Avoid some // style comments in divls64
Volker Lendecke [Wed, 10 Aug 2011 17:49:55 +0000 (19:49 +0200)]
Adapt divlu64 to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:49:23 +0000 (19:49 +0200)]
Avoid some // style comments in divlu64
Volker Lendecke [Wed, 10 Aug 2011 17:46:52 +0000 (19:46 +0200)]
Adapt fls64 to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:46:37 +0000 (19:46 +0200)]
Adapt tally_num to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:46:24 +0000 (19:46 +0200)]
Adapt tally_add to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:46:00 +0000 (19:46 +0200)]
Adapt renormalize to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:45:40 +0000 (19:45 +0200)]
Adapt shift_overflows to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:45:24 +0000 (19:45 +0200)]
Adapt bucket_min to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:45:14 +0000 (19:45 +0200)]
Adapt bucket_of to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:44:45 +0000 (19:44 +0200)]
Adapt tally_new to Samba coding conventions
Volker Lendecke [Wed, 10 Aug 2011 17:44:10 +0000 (19:44 +0200)]
Slightly simplify tally_new
Volker Lendecke [Wed, 10 Aug 2011 17:43:21 +0000 (19:43 +0200)]
Fix a c++ warning
Volker Lendecke [Wed, 10 Aug 2011 17:42:54 +0000 (19:42 +0200)]
Fix a c++ warning
Volker Lendecke [Fri, 5 Aug 2011 16:22:20 +0000 (18:22 +0200)]
s3: Adapt msg_idmap.c to Samba coding conventions
Volker Lendecke [Fri, 5 Aug 2011 16:17:43 +0000 (18:17 +0200)]
s3: Fix some nonempty blank lines
Volker Lendecke [Wed, 10 Aug 2011 17:40:18 +0000 (19:40 +0200)]
s3: Fix some typos -- Simo, please check
Andreas Schneider [Wed, 10 Aug 2011 16:05:07 +0000 (18:05 +0200)]
selftest: Always test the spoolss deamon.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Aug 10 19:29:14 CEST 2011 on sn-devel-104
Andreas Schneider [Wed, 10 Aug 2011 10:48:30 +0000 (12:48 +0200)]
s3-spoolss: Fix prototypes warnings.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 10 Aug 2011 13:27:24 +0000 (09:27 -0400)]
s3-printing: Do not try to force reload.
Be more correct in load printers at startup.
If async process have already started we do not need to force a reload, but we
just need to load the printers. If other process have not finished initializing
it makes no sense to try to force them as they are masking SIGHUP unitl init is
done anyway.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 10 Aug 2011 13:20:24 +0000 (09:20 -0400)]
s3-spoolss: do not call pcap_cache_reload() directly
The background queue process is repsonsible for that.
Just reload printers if necessary or wait for a message from bq to do that.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 10 Aug 2011 12:59:44 +0000 (08:59 -0400)]
s3-printing: Add child handler to bq process
The cups backend forks a child to do asynchronous work.
We need a sigchld handler in bq to properly wait for the chilod to finish and
reap it, otherwise it hangs the forever as a zombie process.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 9 Aug 2011 20:46:21 +0000 (16:46 -0400)]
s3-spoolss: Fix printers related messaging
Children were not properly receiving messages to reload printers when
the background queue process was dispatching them.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 9 Aug 2011 20:44:52 +0000 (16:44 -0400)]
s3-prefork: Fix use of child id.
Children Ids must start at 1 as 0 represent the father.
Also fix callbacks that restart logs to use a procedd global variable that
holds the Id so that they work correctly both fot the parent process and the
children.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 8 Aug 2011 14:08:46 +0000 (10:08 -0400)]
s3-printing: make sure to block SIGHUP ...
... until we are ready to handle it.
Also make us ready as early as possible in spoolssd.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 8 Aug 2011 18:15:14 +0000 (14:15 -0400)]
s3-spoolss: Use a global variable for the pool
This allows for setting up signal handlers earlier which is needed
for the following patch. It also simplify the code in a few places.
After all we never have more than pool active at any time during
spoolssd life span.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Fri, 5 Aug 2011 19:14:26 +0000 (15:14 -0400)]
s3-printing: Allow bq process to have own logfile
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Fri, 5 Aug 2011 14:08:23 +0000 (10:08 -0400)]
s3-spoolssd: Use the child_id to open log files
This way each child has its own log file and avoid mixing all logs form all
children in the same parent log file.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Fri, 5 Aug 2011 14:34:05 +0000 (10:34 -0400)]
s3-prefork: Pass the child a child_id
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 4 Aug 2011 12:56:01 +0000 (08:56 -0400)]
s3-printing: Force pcap reload when all ready
This way we are sure the cache is primed properly and messages can be sent to
processes if necessary as all messaging has been set up.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 19 Jul 2011 19:07:42 +0000 (15:07 -0400)]
s3-prefork: Return tsocket_address for client and server
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 18 Jul 2011 14:39:50 +0000 (10:39 -0400)]
s3-prefork: Pass messaging context around too
Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Fri, 20 May 2011 03:56:02 +0000 (23:56 -0400)]
s3-prefork: Set up a SIGCHLD handler by default
We need to properly handle preforked children so it is better to just do that
automatically.
If the parent needs/wants to intercept SIGCHLD events it can set a callback
that will be called by the prefork code once the internal cleanup function that
checks all prefork children has been executed.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 18 May 2011 15:24:30 +0000 (11:24 -0400)]
s3:spoolssd Start spoolssd from printing_subsystem_init
Use a child for the background updater process
Forward printer update messages from spoolss to background update process.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 3 Aug 2011 21:04:50 +0000 (17:04 -0400)]
s3-printing: Rework how the background process is started
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 16 May 2011 14:46:35 +0000 (10:46 -0400)]
s3-prefork: Provide a cleanup function
This way the parent doesn't need to know how to handle dead children and
keeps all of that within the prefork abstraction.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 16 May 2011 14:23:59 +0000 (10:23 -0400)]
s3-prefork: Inline Doxygen Documentation
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 10 May 2011 13:08:21 +0000 (09:08 -0400)]
s3-prefork: better timing out semantics
If this child has no clients, let the lock functions block for 1 second,
and then immediately reschedule the operation. This means we catch the lock
as soon as possible on a free child.
If, instead, we are already serving a client, we want to be non blocking,
so we timeout immediately on getting the lock, and then we sleep a 1/10th of
a second.
This means that a busy child will be slightly slower on picking up the lock,
but we won't block the existing client from communicating with us as we
immediately react to activity on the already opened file handler.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 10 May 2011 12:39:14 +0000 (08:39 -0400)]
s3-prefork: add support for multiple listning file descriptors
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 9 May 2011 12:50:11 +0000 (08:50 -0400)]
s3-spoolssd: propagate SIGHUP to children
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 9 May 2011 12:49:50 +0000 (08:49 -0400)]
s3-prefork: provide way to send a signal to all children
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 9 May 2011 09:37:29 +0000 (05:37 -0400)]
s3-spoolssd: expand children pool when necessary
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 9 May 2011 08:51:47 +0000 (04:51 -0400)]
s3-prefork: provide means to expand the pool size
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 9 May 2011 08:38:06 +0000 (04:38 -0400)]
s3-spoolssd: Use parametric option for prefork parameters
example:
spoolssd:prefork = 10:100:5
will configure spoolssd to start with a minimum of 10 preforked children,
a max set to 100 children and spawns/retires 5 children at a time when
ramping up/scaling down.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 5 May 2011 21:59:00 +0000 (17:59 -0400)]
s3-spoolss: make listening asynchronous
This also allows to make each children serve more than one client at the same
time if necessary.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 21 Apr 2011 19:06:18 +0000 (15:06 -0400)]
s3-spoolssd: Use the prefork framework in spoolssd
This should make it more scalable and able to handle easily multiple clients at
the same time.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Mon, 25 Apr 2011 21:24:15 +0000 (17:24 -0400)]
s3-rpc_server: add termination function
This way we can act when a client disconnects.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 21 Apr 2011 19:05:12 +0000 (15:05 -0400)]
s3-rpc: Expose some internal functions
This will allow to hook the prefork socket handlers to the rpc service.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 5 May 2011 21:56:31 +0000 (17:56 -0400)]
s3-prefork: add way to manage number of clients per child
The allowed_clients var is a parent managed variable that tell children how
many clients they are allowed to handle at the same time. This way children
can overcommit but within parent controlled limits.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 3 May 2011 22:55:25 +0000 (18:55 -0400)]
s3-prefork: add asynchronous functions
To get a client connection it is now possible to use asynchronous functions.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 20 Apr 2011 20:28:57 +0000 (16:28 -0400)]
s3-prefork: implement prefork framework
Primarily built for forked off rpc service daemons, but not tied to rpc
services and generic enough to be used elsewhere easily.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 3 Aug 2011 20:55:30 +0000 (16:55 -0400)]
s3-printing: No need to register to smbd's children list
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Tue, 26 Apr 2011 03:40:15 +0000 (23:40 -0400)]
tevent: cleanup nesting counter when doing a full reinit.
We may be forking from within a loop, so we need to clean-up to avoid
aborts when nesting is not allowed and we are in a new children.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 21 Apr 2011 14:04:06 +0000 (10:04 -0400)]
lib-util: Make create_unlink_tmp argument optional
Use tmpdir() if no dir is provided.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Thu, 21 Apr 2011 13:45:27 +0000 (09:45 -0400)]
lib-util: Make useful function a common utility.
Signed-off-by: Andreas Schneider <asn@samba.org>
Simo Sorce [Wed, 11 May 2011 21:50:07 +0000 (17:50 -0400)]
libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not defined
This flag prevents startup w/o ip addresses assigned to any interface.
If AI_NUMERIC is passed it should be safe to avoid it.
Signed-off-by: Andreas Schneider <asn@samba.org>
Volker Lendecke [Wed, 10 Aug 2011 13:52:28 +0000 (15:52 +0200)]
s3: Remove an unnecessary include
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Aug 10 18:10:39 CEST 2011 on sn-devel-104
Jelmer Vernooij [Wed, 10 Aug 2011 13:20:59 +0000 (15:20 +0200)]
pytalloc: Regenerate ABI file.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Aug 10 16:51:11 CEST 2011 on sn-devel-104
Jelmer Vernooij [Wed, 10 Aug 2011 13:15:18 +0000 (15:15 +0200)]
pytalloc: Use consistent prefix for functions, add ABI file.
Michael Adam [Wed, 10 Aug 2011 11:41:14 +0000 (13:41 +0200)]
s3:idmap_tdb2: fix bug 8368 : correctly initialize "idmap config * : script" with NULL
this fixes the fallback to the deprecated spelling idmap:script
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Aug 10 14:59:32 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 9 Aug 2011 20:24:14 +0000 (22:24 +0200)]
s3:libsmb: make cli_session_setup_spnego() static
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Aug 10 12:31:55 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 9 Aug 2011 20:21:41 +0000 (22:21 +0200)]
s3:winbindd_cm: use cli_session_setup() instead of cli_session_setup_spnego()
metze
Stefan Metzmacher [Tue, 9 Aug 2011 20:17:56 +0000 (22:17 +0200)]
s3:libsmb: pass remote_realm to cli_session_setup_spnego() in cli_session_setup()
metze
Stefan Metzmacher [Tue, 9 Aug 2011 20:15:23 +0000 (22:15 +0200)]
s3:libsmb: store the remote_realm on the cli_state
metze
Stefan Metzmacher [Thu, 28 Jul 2011 09:27:10 +0000 (11:27 +0200)]
s3:smb_macros.h: simplify _smb_setlen() and _smb_setlen_large()
This also takes care of the correct casting.
metze
Stefan Metzmacher [Tue, 12 Jul 2011 07:40:56 +0000 (09:40 +0200)]
s3:include: smb.h base old smb header offsets on new defines
metze
Stefan Metzmacher [Tue, 12 Jul 2011 07:37:53 +0000 (09:37 +0200)]
s3:include: smb.h merge some stuff from source4
metze
Stefan Metzmacher [Thu, 28 Jul 2011 09:39:32 +0000 (11:39 +0200)]
Revert "s3:test_async_echo: unsure the desired smb message sequence"
This reverts commit
34faeb8bba86fff57466c06682b7dcbffc48a52a.
This is not needed anymore.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Aug 10 09:54:24 CEST 2011 on sn-devel-104
Stefan Metzmacher [Thu, 28 Jul 2011 08:37:51 +0000 (10:37 +0200)]
tsocket: make use of tevent_queue_add_optimize_empty() to optimize for the empty queue case
metze
Matthias Dieter Wallnöfer [Fri, 29 Apr 2011 09:38:56 +0000 (11:38 +0200)]
s4:subtree_rename LDB module - fix the move/rename constraints
s4:subtree_rename LDB module - fix the move/rename constraints
By the inspiration of an email request by ekacnet I have rechecked the
move/rename constraints and re-read the chapter 3.1.1.5.4.1 located in the
MS-ADTS technical documentation.
It really turns out that the constraint checking is only performed on
the root object of a request.
In addition add my copyright notice (I've written these constraint checks).
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Aug 10 01:05:19 CEST 2011 on sn-devel-104
Matthieu Patou [Tue, 9 Aug 2011 21:36:01 +0000 (01:36 +0400)]
s4-drs: In dcesrv_drsuapi_DsRemoveDSServer use the subtree control to delete the NTDS entry
This entry has most of the time subelements (connections between DCs)
that will forbid a simple (non recursive) delete
Matthieu Patou [Mon, 8 Aug 2011 10:41:54 +0000 (14:41 +0400)]
s4-dsdb: avoid printing a pointless debug line
Matthieu Patou [Sat, 30 Jul 2011 20:54:01 +0000 (00:54 +0400)]
s4-drsuapi: crackname search also for deleted objects
Matthieu Patou [Sat, 30 Jul 2011 20:48:06 +0000 (00:48 +0400)]
s4: create a small script to test drsuapi/crackname
Stefan Metzmacher [Tue, 9 Aug 2011 14:12:40 +0000 (16:12 +0200)]
tevent: change the version to 0.9.14 after the tevent_queue changes
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 9 Aug 2011 14:05:36 +0000 (16:05 +0200)]
tevent: fix some comments in tevent.h
metze
Stefan Metzmacher [Thu, 28 Jul 2011 08:45:22 +0000 (10:45 +0200)]
tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()
This adds more flexible handling for the add operation:
- It allows the caller to remove a tevent_req from the queue
by calling talloc_free() on the returned tevent_queue_entry.
- It allows the caller to optimize for the empty queue case,
where it the caller wants to avoid the delay caused by
the immediate event.
metze
Stefan Metzmacher [Tue, 9 Aug 2011 13:33:37 +0000 (15:33 +0200)]
tevent: splitout tevent_queue_add_internal() from tevent_queue_add()
metze
Stefan Metzmacher [Thu, 28 Jul 2011 07:45:15 +0000 (09:45 +0200)]
tevent: allow tevent_queue_add() to take a NULL trigger function
This way the caller can add a blocker to the queue.
metze
Stefan Metzmacher [Thu, 28 Jul 2011 07:46:34 +0000 (09:46 +0200)]
tevent: add tevent_queue_running() function
metze
Björn Jacke [Tue, 9 Aug 2011 15:02:29 +0000 (17:02 +0200)]
s3:vfs_prealloc: fix build on SLES8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Aug 9 19:29:08 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 2 Aug 2011 21:05:31 +0000 (23:05 +0200)]
s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmit
The max_data parameter of trans2/nttrans calls are not bound
to cli->max_xmit. Even with cli->max_xmit, which means the max
size of the whole SMB pdu, we would get fragmented trans2/nttrans
replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 2 Aug 2011 20:59:54 +0000 (22:59 +0200)]
s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmit
The max_data parameter of trans2/nttrans calls are not bound
to cli->max_xmit. Even with cli->max_xmit, which means the max
size of the whole SMB pdu, we would get fragmented trans2/nttrans
replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE.
metze
Stefan Metzmacher [Tue, 9 Aug 2011 11:51:08 +0000 (13:51 +0200)]
script/librelease.sh: add git push for the release tag
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug 9 15:19:07 CEST 2011 on sn-devel-104
Stefan Metzmacher [Tue, 9 Aug 2011 10:40:55 +0000 (12:40 +0200)]
ndr_drsuapi: fix compiler warning
metze
Andrew Bartlett [Tue, 9 Aug 2011 03:10:21 +0000 (13:10 +1000)]
s4-dsdb clarify that failure to load the schema items from DRS is expected
This happens if we have a custom schema - we need to build up the schema until
it loads, by converting more objects.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Aug 9 13:10:25 CEST 2011 on sn-devel-104
Andrew Bartlett [Tue, 9 Aug 2011 02:55:57 +0000 (12:55 +1000)]
move schema_fill_constructed() call to dsdb_setup_sorted_accessors()
Andrew Bartlett [Tue, 9 Aug 2011 01:54:17 +0000 (11:54 +1000)]
s4-dsdb Remove unused schema function
Andrew Tridgell [Tue, 9 Aug 2011 06:54:36 +0000 (16:54 +1000)]
s4-dsdb: added SAMDB_INDEXING_VERSION to @INDEXLIST
this can be used to force re-indexing of samdb when we change
something that affects index comparison, in this case the
canonicalisation of booleans
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 9 Aug 2011 06:50:51 +0000 (16:50 +1000)]
s4-dsdb: fixed booling conversion to check value length
this ensures we don't look past the end of the data
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 9 Aug 2011 06:41:16 +0000 (16:41 +1000)]
ldb: fix the canonicalisation of booleans
we were canonicalising "FALSE" to "FALS"
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>