- #Use smbup to connect to windows shares install
- #Use smbup to connect to windows shares upgrade
- #Use smbup to connect to windows shares full
- #Use smbup to connect to windows shares tv
#Use smbup to connect to windows shares tv
In case anybody is interested, I got this to work over WebDAV, including XBMC on Apple TV 2. 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. 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. 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).
#Use smbup to connect to windows shares full
(I’m using full paths so we dont accidentally start up the apple supplied smb server ) and samba will be up and running. Sudo /opt/local/sbin/smbd -D & sudo /opt/local/sbin/nmbd -D You can leave the rest of the config file commented out. (that way SMB shares can be accessed at smb://imac instead of using IP based). # 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). 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.
#Use smbup to connect to windows shares install
It’ll automatically install samba 3 and all of its dependencies. 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. 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. I ran all these with the sudo command before them to avoid permissions problems These commands will build and install MacPorts to /opt/local. MacPorts uses autoconf and makefiles for installation. 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). Finally, I’d install a copy of Textwrangler for mac. You will then also install first macports and then samba 3 via terminal, but most of this stuff is copy & paste. 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). This text is partly my own work and partly complied from other tutorials. i needed a fix for Samba, and this came in the form of installing Samba 3 on Lion via Macports and setting up the smb.conf file manually to share my media. For me NFS isnt really an option, it’s clunky, and my network is full of old windows machines, not to mention the XBMC’s on the Apple TV 2, Ipad 2, iPhone and the old Xboxs.
#Use smbup to connect to windows shares upgrade
Well it’s been a nightmare few days with the upgrade to Lion GM breaking Samba sharing. UPDATE – I’ve found a much better fix – Use NFS shares instead- Use NFS shares instead of Samba with XBMC