From ee0ee5e925dd19d0c185804f41c40564f441cb39 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 25 May 2011 09:19:50 +1000 Subject: s3-testparm Warn about incorrect use of 'password server' This merges master with v3-6-test Autobuild-User: Andrew Bartlett Autobuild-Date: Wed May 25 05:20:57 CEST 2011 on sn-devel-104 --- source3/utils/testparm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index f8b8c7fc9f..aa487718dc 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -139,8 +139,8 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n"); else sec_setting = ""; - fprintf(stderr, "ERROR: The setting 'security=%s' requires the 'password server' parameter be set \ -to the default value * or a valid password server.\n", sec_setting ); + fprintf(stderr, "ERROR: The setting 'security=%s' requires the 'password server' parameter be set\n" + "to the default value * or a valid password server.\n", sec_setting ); ret = 1; } @@ -153,7 +153,8 @@ to the default value * or a valid password server.\n", sec_setting ); else sec_setting = ""; - fprintf(stderr, "WARNING: The setting 'security=%s' is should NOT be combined with the 'password server' parameter.\n (by default Samba will discover the correct DC to contact automatically).\n", sec_setting ); + fprintf(stderr, "WARNING: The setting 'security=%s' should NOT be combined with the 'password server' parameter.\n" + "(by default Samba will discover the correct DC to contact automatically).\n", sec_setting ); } /* @@ -254,7 +255,6 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ if (!lp_passdb_backend()) { fprintf(stderr,"ERROR: passdb backend must have a value or be left out\n"); - ret = 1; } if (lp_os_level() > 255) { -- cgit