Bug 4448 - share name is truncated at the first encountered ']' character
Summary: share name is truncated at the first encountered ']' character
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.24
Hardware: Other Linux
: P3 trivial
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.