r12986: Use d_fprintf(stderr, ...) for any error message in net.
authorLars Müller <lmuelle@samba.org>
Tue, 17 Jan 2006 21:22:00 +0000 (21:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:09 +0000 (11:06 -0500)
commitc42be9fd38556a1cc2e16c8d763a592beb863806
treee69234055238ca6996dac2c153ad0c3e44f1e134
parentf7519540090b2f47259f72d81b267b3e7a1a8950
r12986: Use d_fprintf(stderr, ...) for any error message in net.

All 'usage' messages are still printed to stdout.

Fix some compiler warnings for system() calls where we didn't used the
return code.  Add appropriate error messages and return with the error
code we got from system() or NT_STATUS_UNSUCCESSFUL.
(This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
16 files changed:
source3/utils/net.c
source3/utils/net_ads.c
source3/utils/net_ads_cldap.c
source3/utils/net_cache.c
source3/utils/net_groupmap.c
source3/utils/net_idmap.c
source3/utils/net_rap.c
source3/utils/net_rpc.c
source3/utils/net_rpc_join.c
source3/utils/net_rpc_printer.c
source3/utils/net_rpc_registry.c
source3/utils/net_rpc_rights.c
source3/utils/net_rpc_samsync.c
source3/utils/net_rpc_service.c
source3/utils/net_status.c
source3/utils/net_time.c