LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-26-2003, 08:43 AM   #1
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
samba won't mount windows shares


We have a Suse linux server on our network (across the WAN), and need to mount Windows shares with it. I can mount shares just fine on windows boxes from my laptop (Slackware) on the local network. I come from a Slackware/Gentoo background, and am apparently not mounting correctly with Suse. This is my procedure:

mount -t smbfs //192.168.0.1/temp /mnt/windows
7822: session request to 192.168.0.1 failed (Called name not present)
7822: session request to 192 failed (Called name not present)
7822: session request to *SMBSERVER failed (Called name not present)
SMB connection failed


I glanced over the /etc/samba/smb.conf file and it appears ok. Any suggestions?
 
Old 02-26-2003, 08:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
can you ping the address? if so then you should be able to actually use the server name rather than the IP
 
Old 02-26-2003, 09:00 AM   #3
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
I can ping the IP address, but not by hostname, ie 'ping 192.168.0.1' works, 'ping windowsbox' does not.
 
Old 02-26-2003, 09:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes, fair enough. afaik samba doesn't actually resolve computer names by dns means, but instead broadcasts out and waits for the compuet to own up to being that machine. try just using the host name. of course, i might be completely wrong. that's been known a few times
 
Old 02-26-2003, 09:04 AM   #5
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
hehe, already tried that. Mounting with hostname results in this:

tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory
8126: Connection to windowsbox failed
SMB connection failed
 
Old 02-27-2003, 04:26 PM   #6
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
Two THings:
try using the command SMBMOUNT instead of mount

try using backslashes in the command, I'm not sure if that makes a difference.
e.g.
\\192.168.0.1\sharename /folder/mountpoint

That's all I can think of, I'm not very experienced in this, although Samba is my strength.
 
Old 02-28-2003, 12:51 AM   #7
axis
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Rep: Reputation: 0
Im having the same problem with slackware 8.1 did you figure out what is wrong?

chris
 
  


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
can mount samba shares, but not browse them broxtor Linux - Software 0 11-19-2004 12:00 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 06:03 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
mount samba shares (?) bkeating Linux - General 7 07-01-2002 11:23 PM
Using samba to mount windows shares King V Linux - Software 2 10-13-2001 01:30 PM

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

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