Solved

Samba Computer Listing

Posted on 1998-05-10
3
252 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now