LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2004, 01:46 AM   #1
moonpunter
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Sharing files using Samba -- NMDB not running?


Okay,

I recently installed Mandrake 9.1 on the laptop I'm using right now. I like it, even if it's old, it was free. I don't really like much of the crap they're using today anyhow. That's not the point.

I found that I already had Samba installed. What I want to do is sit on my porch and access the MP3 files on the tower in my bedroom. Once I found out it was already installed, I typed smb://BlkBeauty/ in Konqueror. It brought me to a page that listed the shared FOLDERS on that computer. So I click on the mp3 folder, all excited and joyful, and, alas, the files do not load. The "K" gear thing just spins and spins for eternity.

So I figured that since this is Mandrake 9.1 and that computer is running XP Pro, I may need to update Samba. So I have updated it. I've configured it as well. First I just edited smb.conf and then I tried using SWAT. SWAT helped me because it told me that NMDB is not running.

Do I need NMDB running to access the files? It seems that I probably do. So how can I make it run?

I hope someone here can help me, and even if they can't I appreciate any efforts.

moonpunter
 
Old 09-08-2004, 03:42 AM   #2
holder
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Posts: 5

Rep: Reputation: 0
Arrow map the XP folder

You should map the XP directory in Linux:

%% create a directory under /mnt called let's say /mp3

mkdir /mnt/mp3

%% map the XP mp3 directory to the /mnt/mp3 directory just created

[root@lnx root]# cd /bin
[root@lnx bin]# mount -t smbfs -o username=<XP username>,password=<XP password> //XPname/mp3 /mnt/mp3
 
Old 09-08-2004, 09:15 AM   #3
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
You need both nmbd and smbd running in daemon mode (-D), to find out if they are try top or the ps command with -aux for the options.

If all else fails try the killall command and restart both processes by hand like this:

nmbd -D
smbd -D

Also it may be help full to view the contents of your smb.conf file to make sure that samba is properly configured, and make sure you have a user in the smbpasswd file that matches one on the XP machine, (same password and all).

And lastly check the XP box to make sure that netbuei is installed and running.
 
Old 09-08-2004, 09:32 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Futhermore,
Check the log files /var/log/samba. It might provide a clue why nmbd is not running.
 
Old 09-20-2004, 10:26 PM   #5
ukgl01
LQ Newbie
 
Registered: Jan 2003
Location: New Zealand
Distribution: Red Hat 8.0
Posts: 1

Rep: Reputation: 0
A quick note of thanks to the contributors of this thread! After much aggro, I finally got Samba sharing files correctly on my config (RH8 on one box and XP on another) and I can now effortlessly access both system's files from either the windoze or linux file managers.
One thing I have noticed is that as long as you have the xp fs mounted in fstab, you don't need the smbd/nmbd daemons running to access windoze files from linux. You do seem to need them for doing it the other way round though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
HoWTO | Sharing files with Samba the_gripmaster SUSE / openSUSE 4 01-08-2005 11:55 PM
Sharing files using Samba dmaul Linux - Networking 4 11-15-2004 04:23 PM
Samba not sharing files with Windows machine GreenerLinux Linux - Networking 3 12-03-2003 02:51 PM
Sharing files with windows systems using samba ashpai Linux - Networking 3 03-01-2001 12:21 AM


All times are GMT -5. The time now is 09:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration