• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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