I am trying to enable SAMBA (SMB) from terminal.
This enables AFP and File Sharing:
sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist
But I want enable SMB too from terminal. How can I do that? I need this for MAC OS X (10.5, 10.6, 10.7).
P.S. Same effect if you go to System Preferences->Sharing->File Sharing->SMB (Windows) need to be enabled.