Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 309
  • Last Modified:

SAMBA over the net

Hey guys,

I have Samba setup on my server, I would like to share my /home/ directory with a windows machine over the net, is this possible with SAMBA? Would like to ideally mount it as a network share on Windows, right now I'm doing it via FTP.
0
drakkarnoir
Asked:
drakkarnoir
  • 3
  • 2
2 Solutions
 
RobsonCommented:
Put this section:

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

In your smb.conf file. Additionally you may need to set up your password with 'smbpasswd' if your usual linux password is not working:

smb -a username (from root account, adds entry in smbpasswd file)
smbpasswd username: changes passowrd for user

Regards.
0
 
RobsonCommented:
Errata:

was: smb -a username
should be: smbpasswd -a username

:)
0
 
drakkarnoirAuthor Commented:
And how would I connect to it?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
RobsonCommented:
"Mount it as a network share on Windows" -- just like that :) If you have a linux account called drakkarnoir@linuxmachine your home directory will be shared as \\linuxmachine\drakkarnoir.
0
 
AnonymouslemmingCommented:
If you are trying to use this over the Internet, you will probably have to connect to the FQDN of the machine. You should also have certain ports open for the machine that you want to connect from.
0
 
drakkarnoirAuthor Commented:
Trying it the FQDN way, hang on :)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now