smbc_opendir, libsmbclient and broadcasting...

Richard Sharpe sharpe at ns.aus.com
Tue May 29 18:09:50 GMT 2001


At 11:17 AM 5/31/01 -0700, Ray Van Dolson wrote:
>I'm using libsmbclient on a Linux machines with three interfaces (3
>seperate subnets) set up.  When I use smbclient, Samba broadcasts on all 3
>when looking for machines.  However, when I use libsmbclient to do a
>smbc_opendir on a workgroup, eg: smb://STUDENTS, it returns only the
>machines that are on the first ethernet interfaces (eth0) and doesn't
>appear to broadcast on the others.  Is this because smbc_opendir, when
>indexing a workgroup only broadcasts to find a master browser until it
>finds one (which would naturally be on the first subnet) and then stops?
>Is there any way to force smbc_open to look for the master browser on a
>set subnet?

Hmmm, I will have to go back and look, and fire up a system with multiple
interfaces with servers on each interface and test ...


Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list