google / samba-documents-provider

Access network file shares directly from the Android Downloads/Files app
GNU General Public License v3.0
638 stars 125 forks source link

How to build smaba server? #72

Open zixiaolong opened 3 years ago

zixiaolong commented 3 years ago

Hello,

I change the compile.sh to: WAF_MAKE=1 python $CWD/buildtools/bin/waf build --targets=smbd/smbd $* It will create smbd. But the file can not be executed. It's shared object. xiaolong.zi@ubuntu185-PowerEdge-R640:~/samba/samba-4.5.1-android-master/bin/default/source3/smbd$ file smbd smbd: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, not stripped

Did anyone build smb server successfully and run it on Android? Thanks.