Re: AFP server with OpenBSD for Mac OS X file sharing

From: Nathan Mates (nathan_at_visi.com)
Date: 09/19/03


Date: 18 Sep 2003 22:15:24 GMT

In article <3F6A2689.5B832B90@NOSPAM_hotmail.com>,
synuw <syn_uw@NOSPAM_hotmail.com> wrote:
>> Using samba is a really easy, fool-proof solution and works like a charm
>> with a OpenBSD samba server and a OSX-client. Smb support is built in on
>> OSX. Alternative is using WebDav to emulate iDisk, so that you can use
>> 'Backup' as well. For this to set up turn to this page:
>> http://www.drijf.net/dototto/index.html

>Thanks for your comment but we already tryed Samba and the problem is that
>Samba doesn't let you write files or directory names with special characters
>which are allowed on Mac Platform but not on Windows, these are for example:
>\ / : * ? < > |

   The Mac must be faking it, then, because "/" (forward slash) is the
(one true) directory separator used by Unix. MacOS X is based on a
FreeBSD kernel, and the pure versions of FreeBSD all use "/". ":" is
the old MacOS (1-9) way of separating directories, and wasn't usable
back then.

   Maybe the Mac is trying to idiot-proof things by transparently
swapping the characters above for ones that look the same but aren't
really the same. But, that leads to the question: why the heck must
you use those characters? "Just because" is rarely a good idea.

Nathan Mates

--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/  
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein


Relevant Pages

  • Re: SAMBA configuration - Machine name
    ... I've got an MSDOS machine with MSCLIENT over TCP/IP running ... server, even if you had one set up. ... If you manually poke holes in the firewall after the fact, after Samba ... name to 8 characters, but it shouldn't be. ...
    (Fedora)
  • Re: AFP server with OpenBSD for Mac OS X file sharing
    ... > Samba doesn't let you write files or directory names with special characters ... > which need these special characters. ... valid chars ... Note that you MUST specify this parameter after the client code ...
    (comp.unix.bsd.openbsd.misc)
  • Re: best email validator
    ... because slash is often used as ... directory separator to store mail. ... lots of <127 characters are not allowed too. ...
    (comp.lang.javascript)
  • [SLE] Arrgggg the filenames....
    ... The part that sucks is that users of the network that ... I have created with Samba for 3 win9X pc's are saving ... in all sorts of weird characters rather than the greek ...
    (SuSE)
  • Re: charset of ext3 drives
    ... Using UTF-8 characters ist not really a filesystem problem, ... and choose a unicode locale that best matches your location. ... If you're using samba shares with "special" characters (anything not low ... the Microsoft truetype fonts are rather good at this. ...
    (Debian-User)