Go Library for Samba2 Exported with C bindings. It's aim is simplify the samba2 handling in Java. It means it'll be callable from Java through JNI.
- First of all you need GO or Docker installed
- If go installed
$ make
- With Docker
$ make dockerbuild
The binary will be saved in bin folder.
- main.go contains all the function exposed with C bindings (special headers inside)
- client.go contains all the implementation in pure GO.
- Is present a java example usage with test file.
To use JNI it needs to import jna jar library to your Java project. It can be found under example/java/refLibrarires
Thanks to this library I simplified my workflow:
distributed under MIT.