From: Andreas Schneider Date: Mon, 18 Jun 2018 13:22:18 +0000 (+0200) Subject: testparm: Remove warning from the last century X-Git-Tag: tevent-0.9.37~265 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95dcdd3d4f0f4fbec22d2e61f63af79d443a9309;p=thirdparty%2Fsamba.git testparm: Remove warning from the last century Signed-off-by: Andreas Schneider Reviewed-by: Volker Lendecke --- diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index a53eea5b8cc..8113eea0020 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -712,16 +712,6 @@ static void do_per_share_checks(int s) ret = do_global_checks(); } - for (s=0;s<1000;s++) { - if (VALID_SNUM(s)) - if (strlen(lp_servicename(talloc_tos(), s)) > 12) { - fprintf(stderr, "WARNING: You have some share names that are longer than 12 characters.\n" ); - fprintf(stderr, "These may not be accessible to some older clients.\n" ); - fprintf(stderr, "(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)\n" ); - break; - } - } - for (s=0;s<1000;s++) { if (VALID_SNUM(s) && (skip_logic_checks == 0)) { do_per_share_checks(s);