Bug 4448 - share name is truncated at the first encountered ']' character
share name is truncated at the first encountered ']' character
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
3.0.24
Other Linux
: P3 trivial
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-14 16:05 UTC by alexisdm59
Modified: 2007-03-14 16:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexisdm59 2007-03-14 16:05:28 UTC
When you have the following line in smb.conf:
[test[foo].dir]
the share name is set to "test[foo".

On SVN you can see that both samba 3.0.x (iniparser.c) and samba 4.0 (params.c) truncate the name at the first ']'.
Shouldn't '[' and ']' be both invalid or valid ?

Windows systems can perfectly see and access shares containing '[' and ']' characters, but can't share themselves such share.