LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Basic Samba Setup, Receiving NT_STATUS_BAD_NETWORK_NAME (https://www.linuxquestions.org/questions/linux-software-2/basic-samba-setup-receiving-nt_status_bad_network_name-877691/)

Predatorian 04-28-2011 03:49 PM

Basic Samba Setup, Receiving NT_STATUS_BAD_NETWORK_NAME
 
Howdy,

I had the brilliant idea to share my massive music collection on my tower with my other computers so i dont have to use an external all the time. so i decided to use what i thought i knew, Samba. well, i put in a very basic smb.conf, and when i connect to the server i receive the error,

Code:

NT_STATUS_BAD_NETWORK_NAME
So here is my smb.conf. im sure theres something im missing, but i get confused when i read the manual and look at the default configuration.

Code:

[global]
        workgroup = WORKGROUP
        log level = 3
        log file = /var/log/samba/%m.log
[Fissure Music]
        comment = Fissure_Music
        path = /media/Cassim
        read only = no
        force group = users

I installed Samba by using apt-get install samba. I have used the sudo service smbd restart and sudo service nmbd restart. I also have the user account put into the local machine user database, and i also added the user name to the samba database. gave it the same passwords and all. i also have let the right ports through for UFW. Thanks for any help folks!

smallpond 04-28-2011 08:05 PM

Did you check the log files for errors?

/var/log/samba/smbd.log
/var/log/samba/nmbd.log

Predatorian 04-29-2011 05:57 AM

I figured out what i was doing wrong. if you see up in my smb.conf file, i had the share name as Fissure Music. Well, i was putting in the comment name, instead of the share name. so i changed the [Fissure Music] to [Fissure_Music] and changed the comment so it wouldnt be the same, not that it matters, and then it worked. trust me, i feel really dumb. in my log file for the computer, it stated that the share name didnt exist. so i looked around a bit, and realized that the share name was the words in the brackets. hope this helps someone else in the future.


All times are GMT -5. The time now is 08:47 PM.