This text is partly my own work and partly complied from other tutorials. You will need a copy of Lion GM installed on your mac, along with a copy of xcode 4.1 (available from a lot of places, legitimate or otherwise). You will then also install first macports and then samba 3 via terminal, but most of this stuff is copy & paste. Finally, I’d install a copy of Textwrangler for mac. Second, install MacPorts from SVN using these directions taken from macports site It will let you edit files in its text editor without using the command line, which is much easier, and will let you unlock & authenticate to save/open files anywhere in the filesystem.įirst, install Xcode 4.1 (DP7 or GM is needed currently). MacPorts uses autoconf and makefiles for installation. I ran all these with the sudo command before them to avoid permissions problems These commands will build and install MacPorts to /opt/local. Now MacPorts will look for portfiles in the working copy.Īfter installing MacPorts, you may need to add it to your PATH, so go ahead and run in terminal: Rsync:///release/ports/Ĭhange it to point to the working copy you checked out: The last line which should look like this: Open /opt/local/etc/macports/nf in a text editor. Once everything with macports is finished setting up, open up a terminal window and type The second command tells macports to download the latest versions of the portfiles (instructions for macports on installing a program) This will make sure that it is added to your path, and you shouldn’t have to specify full paths to binaries. It’ll automatically install samba 3 and all of its dependencies. #Use smbup to connect to windows shares install Now to edit the configuration! It’s pretty straight forward if you read through the config file located at /opt/local/etc/samba3/smb.conf (it’s callend, just remove the. # server string is the equivalent of the NT Description field # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTHĪnd the name of my mac is imac so my server string is Your shares should look something like this (you can have as many as you like):Īlso, remember to change your workgroup name to match the rest of the machines on your network, mine are all on workgroup so mine looks like sample from the filename and open with textwrangler). (that way SMB shares can be accessed at smb://imac instead of using IP based). Sudo /opt/local/sbin/smbd -D & sudo /opt/local/sbin/nmbd -D You can leave the rest of the config file commented out. (I’m using full paths so we dont accidentally start up the apple supplied smb server ) and samba will be up and running. #Use smbup to connect to windows shares full The only downside I’ve found is that you do need to remember to start samba every time you reboot (the “sudo /opt/local/sbin/smbd -D & sudo /opt/local/sbin/nmbd -D” commands). You can use the following launchagent to start the samba server everytime your machine restarts.ĭownload mine here and put it in /Library/LaunchAgents, and it should automatically start up samba for you. If you found this post helpful why not help out my business and buy some geek badges from our site ? NOTE: Please remember to turn off SMB sharing in settings>sharing>File Sharing as the built in OSX Lion SMB implementation will clash with the one you installed via Macports Smb://imac (or whatever your machine is called in the server string above) Now in XBMC just add your samba shares as follows. In case anybody is interested, I got this to work over WebDAV, including XBMC on Apple TV 2. #Use smbup to connect to windows shares tv #Use smbup to connect to windows shares tv.#Use smbup to connect to windows shares full.#Use smbup to connect to windows shares upgrade.#Use smbup to connect to windows shares install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |