summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2003-09-15 17:01:45 +0000
committerChristopher R. Hertel <crh@samba.org>2003-09-15 17:01:45 +0000
commit4fd86794ecf4249ce04a3fbb57d3524fdfaa058d (patch)
tree04eee31c0e6e74d5dee4d02d27c2220de4b2f5e5
parent5f91a15a66f8c530087ec438696cf42587d3cfdb (diff)
downloadsamba-4fd86794ecf4249ce04a3fbb57d3524fdfaa058d.tar.gz
samba-4fd86794ecf4249ce04a3fbb57d3524fdfaa058d.tar.bz2
samba-4fd86794ecf4249ce04a3fbb57d3524fdfaa058d.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 cdfc0fc383ab63f47ddd547fddc4c28bbfddf5e5)
-rw-r--r--source3/utils/testparm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 0a87b4bc1e..34c25480d9 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;
}
}