LinuxQuestions.org
Visit Jeremy's Blog.
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 01-25-2004, 03:37 PM   #1
HKDude
LQ Newbie
 
Registered: Jan 2002
Location: Illinois
Distribution: Slackware 9 (VectorLinux)
Posts: 16

Rep: Reputation: 0
Mounting Win2k Shares w/Samba


I've been searching posts and reading samba.org for the better part of a day now and I'm still not close to solving my problem. I'm starting to go a little nutz!

Ok. I'm not trying to do anything too difficult (I think). I have a Win2K domain and I want to use my Linux Redhat 9 laptop to connect to shares on the WIN2K server. That is all I'm trying to do. Nothing else. I have the latest version of Samba installed and (for now) I'm manually starting the smbd and nmbd daemons. Everytime I try either:

smbmount //hkd-server/data /mnt

OR

mount -t smbfs -o userrname=xxx,password=xxx //hkd-server/data /mnt

I get the following error:

Error connecting to 192.168.1.10 (Connection refused)
2325: Connection to hkd-server failed
SMB connection failed

Upon further research, I began to think that I needed to have my linux laptop added to my Win2K domain. This fails as well. I've tried net join -U administrator and it returns:

libads/kerberos.c:ads_kinit_password(133)
kerberos_kinit_password administrator@HKDUDE.COM failed: Cannot find KDC for requested realm
Joined domain HKD-LAND.

All I want is access to the files stored on my Win2k server. Am I missing something oblivious here? Is there another way to do this? In other words, I'm open to suggestions at this point. Please advise me, oh wise ones.

Thanks.

-hkd
 
Old 01-25-2004, 05:39 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Use smbclient with the -L argument and see if you can see the directories. You might have to use nmblookup to convert names to ip address. If you can not see a list of directories, then its your Windows 2000 system. If it works make another directory under /mnt and mount it again. If you are mounting as a user it will give you problems. Mount it as root, su, or as sudo.

You do not need run smbd nmbd. They are for setting up smb shares on your linux system to be seen on Windows systems.
 
Old 01-25-2004, 07:42 PM   #3
HKDude
LQ Newbie
 
Registered: Jan 2002
Location: Illinois
Distribution: Slackware 9 (VectorLinux)
Posts: 16

Original Poster
Rep: Reputation: 0
I can't believe I missed this... After nmblookup returned the *correct* IP address for my server, I realized I had mapped the server's IP incorrectly in my hosts file. Do'oh!!

Works like a charm now...
 
  


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
Can't brose Samba shares from Win2k MepisNoob MEPIS 3 08-18-2005 03:38 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 8 03-22-2004 01:14 AM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 0 01-13-2004 07:03 AM
Samba Directory shares show up as printers on Win2K Boxes mjrdzine Linux - Software 5 12-02-2003 10:55 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM


All times are GMT -5. The time now is 04:31 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