testparm: Remove warning from the last century
authorAndreas Schneider <asn@samba.org>
Mon, 18 Jun 2018 13:22:18 +0000 (15:22 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 19 Jun 2018 06:59:11 +0000 (08:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/utils/testparm.c

index a53eea5b8cc6668c4f6ddbf4a30360b26e82449d..8113eea00208f372a4bc73dc19fd454d637ad3ec 100644 (file)
@@ -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);