Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-12-2007, 11:21 PM   #1
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

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

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, 06:21 AM   #2
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, 02:38 PM   #3
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...

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, 04:49 PM   #4
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.


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 11:34 AM
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
type smb unknown when trying to mount xp mount via samba jpantone Linux - Networking 19 11-28-2006 09:08 PM
smb mount Jeebizz Slackware 7 10-23-2004 02:46 AM
strange problem with smb mount -> noexec ? poison Slackware 2 01-06-2004 02:48 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration