smbclient

Gary Nichols gary@linuxchimp.com
Thu, 11 Jan 2001 14:29:57 -0700


Here's some info I hope you find helpful.

To find the master browser on your network segment:
nmblookup -M "-" -T

Once you find the master, then query the browse list:
smbclient -L nameofmaster -W yourNTdomainname -N

Any other questions, ask away. :)

 ============================================
 Gary Nichols              gary@neoplanet.com
 Network Operations Mgr        NeoPlanet,Inc.
 RHCE #806200886701949      www.neoplanet.com
 --------------------------------------------

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Steven
M. Klass
Sent: Thursday, January 11, 2001 1:54 PM
To: plug-discuss@lists.PLUG.phoenix.az.us;
plug-discuss@lists.PLUG.phoenix.az.us
Subject: Re: smbclient


Just an idea

# tail /var/log/samba.log.nmb | grep 'name server'
Samba name server foobar is now a local master browser for workgroup barfoo
on subnet x.y.z.0
# smbclient -L foobar

that should work..

Later

At 01:03 PM 1/11/01 -0700, Don Harrop wrote:
>I've messed with this a while back too and I remember seeing a list of
>machines in the workgroup/domain.  I can't remember if that's because I
>was connecting to a domain controller.  In a workgroup setting the master
>browser changes to another machine if the master browser is reset.  I have
>no idea which one the master browser is though..  I tried leaving the name
>off and specifying a work group on the command line with -W.  No go's.
>
>Don
>
>---------- Original Message ----------------------------------
>From: sinck@ugive.com
>Reply-To: plug-discuss@lists.PLUG.phoenix.az.us
>Date: Thu, 11 Jan 2001 12:19:57 -0700
>
>
>It's been a while, but I think if you leave of the computer name, or
>name the  domain controller or workgroup (see, fuzzy in there)
>smbclient will list the names of the boxen it knows about/can find.
>
>David
>
>________________________________________________
>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
>post to the list quickly and you use Netscape to write mail.
>
>Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Steven M. Klass
Physical Design Engineering Manager

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 602-940-6200 ext. 18
Fax: 602-940-4255

sklass@andigilog.com
http://www.andigilog.com/



________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss