libdsm with meson support

Thomas Guillem 425f8c82c4 doxygen: only generate doc for include 10 년 전
bin 63d9831156 update license headers: LGPLv2.1 + commercial 10 년 전
compat 63d9831156 update license headers: LGPLv2.1 + commercial 10 년 전
contrib 33f4a0e556 Fix libtasn1 version detection. Move tasn1 compat types to config.h 11 년 전
doc 425f8c82c4 doxygen: only generate doc for include 10 년 전
include 2652403170 include: move private stuff to src 10 년 전
m4 2d638774af add pthreads 10 년 전
src 2652403170 include: move private stuff to src 10 년 전
www 5cc77da760 update example 10 년 전
.gitignore ad7ff8ccb4 Ignore sublime text files 11 년 전
AUTHORS 5604b40f8d update AUTHORS 10 년 전
COPYING dce710003c Update license and Readme 10 년 전
Makefile.am 2d638774af add pthreads 10 년 전
NEWS ec54fc4f5e update NEWS 10 년 전
NOTES.md ab4a6299da Adds a NOTES file with some details/discoveries during the implementation 11 년 전
README.md dce710003c Update license and Readme 10 년 전
abi_version.sh 69bdc304e1 build: Initial autotools 11 년 전
bootstrap 42cc790f32 Adds a stylish bootstrap script 11 년 전
configure.ac 2d638774af add pthreads 10 년 전
libdsm.pc.in e2c5ac4ae1 Fix PKG-CONFIG generation 10 년 전
package_version.sh 69bdc304e1 build: Initial autotools 11 년 전

README.md

liBDSM

lib Defective SMb (libDSM) is a SMB protocol client implementation in pure C, with a lot less features than Samba and also a more permissive license (currently LGPL). The initial goal of this project is to have a lib with an iOS/Android compatible license to be intgrated into VLC for iOS and VLC for Android.

The lib is provided as a static library or as a dynamically linked library. A few useless (yet) utils are also provided.

Building

Requirements

  • A Unix system with a bash-shell (i guess)
  • C99 C compiler
  • (GNU) Make
  • Autotools
  • libc with iconv
  • getopt_long
  • GNU tasn1 compiler/support library

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

HowTo

$> ./bootstrap
$> ./configure --prefix=/your/ass
$> make
$> make install # maybe

Goals

Here's a list of supported features:

  • NETBIOS
    • Basic bi-directionnal NETBIOS name resolutio
    • Hacky LAN SMB servers discovery (Listing all the smb servers on the LAN, no WINS, etc.)
    • Basic NETBIOS Session transport layer
  • SMB
    • Support only required parts of 'NT LM 0.12' (aka CIFS?) dialect.
    • User based authentication
    • List Shares
    • Browse folders
    • Read file
    • No write, lock, RPCs, etc. [Hum... yet]

Support

liBDSM has been tested/reported to work witht the following devices/OSes:

  • Windows 7
  • Windows 8
  • A cheap NAS whose name i can't remember :)
  • Samba
  • smbX (OSX new smb implementation)

Feel free to contribute items to this list (or network trace of not working devices)

TODO

  • HEAVILY refactor. Any help is welcome.

Contributing

  • Fork videolabs/libdsm
  • Make a feature branch
  • Commits your work there
  • Make a pull request
  • ...
  • Profit !