Koozali.org: home of the SME Server
Other Languages => Italiano => Topic started by: simone686 on July 15, 2023, 10:55:51 AM
-
Stavo leggendo la documentazione ed ho trovato, cercando la possibilità di incrementare la lunghezza del nome delle ibays e delle shared folders, questa indicazione : " #4This 12-character restriction ensures that the i-bay can be shared correctly to all Windows machines."
Non è una condizione superata ? 12 caratteri ormai sembrano pochini, considerando che alle volte il nome comprende due o più parole.
Considerato che qnap (che sconsiglio sempre) da addirittura 64 come limiti del nome.
Si può fare qualcosa al riguardo?
-
from ibays.pm per module:
Checks the length of a given i-bay name against the maximum set in the
maxIbayNameLength record of the configuration database. Defaults to a
maximum length of the maxIbayNameLength set in the config db.
Reading you this would need 2 bugs open.
One to update documentation adding this information and make it easier to find as you can find it already in https://wiki.koozali.org/SME_Server:Documentation:FAQ:Section01#Changing_maximum_Ibay.2C_Account_or_Group_name_length
One to change the default from 12 to 24.
for you can do
config set maxIbayNameLength 24
-
Thanks.......
is there any similar modifications for Shared Folders too ?
-
is there any similar modifications for Shared Folders too ?
Have you checked and tested what it does?
If you check the code you will see this:
/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/shares.pm
sub create_share {
....
$msg = $self->max_share_name_length($name);
And
sub max_share_name_length {
my ($self, $data) = @_;
$c->reload();
my $max = $c->get('maxShareNameLength')->value || '12';
So shared-folders uses maxShareNameLength if it is set, or it defaults to 12
-
First of all Thanks......
I tried but no luck.....
Only 12 characters even if :
# db config show maxShareNameLength
maxShareNameLength=24
-
Hai dato un post-update & reboot?
-
si certo...
-
There are some issues we know about but as no one seems to be interested the contrib it gets left as we have other things that are more important.
https://wiki.koozali.org/SharedFolders#Bugs
I may try and have a look and tidy it up a bit. The rsyncd issues need resolving for sure.
However, I am not going to do much unless I get some help - I do not need this myself.
-
Note I just installed, post-upgrade/reboot, logged in, db configuration set maxShareNameLength 16, created a new ibay with 16 letters and it created without issue:
abcdefghijklmnop=share
DynamicContent=disabled
Encryption=disabled
InactivityTimeOut=
Indexes=disabled
Name=Testing
Pydio=disabled
RecycleBin=disabled
RecycleBinRetention=unlimited
RequireSSL=disabled
WebDav=disabled
httpAccess=none
smbAccess=browseable
There are other issues with rsync that I might look at fixing but the share works.
https://bugs.koozali.org/show_bug.cgi?id=12252
https://bugs.koozali.org/show_bug.cgi?id=11525