smbcli connection using public libs only
cat at vv.carleton.ca
Sun Jan 8 17:59:54 MST 2012
I'm trying to figure out the "right" way to open a smbcli connection
using only public libraries.
smbclient (client/client.c) uses smbcli_full_connection, which is in
the smb_cli.h public header, but the symbol isn't in
libsmbclient-raw.so. This is a thin wrapper around
smbcli_tree_full_connection, which is an exported symbol but it's not
defined in any header. It's defined in libcli/raw/clitree.c and used
by libcli/cliconnect.c, but I have no idea how cliconnect.c gets the
right prototype (even though it's a private symbol).
What should I be using here?
More information about the samba-technical