• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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