diff options
author | Christopher R. Hertel <crh@samba.org> | 2003-09-15 17:01:26 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2003-09-15 17:01:26 +0000 |
commit | 1e98a1b4cc5c7c8b7568c28823e10b2213fc1d9e (patch) | |
tree | 25de55f3c7e24837a1924b64aa18e68ddce976ce /source3/utils/testparm.c | |
parent | 1389acb537d61394600cb6b3c9193162cedcfbe7 (diff) | |
download | samba-1e98a1b4cc5c7c8b7568c28823e10b2213fc1d9e.tar.gz samba-1e98a1b4cc5c7c8b7568c28823e10b2213fc1d9e.tar.xz samba-1e98a1b4cc5c7c8b7568c28823e10b2213fc1d9e.zip |
Fixed test and wording for long share names.
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)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r-- | source3/utils/testparm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 0a87b4bc1ea..34c25480d94 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -248,9 +248,10 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ 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; } } |