- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Hint: SAMBA don't use < > character in path statem...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 02:55 AM
01-21-2009 02:55 AM
Hint: SAMBA don't use < > character in path statement
I had defined in smb.conf the path statement with < > in the directory definition
e.g. path = disk:
This definition makes some problems during access from the windows client.
Read access works, but samba$smbd.dmp was generated. Write access doesn't works.
Solution:
Use [ ] in the path statement
e.g. path = disk:[directory]
Then read and write access works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 04:14 AM
01-21-2009 04:14 AM
Re: Hint: SAMBA don't use < > character in path statement
At this point in history I think anyone opting to use <> for directory delimitors deserves the trouble they get.
- 30 years ago it seemed like a fine idea.
- 20 years ago it was cute to know you could use it, and protect against it usage
- 10 years ago it turned into a nuisance
- now it is stuborn and annoying.
Just an opinion.
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 05:26 AM
01-21-2009 05:26 AM
Re: Hint: SAMBA don't use < > character in path statement
Its one thing to roll-your-own parsing for in-house developed code (although you'll probably pay a maintenance price down the road some day) but its inexcusable to do it for code developed to be deployed either commercially or as open-source or freeware where the environment is not under the developer's control.
This should be reported back into the Samba CIFS development process for remediation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:23 AM
01-21-2009 06:23 AM
Re: Hint: SAMBA don't use < > character in path statement
That's exactly what I meant to say and probably should have said, but I opted for the 'fun' reply.
Cheers,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:54 AM
01-21-2009 06:54 AM
Re: Hint: SAMBA don't use < > character in path statement
Even OpenVMS Engineering itself can't get it right in various cases. PCSI, for instance, implements its own filename parsing. And it botched angle-bracket parsing.
Beyond the parsing, another piece that's missing here is an I/O layering akin to FUSE or the kernel-level APIs; there's no easy way to plug a variant file system into OpenVMS, as the Samba and NFS and DFS folks have found.
I deliberately used angle brackets in my normal OpenVMS operations for some years, specifically to try to catch these cases. But out here in the wild, the best approach is more likely the "if it hurts, don't do it" maxim.