The default setting in Ubuntu's samba conf it to set "security = user", which means that you have to authenticate with a valid useraccount. To reach the guest's services from any other computer but the host, you would need to set up port forwardings on the host or configure a "bridged" virtual network card.Īuthentication type can be set in the smb.conf. With a "NAT" and "host-only" virtual network card you should be safe. These are examples how you define a share in your smb.conf Īfter you edit smb.conf run "testparm" to check your changes, then let the daemon re-read the config with a "service smbd restart" Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?.How do I make sure that these folders are only available to the host OS and not on the Internet?.Are there any Samba commands that I need to run on the guest to enable sharing?.What do I need to type in nf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories).So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed. I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |