i did with sucess with boxee box 1.2 and Mac Os X Lion 10.7.
No samba password need it and it is not need restart samba every time you restart your mac.
1. install Xcode from appstore (free)
2. install macports for Lion
https://distfiles.macports.org/MacPo...-10.7-Lion.dmg
3. install samba3
Via terminal:
sudo su
port -d sync
port install samba3
4. configure samba3
cp /opt/local/etc/samba3/smb.conf.sample /opt/local/etc/samba3/smb.conf
vi /opt/local/etc/samba3/smb.conf
and add this line for no password access
security = share
after in the share section (in this example i share my movies directory)
[thenameyouwant]
comment = your share name as you want
path = /Users/yourmacusername/Movies
available = yes
browseable = yes
guest ok = yes
create mask = 644
directory mask = 755
read only = no
save and exit (:wq)
vi /Library/LaunchDaemons/org.samba.smbd.plist
and paste this lines.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.samba.smbd</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/opt/local/sbin/smbd</string>
<string>-F</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>samba</string>
</dict>
</plist>
save and exit (:wq)
vi /Library/LaunchDaemons/org.samba.nmbd.plist
and paste this lines.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.samba.nmbd</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/opt/local/sbin/nmbd</string>
<string>-F</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>netbios</string>
</dict>
</plist>
save and exit (:wq)
- stop the lion samba if case in share options in system preferences.
Finally in terminal:
launchctl stop com.apple.netbiosd
launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist
launchctl load /Library/LaunchDaemons/org.samba.smbd.plist
launchctl load /Library/LaunchDaemons/org.samba.nmbd.plist
it is not necessary restart samba every time you restart your mac but if you need it:
/opt/local/sbin/smbd -D && sudo /opt/local/sbin/nmbd -D


Reply With Quote
i´m fed up for waiting and waiting... and this is ok to get smb shares on Mac OS X 10.7. In this moment it´s playing Blade Runner
Three restart and shutdowns and everything ok!!

Bookmarks