Solved

Samba Computer Listing

Posted on 1998-05-10
3
299 Views
Last Modified: 2010-04-22
Is there a way to get Samba to show a list of all the computers on the current workgroup that are currently exporting directories?  I was looking for something kinda like the Win95 Network Neighborhood, except it doesn't have to be graphical.
0
Comment
Question by:Sylver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
joker1 earned 40 total points
ID: 1635854
First you use "nmblookup -M workgroup" to check for the master browser of your workgroup.
Then you use "smbclient -L masterbrowser". The output of smbclient are the shares of the master browser and a browse list.
The browse list contains all computers which are exporting directories.
Then you can use "smbclient -L computer" to find out which directories the computers are exporting.
0
 

Author Comment

by:Sylver
ID: 1635855
T did that and go the error below:

[root@gaea dragon]# smbclient -L 18.228.0.45
Added interface ip=18.228.0.155 bcast=18.228.255.255 nmask=255.255.0.0
Session request failed (131,130) with myname=GAEA destname=18.228.0.45
Called name not present
Try to connect to another name (instead of 18.228.0.45)
You may find the -I option useful for this
0
 

Expert Comment

by:joker1
ID: 1635856
With my configuration it works fine.

Sorry, that I couldn't help you, but perhaps have a look at the BROWSING.txt that comes with samba.
0

Featured Post

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question