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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-26-2003, 08:43 AM
|
#1
|
|
Member
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166
Rep:
|
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?
|
|
|
|
02-26-2003, 08:57 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
can you ping the address? if so then you should be able to actually use the server name rather than the IP
|
|
|
|
02-26-2003, 09:00 AM
|
#3
|
|
Member
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166
Original Poster
Rep:
|
I can ping the IP address, but not by hostname, ie 'ping 192.168.0.1' works, 'ping windowsbox' does not.
|
|
|
|
02-26-2003, 09:02 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
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
|
|
|
|
02-26-2003, 09:04 AM
|
#5
|
|
Member
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166
Original Poster
Rep:
|
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
|
|
|
|
02-27-2003, 04:26 PM
|
#6
|
|
Member
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133
Rep:
|
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.
|
|
|
|
02-28-2003, 12:51 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2003
Posts: 10
Rep:
|
Im having the same problem with slackware 8.1 did you figure out what is wrong?
chris
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|