Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-29-2003, 10:27 PM   #1
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:
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
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: starling

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

Last edited by elzmaddy; 05-29-2003 at 10:29 PM.
Old 05-30-2003, 12:53 PM   #2
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, 02:51 PM   #3
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, 08:54 PM   #4
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.


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 06:01 AM
IPMasq, internet sharing woes (newbie) Eric the Red Linux - Networking 1 02-15-2004 08:04 PM
My abundance of (newbie) Slackware woes Eibwen Slackware 6 01-10-2004 01:55 AM
newbie woes 2BAD Linux - Software 3 06-21-2003 06:43 PM
newbie install woes harlow400 Linux - Newbie 3 01-11-2003 12:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

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