s3-net_conf: Display an error on net conf import failures.
commitaa14278c67cec5a296956a5d9af471a525a1d75a
authorJim McDonough <jmcd@samba.org>
Wed, 21 Apr 2010 18:51:54 +0000 (21 20:51 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 May 2010 07:50:14 +0000 (17 09:50 +0200)
tree8554c40398c81a3d2d3eaba02ebda900df32d47b
parent6c52bb5a363660f1ace852b8d5e687455dfe1ea4
s3-net_conf: Display an error on net conf import failures.

When something goes wrong, such as a typo in a parameter
name, we'll now display the failure instead of just returning
with -1 and no message.

Fix bug #7378 ("net conf import" fails silently on parameter typo).
(cherry picked from commit c1ae6d36d09569732408fdd6c079a1db7a5a65a5)
source3/utils/net_conf.c