New minimal SMB2 client library !

Namjae Jeon linkinjeon at
Wed Sep 25 16:26:38 UTC 2019

We have used this with kernel cifs client.
It is implemented by C languge, Moreover LPGLv2.1 licence.
This is what I've found so much.
libsmb2 can enumerate shares, and mount -t cifs using share name
getting from libsmb2.

Really nice work! Roonie!

2019-09-26 0:59 GMT+09:00, Jeremy Allison via samba-technical
<samba-technical at>:
> Ronnie Sahlberg, Samba Team member - has
> written a new small-footprint SMB2/3 client
> library. Compiled size is 120KB (yes, that
> is *KB*, not MB :-). It supports signing,
> sealing, NTLM authentication (and krb5
> with external libraries).
> It has *no* dependencies (other than the
> afore-mentioned krb5 if you need it) and
> is available for checkout and hacking at:
> git clone git://
> License is LGPLv2.1+, and it is developed
> independently of the main samba project,
> so please send patches directly to:
> Ronnie Sahlberg <ronniesahlberg at>
> Submission of patches grants him the rights
> to integrate into the code under LGPLv2.1+.
> It's designed to expand SMB2/3 use into
> the small device Internet of Things and
> is already used by the VLC and Kodi projects,
> and someone has ported it to load games
> off an SMB3 server instead of a cassette
> tape for a Tandy TRS-80 (for the over 45's
> on the list :-).
> It will *never* support SMB1 :-).
> Thanks Ronnie for making
> the home of all things SMB !
> Samba Team.

More information about the samba-technical mailing list