Make sure that if an smbd is exiting because of an error we let the user know.

Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmd

This brings the two build systems in sync, without using md5.h (which is a problem name)

Tested on FreeBSD

Andrew Bartlett

Reviewed-by: Richard Sharpe <rsharpe@samba.org>

Autobuild-User(master): Richard Sharpe <sharpe@samba.org>
Autobuild-Date(master): Wed May 22 10:06:40 CEST 2013 on sn-devel-104
When '--policies-reset' is success, the exit code should be 0.

Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
When message-type is drvupgrade, MSG_DEBUG should be replaced with MSG_PRINTER_DRVUPGRADE.

Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
docs: Remove out of date and unmaintained Speed page from the HOWTO

Reviewed-by: Jeremy Allison <jra@samba.org>
docs: Remove TOSHARG-HighAvailability which is made obsolete by CTDB

This is mostly a lament on why this is hard, and while CTDB is still
hard, this document tries to imply it is almost impossible, and makes
no mention of the solution.

Andrew Bartlett
Reviewed-by: Jeremy Allison <jra@samba.org>
docs: Fix small errors in TOSHARG-Compiling

Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace: Set BROKEN_STRNLEN and BROKEN_STRNDUP on all AIX

The background is in https://bugzilla.samba.org/show_bug.cgi?id=1097
and wider reports are at
http://stackoverflow.com/questions/2091460/strndup-call-is-currupting-stack-frames

Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 23 03:52:10 CEST 2013 on sn-devel-104
Revert my accidental commit.

Signed-off-by: Richard Sharpe <rsharpe@samba.org>

Autobuild-User(master): Richard Sharpe <sharpe@samba.org>
Autobuild-Date(master): Thu May 23 06:53:17 CEST 2013 on sn-devel-104