LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-21-2003, 12:44 PM   #1
will_k
LQ Newbie
 
Registered: Aug 2003
Location: Seattle
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Samba - nmblookup


After searching a few hours on google and looking at the man pages for nmblookup and smblcient, I cant seem to find a command to list smb workgoups and shares.

More:

I'm logged into my webserver (redhat9) remotely via ssh. The webserver is networked with other computers containing windows shares. I don't know their ip addresses, workgroup names, or netbios names. And, I don't really want to use nmap to scan and find them all. Is there a better way to discover workgroups and shares via command line?

Thanks in advance,

Will

Last edited by will_k; 08-22-2003 at 06:55 AM.
 
Old 08-22-2003, 01:39 AM   #2
Neo_the_one
LQ Newbie
 
Registered: Aug 2003
Location: Chennai
Distribution: RH 8
Posts: 8

Rep: Reputation: 0
in my system just doing
# smbclient -L localhost -N
does the magic.
 
Old 08-22-2003, 06:46 AM   #3
will_k
LQ Newbie
 
Registered: Aug 2003
Location: Seattle
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
Right, well that shows great info for localhost. But I need to know the the shares and workgroups for the other machines on the network.
 
Old 08-25-2003, 02:48 AM   #4
Neo_the_one
LQ Newbie
 
Registered: Aug 2003
Location: Chennai
Distribution: RH 8
Posts: 8

Rep: Reputation: 0
do
#smbclient -L <<REMOTE MACHINE NAME>> -N

this is true for a particular n/w and a particular workgroup
 
  


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
Fedora 4: Samba running but nmblookup doesn't work and can't see in windows lsgko Linux - Networking 3 09-15-2005 12:10 AM
nmblookup azeem81 Linux - Software 0 05-31-2004 03:33 PM
nmblookup ? Menestrel Linux - Networking 5 05-22-2004 04:55 AM
Samba problem, nmblookup not finding W2K box dwynter Linux - Networking 5 06-24-2003 03:44 PM
Samba Prob: nmblookup failure paulmann Linux - Networking 2 06-09-2003 08:17 PM


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