LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-13-2007, 12:21 AM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Rep: Reputation: 30
Smb mount problem


This is somewhat embarrassing. I have been using Samba and smbmount
for some time now in order to access Win2K shares from a Linux
system. I used to use ICS with 2 NIC's on the Win2k machine to
provide connections to the Linux box for file sharing and Inet access.
I recently switched to a Linksys router which provides all my Inet
connectivity and file sharing.

I haven't changed the Samba setup since it should work with a router
as it did the previous configuration. However, I now cannot mount
the Win2k shares using smbmount; I get

Code:
1237: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
I have users and passwords setup properly, I think, and I specify
in smb.conf

Code:
null passwords = yes
guest ok = yes
guest account = nobody
; encrypt passwords = yes
I haven't needed to use encrypt passwords, I suppose because null
passwords are allowed.

However, I cannot figure out whay this unaltered setup will not
work now; the only change is utilization of a router.

BTW: Internet connectivity works just fine and I can see the Linux
shares in Network Neighborhood.

Can anyone help me out here?
 
Old 03-13-2007, 07:21 AM   #2
polgas
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware
Posts: 26

Rep: Reputation: 15
i have only used samba a bit but try these:

1. if you changed ip address when you changed to a router, check the win2k firewall (if you have one).
2. i think you still need to specify the win2k userid & password when connecting from linux to win2k. i think the smb.conf userid and password is only for connection from win2k to linux.

hope this helps.
 
Old 03-13-2007, 03:38 PM   #3
Slum
Member
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Slackware w/ bleeding edge kernel.
Posts: 37

Rep: Reputation: 15
I never liked smbmount. Nothing but hassles. Here's how I do it...


Code:
mount -t smbfs -ousername=<your_domain_user> //<ip_of_server/<share> /mnt/point
You will then be prompted to enter your password.
 
Old 03-13-2007, 05:49 PM   #4
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Original Poster
Rep: Reputation: 30
Tried Slum's mount technique and ran into the same problem.

Had to be a firewall problem so I checked the logs. Port 445
was beng blocked for some reason. Must be an innate part of
the firewall setup. I configured a specific rule to allow 445
access on the LAN. Everything works as before.

Don't quite understand this since I had no rule specifically
allowing Port 445 before. In fact I had one blocking 445
access from the internet. I apparently don't understand my
firewall setup as well as I thought.

While the Win2k system seems to be using the older NetBIOS
ports 137,138,139, the Samba server seems to be a little
newer using Port 445. One of these days maybe I'll have a
better understanding of all this.

Thanks for your help.
 
  


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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 01:30 AM
type smb unknown when trying to mount xp mount via samba jpantone Linux - Networking 19 11-28-2006 10:08 PM
smb mount Jeebizz Slackware 7 10-23-2004 03:46 AM
strange problem with smb mount -> noexec ? poison Slackware 2 01-06-2004 03:48 AM


All times are GMT -5. The time now is 02:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration