Slashdot Mirror


File Sharing Difficulties Frustrate Tiger Admins

rmallico wrote in to mention a story currently running on Eweek about technical difficulties sites running Tiger are experiencing. From the article: "A number of sites running Apple's new 'Tiger' operating system are experiencing problems with SMB file sharing and authentication with Microsoft's Active Directory, Ziff Davis Internet News has learned. Although Apple Computer Inc.'s Tiger increases support for Server Message Block file sharing and Active Directory, several sources say that the Finder fails to log on to Windows and Linux Samba file servers."

24 of 334 comments (clear)

  1. Oh, right, error code -36! by xiando · · Score: 5, Insightful

    The most interesting thing I noticed in the article was actually that the error message for the Connect to Server failure is "error code -36". A friend of mine who uses Mac OS X has always complained much about how the Mac never tells you anything about what is actually wrong, only gives you a number that is in no way useful for solving the problem. It is amazing this is still the case in Tiger, what in the world would be wrong with giving at least a tiny bit of information or just a hint of what is wrong? Even the good old Windows blue screen is more informative than "error code 4".

    1. Re:Oh, right, error code -36! by FidelCatsro · · Score: 5, Informative

      Its actualy very usefull if you have a list of the error codes and what they mean.
      http://www.appleerrorcodes.com/

      --
      The only things certain in war are Propaganda and Death. You can never be sure which is which though
    2. Re:Oh, right, error code -36! by moonbender · · Score: 4, Funny

      Error -1, I will never forget you.

      --
      Switch back to Slashdot's D1 system.
    3. Re:Oh, right, error code -36! by Aphrika · · Score: 4, Interesting

      It is useful until you find that error -36 is written up as:

      -36 ioErr I/O error

      It'll point you in the right direction I guess, but it's by no means a definitive description of the error.

      I must admit that I'm a little baffled as to why Apple don't include better error reporting and descriptions in OSX. It is because they are still assuming these kind of errors will only be seen by techs that know what they mean, or are they still living in a world where they refuse to acknowledge that Macs do throw up the occasional message to the user?

    4. Re:Oh, right, error code -36! by Anonymous Coward · · Score: 5, Interesting

      IO error can not read or write to the directory . meaning it is not there , the reason for this is Apples implementation of samba on tiger requires the full path

    5. Re:Oh, right, error code -36! by FidelCatsro · · Score: 5, Informative
      More info can be obtained from console.app in the Utilities directory under Applications(/Applications/utilities , or just go through the system logs from the terminal , but console.app is a rather nice time saver), its just a colection of the systems logs but its rather usefull and searchable .
      It does give a more detailed output. for example when i try to connect to my existant SMB share it gives me
      May 7 11:32:53 Xcomp kernel[0]: netsmb_dev: loaded
      May 7 11:32:53 xcomp[0]: netsmb_dev: loaded
      May 7 11:35:39 xcomp[0]: smbfs_aclsflunksniff: user sid S-1-5-21-2466424394-2119469220-2469460652-2002 didnt map
      I would have given an example of the error output from the specific problem , but i am doing some work on the linux comp that runs my nfs and samba shares right now .
      --
      The only things certain in war are Propaganda and Death. You can never be sure which is which though
    6. Re:Oh, right, error code -36! by Megane · · Score: 5, Insightful
      Those low negative number error codes date back to 1984 with the original release of the Macintosh, but usually only a few come up. When you see them with OS X, you know you've got something with roots in the old days, like the HFS file system. And then there are the larger negative numbers (usually 4 digits) from when blocks of error codes were assigned willy-nilly to stuff like the Appletalk network stack and AFP file sharing.

      And -36 doesn't help even if you know what it means, because it's just a generic "I/O error". Originally it was for media problems (like an unreadable floppy), usually accompanied by strange sounds from your disk drive, but for a network file system it's kind of silly. So even the old-timers say "yeah, that sure tells me a lot".

      Other -3x range errors include file not found (-34?), end of file (-39?), and file name too long. Another good one is -50, parameter error. Well, duuuuuuh, which parameter? What's wrong with it?

      The worst one to see is -127. That one means your file system data structures are in deep doodoo.

      But seriously, the days of 400K floppy disks are long gone. It's total laziness that nobody bothers to print a text error message along with the number. I've been doing that in my own code since the days of 800K floppies. Even printing out the ten most common error messages as text helps most of the time.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    7. Re:Oh, right, error code -36! by hey! · · Score: 4, Funny

      They're just pandering to the Geek crowd.

      "Oh, yeah, -36, that's an I/O Error. Check the logs, then sacrafice a pure white chicken under the full moon and pour its blood into the NT server."

      They're just trying to rope in the Geeks along with their artsy-fartsy core fanbase, with the hope that some will mate, producing a new generation of geeksy-farts ultracustomers who will be irresistably drawn to Apple's unique blend of superior design and industrial strength Unix aracana.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    8. Re:Oh, right, error code -36! by As+Seen+On+TV · · Score: 4, Informative

      Actually what the spinning cursor icon means is that the program that has focus has events waiting to be processed by the run loop. That cursor appears automatically when an event waits for longer than a hard-coded threshold ... I think it's three seconds, but I doubt myself and I don't feel like looking it up right now. It would usually happen when the process was waiting for a kernel lock for some reason, usually disk or network I/O. The incidence in Tiger should drop dramatically thanks to finer-grained kernel locking.

      Admittedly this is an esoteric implementation detail. It's not really meant to communicate anything to the user other than "I'm waiting."

  2. Work-around by Noksagt · · Score: 5, Informative

    Easy workaround:
    Command-K to bring up the connect menu and type in the full address INCLUDING THE SHARE NAME:

    smb://SERVER/folder

    1. Re:Work-around by Noksagt · · Score: 4, Informative

      Also note that you can also do it on the CLI. Open up term and do a:
      $ mount_smbfs -W workgroup //user@SERVER/folder ./mntpoint

  3. Opposite Experience by Anonymous Coward · · Score: 4, Interesting

    Weird, I've found with Tiger that Windows file sharing has been easier, although I don't use Active Directory. With Panther my password was never remembered by Keychain, despite clicking the option to enable it. With Tiger my password is remembered. It also finds my Windows shares automatically, whereas with Panther I had to manually connect by entering IP addresses.

  4. Not sure if it's this... by mferrare · · Score: 5, Informative
    I had a problem with 10.3 authenticating to a W2k3 AD server and mounting shares. Turned out I had to modify the Domain Controller Security Policy on the server and set Microsoft Network Server: Digitally Sign Communications (always) to Disabled. I am now running 10.4 and I have no problems connecting to this w2k3 server.


    I got this solution from here by the way. Thanks to Drew McLelland.

    --
    Why would anyone want to use a text editor that is not vi?
  5. I fixed my problems by mr_zorg_mobile · · Score: 4, Informative

    I had this problem too after upgrading. I found that deleting my SMB keychain entries solved it allowed me to login again (after getting my admin to unlock my account from all those failed attempts).

  6. Re:Here's a bet: by Graymalkin · · Score: 5, Insightful

    So, say it worked great in all beta builds until the gold master. It had been tested and came up green so in latter beta builds it wasn't tested anymore because it worked. Then say sometime between the last beta build and the GM (which are a few builds apart) a butterfly flapped its wings bug caused SMB mounting to break in Finder. Errors happen because systems are complex and there's dependancies that depend on more dependancies, a error in the chain can cause really weird errors in seemingly unrelated parts of the system.

    Your car analogy is flawed. New cars do have bugs when they roll off the lot. You would be really surprised at the number of real issues every car or every batch of cars has off the factory floor. Many times however these flaws and bugs don't crop up and cause a noticeable problem for a long time if ever. There are some problems that do crop up quickly however. It would be one thing if the manufacturer ignored this and went on its merry way. It is entirely another if they repair your car for you. I just had the dome light fixed in my car because of a faulty latch, should I be screaming about the manufacturer not having any QA? No.

    The car analogy also falls flat when compared to something as easily changed as computer software. A patch containing the repair can be very small and be distributed to millions of affected users very quickly. If your car is in the shop for a week you're out one car. If SMB shares don't show up in Finder's Browse window properly you're not out SMB shares as you can work around the problem if need be.

    --
    I'm a loner Dottie, a Rebel.
  7. Finder and Linux Sambda shares by reddish · · Score: 5, Interesting

    On a related note: I'm seeing really bad performance when copying a file from a Linux Samba share to my OSX machine (roughly 100 kb/sec, if that). Oddly enough, file uploads are ok (megabytes per second). Odder still, if I open a terminal and copy directly to my machine from the Samba share mount point, incoming copies are fast too. This has been going on from at least 10.2, and much to my dismay it is still an issue in 10.4. This really seems like the Finder is trying to talk Sambalese by itself (and does so differently than the SMB filesystem driver). Has anyone else noticed this behavior (and, perhaps, solved it)?

  8. I don't use samba anymore by Sarin · · Score: 4, Interesting

    I used to work with samba, having a linux fileserver and a mac osx powerbook, but recently I started working with nfs. It seems a bit faster and more stable. When I change some file on the server, it's directly visible in finder - without having to refresh it.

    I also was annoyed the fact when I turned my powerbook on after it went to sleep it would give me a lot of errors about unmounting a network drive. This also was the case with tiger. With nfs, those problems are gone an nfs mount will stay active after the powerbook comes back from sleep.

  9. History of SMB problems with OS X by tyagiUK · · Score: 4, Informative

    I first started using OS X in the early days of 10.2 (yes, a relative latecomer). This was when my wife bought an iBook (after some *ahem* guidance... read encouragement) for studies she was undertaking. When she wasn't working on it, I got to play and set to work integrating it with our home network.

    The pain I had getting SMB to perform acceptably under 10.2 nearly put me off OS X. Basically, the way that 10.2 handled mounting network filesystems really sucked. It was unreliable and often left the system hanging with a spinning beachball (the Mac equivalent of an egg timer). Often, powering off was the only solution.

    This was fortunately fixed later on in the 10.2 lifecycle with some networking updates. Things got much better from then on.

    When I got my own iBook several months later, it arrived with 10.3. This release seemed to have a reasonably good SMB implementation, but the performance was truly sucky. File transfer speeds between the iBooks and my Linux-based Samba server were low, but at least mounting was reliable.

    As 10.3 progressed, this problem went away and performance/reliability are currently both very good. It means I can use SMB between my Linux server and both iBook and Windows XP clients. All works just fine.

    I am, however, considering a move to WebDAV for file sharing on the network. WebDAV is a nicely lightweight protocol and has the benefit of being an open standard. Most good implementations are open source too. There are also client libraries for most decent scripting/programming languages. The added benefit is that you can integrate the WebDAV server in to OS X to perform iSync backups of your system and do calendar sharing etc. All nice, geeky, stuff.

    The only major problem I can see at the moment is that the way the WebDAV server interacts with the underlying filesystem is a bit complex, given that my server runs under Apache. The model it appears to assume is that the server will have a dedicated directory or area for WebDAV files, and not simply share out a user's home directory or a backup drive.

    I do need to go and RTFM, however.

    --
    Contribute to the online videogame encyclopedia: GamerWiki
  10. Re:Here's a bet: by eraserewind · · Score: 4, Insightful
    It had been tested and came up green so in latter beta builds it wasn't tested anymore because it worked.
    No offense, but what the hell sort of software engineering practice do you call that?
  11. Should all new software have bugs? by guet · · Score: 4, Interesting

    Perhaps they need to do more automatic regression testing (daily) on each build then?

    I think the car analogy is (for once : ) a good one. We have come to expect failure from Software, and that shouldn't be the case - it should be very rare, not inevitable with each new release. They did rush the release of Tiger, and certain things suffered for it. Yes they will probably fix it quickly, but it'd be nice if they had a more extensive testing program, with sufficient time alllotted to do the QA work, for catching regressions like this.

  12. No Admin worth their salt installs a new OS by Beebos · · Score: 5, Insightful

    If an "admin" installs a brand spanking new OS immediately after release, that admin should have his pocket protector taken away from him. Particularly if one is working in a business or other mission critical environment, installing new OS without giving time for new bugs to be discovered and addressed is a sure sign incompetance.

    1. Re:No Admin worth their salt installs a new OS by caseih · · Score: 4, Insightful

      This is surely true, although Apple apparently does not think so. Recently I received two e-mails from Apple's development team regarding bug reports that I and others have filed for Panther Server regarding critical OpenLDAP bugs. In a nutshell the e-mails said, "we think the bugs don't exist in Tiger Server. Please upgrade to Tiger Server and tell us if this is the case." I was stunned. I sent them a strongly worded response to tell them that this was not acceptable. Apple just doesn't yet understand what it takes to produce Enterprise software. We need very long support lifetimes (3-5 years minimum) and upgrading major OS versions outside of normal hardware replacement cycles (with proper testing) is *never* done except in extraordinary circumstances. Right now I am very unhappy with Apple. Does anyone even know what the life expentancy of Panther Server is? What about Tiger? I can't find this information anywhere and Apple has not yet responded to my queries. Judging by the terrible LDAP problems I had with OS 10.3 (not fixed until 10.3.9!) I am in no hurry to put Tiger Server into production. I learned my lesson the hard way.

      Now that AFP support under linux is much better, I'm almost certainly going to go back to Linux for my main file servers. At least it is a known quantity.

  13. Wait a minute... by catdevnull · · Score: 4, Insightful

    Hey, I like Macs. I think Apple rules the roost in the OS world, etc. But hey, reality check:
    SysAdmin Rule #1: If you depend on it, and it works fine the way it is, don't mess with it. [If it ain't broke...]
    SysAdmin Rule #2: If you want to mess with it, test it before deploying it.

    Why the hell did people install a .0 release and expect that it would not be without bugs? I say if any sysadmins out there were silly enough to make a hasty upgrade before testing (ignoring the above caveats) they deserve the problems they're experiencing.

    We waited to deploy WinXP until the first service pack was released--and that saved our ass. I think it's ignorant to ignore that principle on the Mac side as well--esp. with a major update.

    Early adopters are unpaid beta testers. Congratulations--you found the bugs!

    --

    I might know what I'm talkin' about, but then again, this is Slashdot...
  14. Apple or not... by phillymjs · · Score: 4, Insightful

    ...you're a fool and deserve everything you get if you put a week-old OS on production hardware without doing non-production testing or having a fall-back.

    If you insist, however, do it right. Prep a build of the new OS and put it on its own hard drive in the machine of your one or two most clueful end users. Let them beat on it for a while and document their problems/questions as they try to do their work. Once in a while go through the list and address their fixable issues. If they happen upon a show-stopper, they simply boot from the drive with the old build on it and use that until the next service release appears. Then you apply it, and test again. Repeat as necessary until the number of issues is low enough that you can confidently deploy the new OS build to all end users.

    I have used this technique to great effect at several of my Mac clients, though I don't even consider giving them the newest OS until the .2 or .3 service releases have been out for a few weeks. A couple of my clients used to question this conservative method until some renegade users bought and installed Panther right after its release (without authorization from anyone) and ended up being basically unable to work until I reverted them to the standard OS/applications build.

    As for OS X Server, that gets tested in my company's lab and on my bench at home from the day we get it, but it doesn't get rolled out anywhere until .4, and even then we clone the old drive to a FireWire drive before upgrading, just to be safe.

    ~Philly