LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-29-2003, 11:27 PM   #1
elzmaddy
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat
Posts: 29

Rep: Reputation: 15
Question newbie samba woes


Greetings all,

I decided to give samba another shot after hours spent configuring it (unsuccessfully). My systems:

windows system name: starling ip: 192.168.0.4
red hat 9 system name: sparrow ip: don't know


For now, all I want to do is mount a windows share. I am trying to do it with this command:

mount -t smbfs -o username=username,password=password //compname/sharename /mnt/share

I get this message:
17016: session request to STARLING failed (not listening on called name)
17016: session request to *SMBSERVER failed (not listening on called name)

My SMB.conf has:
my hosts allow: 192.168.0/24 127.0.0.1
workgroup name set to "WORKGROUP"
All other settings are to defaults ( i didn't change them)
Yes, I did smb service restart after editing it. Any other changes necessary?

I turned off my firewall (zonealarm) on the windows box. I enabled NetBIOS and LMHosts in LAN connection properties. NetBEUI is the protocol for file and printer sharing. I disabled the LAN-side NetBIOS ports blocking on my router. I made the share accessible by 'Everyone'. I usually try to keep all the netbios stuff locked down.

For the Linux box, the firewall setting is 'Medium' and I did not open up any other ports or anything. Also, I edited /etc/hosts and added the line:
192.168.0.4 starling

OK.... So any ideas? Thanks for taking the time.

Last edited by elzmaddy; 05-29-2003 at 11:29 PM.
 
Old 05-30-2003, 01:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try using the ip address rather than the computer name.
 
Old 05-30-2003, 03:51 PM   #3
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Please specify what do you want to do.

You have written about the mount command which should also allow you to see the Windows shares at linux box. (to see starling shares by sparrow box). According to the message probably starling has no shares.

Next you have written about smb.conf. But this is used by samba daemons which allows to see Linux shares from Windows and has nothing to do with mount command.

And what is //compname/ ? //starling/ ?

Regarding the protocols probably you need the 'NetBIOS over TCP/IP' to be checked at Windows machine.
 
Old 05-30-2003, 09:54 PM   #4
elzmaddy
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat
Posts: 29

Original Poster
Rep: Reputation: 15
I just binded TCP/IP to "File and Print Sharing" on the windows box and it worked. It was previously only bound to NetBEUI. I had done this, including disable netbios, because I read that it was a good way to secure Windows. However, I do have ports 137-139 blocked on the WAN-side so I I think I should still be secure.
 
  


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
{{<SuSE Newbie Madwifi Woes >}] Herb_McNewbie Linux - Wireless Networking 1 03-25-2004 07:01 AM
IPMasq, internet sharing woes (newbie) Eric the Red Linux - Networking 1 02-15-2004 09:04 PM
My abundance of (newbie) Slackware woes Eibwen Slackware 6 01-10-2004 02:55 AM
newbie woes 2BAD Linux - Software 3 06-21-2003 07:43 PM
newbie install woes harlow400 Linux - Newbie 3 01-11-2003 01:11 AM


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