As far as you and I know, Windows 9x/Me client has a limitation
that sharename is NOT displayed in the browse list if
strlen("sharename") > 12.
Samba server limits Windows 9x/Me clients to it at smbd/lanman.c as:
if( lp_browseable( i )
&& lp_snum_ok( i )
&& (strlen( lp_servicename( i ) ) < 13) ) /* Maximum name length. */
This statement determines whether to limit or not by
strlen("sharename in unix charset"), i.e. byte width of
sharename in unix charset. This statement must be
strlen("sharename in dos charset") because Windows 9x/Me's
limitation is based in dos charset, not unix charset.
Created attachment 644 [details]
Please apply this patch to SAMBA_3_0 tree.
Please comfirm and apply my proposed patch.
Jim, could you please proceed with this patch to get it in?
Checked in patch. Please verify, as I can only check the existing function
originally reported against 3.0.8pre1. Cleaning up
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.