Mini C project - Digging the source ?

Ulf Bertilsson ulf.bertilsson at
Mon Jan 7 04:00:02 GMT 2002

Hi again,

I was wondering if it was possible to take
out parts of "smbclient" code and make an
'standalone' utility ?.

I'm still newbie to C, but was thinking about doing some
generic simple socket programming.

What I'm thinking of is:


Send a query to the subnet for any
browsermaster and get the output of it's list ?


Your sub is
Looking for master browser
Found one at
SMB server is an Nt4.0 server
Listing list:

		-> Beer  		: Win98
		-> Turbo 		: Winnt
		-> AMiga4000	: Samba

So, what the mechanism ?

Send an "_MSBROWSE_" ? To where ?

Where can I find the code in the source ?

Any input ?

I had some crazy ideas about this as well ;)


Ulf Bertilsson

More information about the samba-technical mailing list