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."
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".
9/11: Never forget it was a false-flag operation
Easy workaround:
Command-K to bring up the connect menu and type in the full address INCLUDING THE SHARE NAME:
smb://SERVER/folder
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.
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?
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).
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.
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)?
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.
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
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.
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.
Hey, I like Macs. I think Apple rules the roost in the OS world, etc. But hey, reality check:
.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.
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
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...
...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.
.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.
.4, and even then we clone the old drive to a FireWire drive before upgrading, just to be safe.
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
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
~Philly