LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2011, 03:49 PM   #1
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Rep: Reputation: 28
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!
 
Old 04-28-2011, 08:05 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Did you check the log files for errors?

/var/log/samba/smbd.log
/var/log/samba/nmbd.log
 
Old 04-29-2011, 05:57 AM   #3
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Samba Setup tebucky Linux - Newbie 14 01-06-2010 06:55 AM
samba: NT_STATUS_BAD_NETWORK_NAME sohmc Linux - Networking 7 12-21-2007 11:49 AM
Very Basic Samba Setup DukieJF Linux - Newbie 3 01-28-2006 04:25 PM
FC4, SAMBA & WinXP home basic setup help please?! :) KevinAlaska Linux - Networking 3 11-09-2005 10:53 AM
Basic Samba Setup aeuzent Linux - Networking 4 09-27-2005 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration