Multiple subnets again & libsmbclient.so

Richard Sharpe sharpe at ns.aus.com
Wed Jun 13 04:22:20 GMT 2001


At 08:05 PM 6/12/01 -0700, Ray Van Dolson wrote:
>I asked this here before and I believe the author was going to look into
>it a bit.  Not sure if he's had time, but thought I'd ask again...

No time so far ...

>My box has two IPs, but on different subnets.  When I make a call to
>retrieve the contents of smb:// it does indeed return me a list of
>workgroups, but only the workgroups on the first subnet (as reported in
>ifconfig).  I can access a computer on the other subnet explicity
>(smb://COMPUTER_NAME), however the workgroups (or computers)
>listed/returned by libsmbclient are only from the first subnet.  I'm
>wondering if there is any way to either a) have it broadcast and return
>results from all subnets or b) some way to set the subnet you want to
>broadcast on (this would be fine for me).

OK, I have had a look at the code ... This will require some additional
hacking because the libsmbclient.c code assumes that there is only one
interface ...

Will try to look in the next couple of days ...

>Thanks.
>
>

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