Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Just Joined
  • Content count

  • Joined

  • Last visited

About wownotown

  • Rank
    InsanelyMac Protégé
  1. After playing with Leopard and updating to 10.5.1, I noticed that file sharing really sucked with this new version. Tiger had no problems sharing files back and forth between a windows or Linux machines. I decided to see if I could improve the situation, which I did. Below are the steps. Warning, this will break the CIFS implementation built into Leopard, but in my opinion, make it better. Before this change, files copied from my Vista box to my OSX box averaged a mere 123 KB / sec. After this change, files copy to the OSX box average about 50 MB / sec. This was over a 1 Gigabit connection. Leopard uses an old version of Samba with some strange tweaks. I decided to install the latest Samba, found here. http://samba.org/samba/ftp/stable/samba-3.0.28.tar.gz You need XCode 3.0 to install and compile the new version of samba. Go here to obtain the dmg image. https://connect.apple.com/cgi-bin/WebOb ... leID=19897 Install XCode on your machine after downloading. Unzip the samba gzip file to your home directory and enter the /Users/username/samba-3.0.28/source directory Change to root using "su" and your root password # ./configure --with-syslog --prefix=/etc/samba --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/etc/samba --mandir=/usr/share/man --with-utmp=no # make # make install You also need to move or remove the launchd plist files for the older version of Samba, which are found here /System/Library/LaunchDaemons/nmbd.plist /System/Library/LaunchDaemons/smbd.plist For easy file sharing, you can use the following smb.conf file which should be placed in the /etc/samba directory. Edit the file to your preferences. [global] server string = Mac OS X printcap name = cups printing = cups map to guest = root guest account = root security = share log file = /var/log/samba/log.%m [root] comment = All Files path = / guest ok = yes writeable = yes browseable = yes You need to restart the computer for the changes to take affect. To start the samba server just run a terminal window and type "smbd" everytime Leopard starts, or add the following configuration cd /System/Library/StartupItems mkdir samba cd samba touch samba chmod 755 samba touch StartupParameters.plist The following information goes into the samba file, use your favorite editor #!/bin/sh . /etc/rc.common /usr/sbin/smbd The following information goes into the StartupParameters.plist file (don't know if this is needed) { Description = "CIFS / SMB File Server"; Provides = ("SMB Server"); OrderPreference = "None"; Messages = { start = "Starting SMB Server"; stop = "Stopping SMB Server"; }; } Hope this works for you. Now Leopard is working like a true SMB File Server. MSI 945GM3 Motherboard Seagate 250 Gig SATA II HDD 2 Gigs G-Skill DDR2 400 Mhz Memory XFX Nvidia 7600GT Video Belkin F5D7002 Card (Broadcom Chipset) Lite-On DVD-Burner OSX Leopard 10.5.1 using EFI 8.0 Dual Boot Fedora 8.0 with Grub on Fedora Partition and EFI on that partition