mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
testparm: Remove warning from the last century
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
877266f775
commit
95dcdd3d4f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user