Lion Server's Windows file-sharing bug may be an unwelcome guest from Snow Leopard

Lion Server's Windows file-sharing bug may be an unwelcome guest from Snow Leopard

Summary: A reported file-sharing issue with Lion Server could be something new or a continuing problem from Snow Leopard, suggests John Rizzo, owner of the MacWindows site and author of Lion Server for Dummies.

SHARE:

A reported file-sharing issue with Lion Server could be something new or a continuing problem from Snow Leopard, suggests John Rizzo, owner of the MacWindows site and author of Lion Server for Dummies.

Rizzo points to the similarities between the Lion flavor and the Snow Leopard version.

This might be the same bug seen in Snow Leopard as well, or a variation. The workaround was to turn off extended attributes by editing (or adding) the /etc/nsmb.conf file, and including the line: [default]streams=no

It was hard to know whether Rizzo has the key to the problem based on the discussion on the Mac OS X Server list I described in the earlier post. There were multiple threads that suggested several different but related issues.

For those interested in the handling of the extended attribute interface and the named-stream interface, Rizzo offered a explanation from a post by Anton Altaparmakov on the Darwin Kernel list.

The NTFS driver on Mac OS X will automatically store the resource fork in appropriate NTFS named stream. The name and syntax are stored in a 100 percent compatible way with the Services For Macintosh available on Windows to provide compatibility on that front as well.

Topics: Windows, Apple, Browser, Operating Systems, Servers, Software

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

4 comments
Log in or register to join the discussion
  • RE: Lion Server's Windows file-sharing bug may be an unwelcome guest from Snow Leopard

    I've never, ever seen any good practical use for ADS (alternate data streams) in NTFS, and in general it seems to mostly function as a security risk since the most "effective" use of them seem to have been by hackers and virus writers.
    JustCallMeBC
  • If it is the same bug, I assume that would indicate

    That Lion is actually Snow Leopard wearing lipstick.
    Tim Cook
    • Well, obviously ...

      @Mister Spock ... not everything in Lion was coded from scratch. Huge chunks of it are exactly the same as Snow Leopard, I'm sure. For that matter, lots of the server services are based heavily on Open Source projects, too, which may or may not have been updated.

      Still, it would be very disappointing if a documented Snow Leopard bug made it through to the public releases of Lion, too. One would think such things would be addressed first, before allowing it to get baked into the new OS. Then again, I'm not sure if it's better for this to be an old, known bug or an all-new (but similar?) one. Which is worse?
      jscott69
      • RE: Lion Server's Windows file-sharing bug may be an unwelcome guest from Snow Leopard

        @jscott69 I haven't seen the problem, and I'm on a mixed network of equal-numbered mac and windows machines, each sharing files, and a single lion server.

        I do know, however, that Snow Leopard's SMB server was entirely open sourced and that Lion's SMB was rewritten because of problems with SMB's updated general purpose license meant it couldn't just be carried over.

        I wish the article would expand upon exactly what bug they are referring to.
        lelandhendrix@...