1840379 Members
2630 Online
110164 Solutions
New Discussion

Re: Samba dont work

 
Carmelo
New Member

Samba dont work

Hi

If i will make a connection to my share, i become the message "the network path was not fount"

Server can ping to client and client can ping to server.

I have RedHat 7.2
7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: Samba dont work

hi,
check whether smbd and nmbd are running .
ps -ef | grep smbd
ps -ef | grep nmbd

try restarting samba service

service samba restart
try gain accessing the share.
From the windows client try to ping to samba server using samba server's netbeui name (UNC)

also try this,

c:\>nbtstat -a "server's ip"
please attach the output of the above command

regards,

U.SivaKumar




Innovations are made when conventions are broken
Carmelo
New Member

Re: Samba dont work

yes the service is running but i dont can map the share

i have attached the message
U.SivaKumar_2
Honored Contributor

Re: Samba dont work

hi,
your samba server is not answering netbeui name
queries. are you sure nmbd is running ?
give this command
#nmbd
any errors ?.
#ps -ef | grep nmbd
running ?.
have you set the server name properly in smb.conf?.
also try accessing the share from a windows 98 machine and get back with results.
can please you attach the smb.conf file ?.

regards,
U.SivaKumar

Innovations are made when conventions are broken
Carmelo
New Member

Re: Samba dont work

i don't map with the pc name, i mape with the ip.

here can you see my smb.conf

attached:smb.conf.txt
U.SivaKumar_2
Honored Contributor

Re: Samba dont work

hi,
i think the problem is solved . you have not removed the comment before netbios name .

; netbios name = apprentice
remove ;
then restart the samba service

then give command "ping apprentice" from windows machine.

regards,
U.SivaKumar

Innovations are made when conventions are broken
Carmelo
New Member

Re: Samba dont work

i have changed the line

encrypt passwords = no
netbios name = swizhapp-01

U.SivaKumar_2
Honored Contributor

Re: Samba dont work

hi,
what is the result after restarting the service after this configuration change ?.
i would recommend to kill nmbd once and restart the samba service using
service samba restart.
please get back with results. if nmbd is running with netbios name = parameter enabled
you will be able to get name of the server
using the nbtstat command which i have previously mentioned.
regards,
U.SivaKumar
Innovations are made when conventions are broken