lib Defective SMb (libDSM) is a SMB protocol client implementation in pure old C, with a lot less features than Samba but with a much simpler, and a more permissive license (currently LGPL + proprietary).
The initial goal of this project is to have a library that can access most SMB shares to read files and that has a license compatible with the iOS/Android/WinRT appstores in order to integrate it into VLC for iOS and VLC for Android.
This library is also licensable under a proprietary license, if LGPL is not good enough for you.
The lib is provided as a static library or as a dynamically linked library. A few useless (yet) utils are also provided, mostly for testing purpose.
Here's a list of the currently supported features:
liBDSM has been tested/reported to work with the following devices/OSes:
Feel free to contribute items to this list (or network trace of not working devices)
The build dependencies can be installed on Debian(-based) systems using
sudo apt-get install build-essential autoconf libtool pkg-config libtasn1-3-dev libtasn1-3-bin libbsd-dev
$> ./bootstrap
$> ./configure --prefix=/your/prefix
$> make
$> make install # maybe