samba internals and application development advice

Sean Finney seanius at
Wed Aug 21 13:33:12 GMT 2002

hi all--

i've been ghosting this list for a few months now, hoping that i might
read an answer to my question without having to step up and ask, but
now i'm guessing that this won't be the case, so here goes...

i'd like to write an application in C that does something along the
lines of crawling a local area network, finding smb sharing computers
and enumerating shares.  the closest things i've been able to find to
a starting point are LinNeighborhood and xsmbrowser. the former relies on 
smbmount and smbfs (which i'd like to avoid for portability issues), and
the latter appears to be a tcl/tk wrapper around smbclient.  i suppose i
could just write this as a perl script, but i'd much rather keep it in
the mother tongue if i could...

i've also taken a peek at libsmbclient, and browsed much of the other
source code, and haven't had much luck with getting things rolling, apart
from just taking a full copy of the samba source and hacking away at
the client until it does what i want it to.  is there something i've missed?

thanks for your time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url :

More information about the samba-technical mailing list