replaced openx with ntcreatex in pipe open call

Windows 8.1/2012 do not accept openx type calls
anymore. The patch replaces such calls with ntcreatex.

Fixes bug https://sourceforge.net/p/winexe/bugs/30/

Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
Fix typo in manpage.
Merge branch 'master' of ssh://git.code.sf.net/p/winexe/winexe-waf
Describe no-pass option in man page
correct error code returned when server is not reachable

Fixes https://sourceforge.net/p/winexe/bugs/27/

Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
Fix build failure: change build group to 'final' from 'binaries'
use credential helpers instead of direct fields

This patch fixes compile error after samba patch:
"auth/credentials: keep cli_credentials private".

Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
use NT_STATUS_EQUAL instead of direct status comparison

The patch fixes compile error in case samba is configured
to use struct to represent NT status.

Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
Add back --version option
Change build so that it doesn't build the Samba-shared-library version of winexe by default.
Change the polarity of the option to --enable-shared.
Improve help text.
Add dependencies needed for building against latest Samba packages from experimental
Update README with new build instructions
Add python-dev dep
Add information about building on CentOS 6
build: enforce including samba config.h during compilation

It seems that in some cases HAVE_IMMEDIATE_STRUCTURES is
not properly propagated in winexe source files.
This patch should ensure it is always propagated.

Fixes bug https://sourceforge.net/p/winexe/bugs/21/

Signed-off-by: Andrzej Hajda <andrzej.hajda@wp.pl>
RedHat-like distros need glibc-static and zlib-static for static build
Merge branch 'master' of ssh://git.code.sf.net/p/winexe/winexe-waf
Don't build against libbsd-devel on RedHat-alikes
On Fedora minimal there's no gcc
On Fedora minimal there's also no perl