PDA

View Full Version : repost: Samba OSX fix for Tiger users



ultimind
4th June 2005, 15:46
For getting images and other small files on and off my Octanes, I rely on a Samba share so I can easily read and write to a folder on my Octane's internal disk. Pre-Tiger, I would simply browse the network from my Powermac G5, find the Irix system I want to mount, connect to it, mount the share I want, and copy the files i want all day long....

BUT!

When Apple released Tiger, they added a little feature to Samba...They encrypt the passwords. This poses a problem because Samba on our Octanes were never set up to have encrypted passwords.

After spending OVER TWO HOURS on the phone with Apple technical support, and eventually getting NO WHERE, I set out to fix it myself. A quick Google search for "samba, tiger, syserr = Authentication Error" yieided a post on MacNN Forums. http://forums.macnn.com/showthread.php?p=2511609 A HUGE THANKS goes out to GreyArea on MacNN Forums for figuring this out!!!!

Here's how you fix what Apple broke:

go on your Irix system,

cd /usr/samba/lib

cp smb.conf to wherever you want to edit it

rm smb.conf (get rid of this file for now in this location)

go where you put the smb.conf

jot smb.conf

add "encrypt passwords = yes" to [global], no quotes

cp smb.conf /usr/samba/lib

reboot your machine

Enjoy your Samba shares on your 10.4 systems again!!! They'll mount just like they used to through your Network browser.

THANKS APPLE FOR LETTING US KNOW WHEN YOU CHANGE STUFF LIKE THIS!!!
Can I bill them for the 2 hours i spent on the phone with them while i was losing productivity at work?

They've atleast gotta let their tech support know or be VERY SPECIFIC when they say "Changes made to SMB/CIFS" in their updates.


Again, thanks to GreyArea on MacNN Forums for finding this...don't think he was using irix, but the fix still works!

PS.. I applied this fix using telnet and smbclient all over wireless from my Powerbook using Terminal... so there's many ways you can apply this fix...just a matter of being able to access the file(s) and edit them.

hani
5th June 2005, 19:41
Here's another way if you don't want to tweak your SMB server:

http://docs.info.apple.com/article.html?artnum=301580