Bug 106880
| Summary: | Valid Unix directory names create invalid samba share names | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Mike MacCana <mmaccana> |
| Component: | redhat-config-samba | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-10-15 18:13:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Ah, I see. I now replace whitespce with underscores in the section headers in the config file. Should be fixed in redhat-config-samba-1.1.3-1. Thanks for your report. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030702 Description of problem: Since the Samba config tool names the share after the last component of the directory, valid Unix directory names such as "/var/samba share" will create invalid * Samba share names such as [samba share]. * Actually, I'm not entirely sure these names are invalid. AFAIK spaces are out for share names, but Samba 3's testparm utility doesn't complain about them. I have a feeling that that's a bug in testparm, but its worth making sure... Version-Release number of selected component (if applicable): 1.1.2-1 How reproducible: Always Steps to Reproduce: 1.Share out a directory with a space in its name Actual Results: An invalid share name is created Expected Results: I like the way the tool automatically gets the share name from the directory, I think it should just strip invalid share characters like spaces (and maybe compress long names) - so [sambashare] would be created instead of [samba share]. I also think giving people the option to change the share name manually would be useful too. Additional info: