The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested). Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.
(This used to be commit
be06e52ce05e88f3872563a61ae29f62afd614fc)
for (s=0;s<1000;s++) {
if (VALID_SNUM(s))
- if (strlen(lp_servicename(s)) > 8) {
- printf("WARNING: You have some share names that are longer than 8 chars\n");
- printf("These may give errors while browsing or may not be accessible\nto some older clients\n");
+ if (strlen(lp_servicename(s)) > 12) {
+ printf( "WARNING: You have some share names that are longer than 12 characters.\n" );
+ printf( "These may not be accessible to some older clients.\n" );
+ printf( "(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)\n" );
break;
}
}