libsmb and the cli_ routines and libsmbclient connection handling

Richard Sharpe sharpe at
Sat Jan 27 00:30:33 GMT 2001

At 09:55 AM 1/27/01 +1100, Andrew Tridgell wrote:
>I'm happy for that sort of split, so we an open multiple shares on a
>connection. I'd far prefer it not be magic though - I'd hate for the
>library to automagically do this. Instead the app programmer should
>make two calls - one to create a connection struct and the other to
>access a share.

Yes, that is how I think it has to happen. When a user calls
cli_send_tconX, they get back a share struct, but they have to have created
a connection struct before hand ...

I think they need to do this anyway, so they get the option to have
separate connections for each share if they want, or shared connections
where they maje sense.

>Cheers, Tridge

Richard Sharpe, sharpe at
Samba (Team member,, Ethereal (Team member,
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba

More information about the samba-technical mailing list