Mini C project - Digging the source ?
Ulf Bertilsson
ulf.bertilsson at adcomdata.no
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:
"browserlist"
Send a query to the subnet for any
browsermaster and get the output of it's list ?
I.e
./browserlist
Your sub is 192.168.255.255
Looking for master browser
Found one at 192.168.0.1
SMB server is an Nt4.0 server
Listing list:
Workgroup
-> 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 ;)
"Makesmbconnection"
"smbget"
"smbput"
--
Ulf Bertilsson
More information about the samba-technical
mailing list