Latest interface: 0.3.1
Latest system: 010
BAM
User

19 posts

Posted on 12 February 2014 @ 21:33
On beta9, when trying to create new samba shares, the share name on the form is limited to 8 characters.

I'm not sure what the maximum that samba can handle, but is obviously more than this.

I have increased mine but maybe something to fix in the next release.

If anyone needs to change theirs, look in /usr/local/www/zfsguru/pages/access/samba_shares.page
for

<td><input type="text" name="newshare_sharename" value="%%NEWSHARE_NAME%%"
id="newshare_sharename" pattern="[a-zA-Z0-9]{1,8}" maxlength="8"
required="required" />
</td>

and change the 2 occurances of 8 to whatever you would like to set.

CiPHER
Developer

1199 posts

Posted on 13 February 2014 @ 09:07
I thought it was 8 characters, but it is 12 characters. More than 12 and the Samba share will not be visible by older Windows versions.

I think it is best to remain compatible. You can rename your share once mounted to a longer name; but the share name does have constraints.

Share Names Greater Than 12 Characters Cause Errors on Clients(ext)
SMB Shares Longer then 12 Character Not Listed - Apple Support ...(ext)
mickware1
User

3 posts

Posted on 16 August 2015 @ 18:13
Is it still not possible to raise the limit for how many character one can use. is it not from before windows XP the limit of 12 character was applicable
. Michael

Last Page

Valid XHTML 1.1