• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to reach Samba from Windows

A

aburany

Guest
Hello,

Might be a simple question, but can't get this working.
I'm trying to set up a samba share so I could reach some of my files on my PLESK server from my home PC.
I installed the Samba module in PLESK and configured it to have a user, a shared folder, and without an IP restriction.

I tried to access then the files either by:
\\[server.ip]\
\\[server.host.com]\
\\[server.host.com]\[ShareName]

But none of these seem to work. Am I doing something wrong?

The server is running otherwise, and I also set in PLESK the name of the workgroup to the same as in Windows.
 
I tried to open port 139 for both UDP and TCP in iptables, however on lsof -i I get only port 137 and 138 open:

nmbd 16577 root 6u IPv4 19699516 UDP *:137
nmbd 16577 root 7u IPv4 19699517 UDP *:138
nmbd 16577 root 10u IPv4 19699521 UDP [myserver.com]:137
nmbd 16577 root 11u IPv4 19699522 UDP [myserver.com]:138

Aren't these ports used by Samba actually?
 
On my test server I see:

# lsof -i tcp:139
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
smbd 39945 root 21u IPv4 29652221 TCP *:netbios-ssn (LISTEN)

# /etc/init.d/smb status
smbd (pid 39950 39945) is running...
nmbd (pid 39948) is running...
 
It seems I don't have samba at that location:

gamma:/# /etc/init.d/smb status
bash: /etc/init.d/smb: No such file or directory

And I don't get any answer on searching for "smb" in timely manner:

find -name "smb"

Maybe samba wasn't correctly installed by PLESK?
 
Check that you have installed psa-fileserver and samba packages

# rpm -qf /etc/init.d/smb
samba-3.0.33-3.15.el5_4.1

# rpm -qa | grep psa-fileserver
psa-fileserver-1.0.0-cos5.build95100504.12
 
Thanks, but I'm acutally on Debian, so RPM doesn't work for me.
 
Actually found out that psa-fileserver is installed, and there is an /etc/init.d/samba but trying to run it says:

gamma:/etc/init.d# samba
bash: samba: command not found
 
Back
Top