Samba Wierdness
Do you get the following annoying error when connecting to a Linux box with Samba Shares from a Mac running OSX 10.4 and above?
[root@gizmo ~]#tail -50f /var/log/samba/mac-mini.log
[2006/04/24 00:18:50, 0] rpc_parse/parse_prs.c:prs_mem_get(537)
prs_mem_get: reading data of size 2 would overrun buffer.
[2006/04/24 00:18:51, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(919)
api_pipe_bind_req: unable to unmarshall RPC_HDR_RB struct.
Well, the problem is with the enumeration of Samba groups with version 3.0.14 of Samba, which is what you get with Fedora Core 4. Windows boxes handle it ok, probably because they have to be able to handle really old versions of Samba on their network, but Macs hang. (Or at least the mount -t smbfs process hangs.)
So, what's the cure? Well, it's a little complicated. You'll need the following:
- A web browser (or wget or similar);
- root access to the linux box;
- At least one glass of wine/beer or other beverage of your choice;
- Cardboard cutouts or action figures of Steve Jobs and the Red Hat Developers (Why isn't there an action figure of Steve Jobs? With the inbuilt Reality Distortion Field and the +2 Charisma roll when he's presenting cool new technology?)
- A baseball bat; Cricket bats are an acceptable subsitute for those regimes where baseball is not played. Other alternatives, such as hurleys or edged weapons are also suitable. Note that Japanese are allowed to use both edged weapons *and* baseball bats in a sen no sen stance.)
- A glass of wine/beer or other beverage of your choice. (Well, you'll probably need more than one.)
Here's what you need to do:
- On the linux box, point your browser at http://us3.samba.org/samba/ftp/Binary_Packages/Fedora/RPMS/i386/core/4/.
- Download all the files there
- Drink your beverage while waiting for the files to download.
- Idly thwack your cardboard cutouts/actions figures with your weapon of choice as if to say, "one of you guys has got it coming later"
- Upgrade your samba packages: rpm -Uvh samba-*
- Have another sip of your beverage while this is happening.
- Taunt cutouts/figures a second time.
- restart samba: /etc/init.d/samba restart
- Switch to your Mac (you may need to wear a stylish beret/shades/ponytail when using the Mac) and browse samba shares on your linux box.
- Viola! (err, that's a big fiddle, sorry) Voila! your shares are now visible on the Mac!
- Firmly thwack both the Jobs *and* redhat cutouts/figures for not solving this simple problem with simple updates.
- Raise your remaining beverage in a toast to the samba guys for actually fixing the problem in the first place.
About Me
Contact
- Unsolicited Bulk Email (spam), commercial solicitations, SEO related items, link exchange requests, and abuse are not welcome here and will result in complaints to your ISP.
- email the webmaster
- Any email to the above address may be made public at the sole discretion of the recipient.
Other Stuff
Some Blogs
- WWdN: In Exile (Wil Wheaton)
- Uncertain Principles
- Crooked Timber
- Official Google Blog
- Wine Library TV
- Slashdot
- waider
- waidesworld
- Making Light
- The Language Hat
- Neil Gaiman
- Whatever: John Scalzi
- Charlie Stross's Diary
- Ken MacLeod
- Dave Langford's Ansible
- Contrary Brin
- Stephen Fry
- Veronica Belmont
- Mahalo
- Merlin Mann
- Kung Fu Grippe
- Jonathan Coulton
- David Gerrold
- Orcinus
- The Sideshow
- Josh Marshall
- Atrios (Eschaton)
- Hullabulloo
- 43 Folders
- Wis[s]e Words: Ceci n'est pas un blog
- Wil Harris
- Boing Boing
- Engadget
- Gizmodo
- LifeHacker
- The Poor Man
- Creative Commons
Environental Sites
Apple News and blogs
- Apple Hot News
- Mac Rumors
- Andy Ihnatko
- TUAW
- MacRumors
- Apple Insider
- Fake Steve Jobs
- Erica Sadun iPhone developer
- Mac OS X Hints
- 9 to 5 Mac
- MacWorld
Linux News
Photography News and blogs
- DPReview
- Photo.net
- This Week in Photography
- TWiP Blog
- Strobist (flash photography)
- Stuck In Customs (HDR)
- Pentax
- Pentax Support
- The Gimp
- Photomatix
- PhotoFocus
News and Politics
- Google News
- BBC News
- South China Morning Post
- HK Standard
- UK Guardian
- Your Yahoo!
- WhiteHouse.org
- Christian Science Monitor
- The Onion (Even better than the real thing!)
Podcasts
Web Comics
- User Friendly by Illiad
- Sheldon by Dave Kellett
- Dilbert by Scott Adams
- Doonesbury by Trudeau
- XKCD by Randall
- The Joy of Tech comic by nitrozac
- PVP Online by Scott Kurtz
- Real Life by Greg Dean
- Questionable Content
- Mega Tokyo
- WonderMark by David Maliki
- Girl Genious
- Penny Arcade by Gabe and Tycho
- NASA astronomy picture of the day
- The World of Lily Wong
- Hi Jinks Ensue
- Three Panel Soul
- Girls With Slingshots


Recent Comments