forked from yaofeng-xu/samba
-
Notifications
You must be signed in to change notification settings - Fork 0
samba2.2.12 porting on Android
License
ttesty/samba
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
build success on android 4.04&4.2 test on Allinner A10 and A20 android board build os: ubuntu 10.04 1.put samba under android/external 2.make or mmm external/samba 3.when build finished we'll get 4 file android (1) libsmbd_common.so---->/system/lib (2) smbpasswd ---->/system/bin (3) nmbd ---->/system/bin (4) smbd ---->/system/bin 4.on android shell mkdir /tmp mkdir /data/data/samba mkdir /data/data/samba/var mkdir /data/data/samba/private touch /data/data/samba/smb.conf ##############smb.conf##################### [global] workgroup = WORKGROUP #interfaces = wlan0 eth0 lo server string = Samba on Android security = share [sdcard] comment = Android /mnt/sdcard path = /mnt/sdcard writable = yes browseable = yes guest ok = yes public=yes ########################################### 5.run samba smbpasswd -a root nmbd -D 6 smbd -D 6 运行后通过电脑能访问sd卡,但是没有写文件的权限 我的sd卡的权限是(可能跟我这个权限有关,我尝试修改sd卡权限但是没成功) drwxrwxr-x system sdcard_rw 2014-01-01 08:00 sdcard 目前是能访问,而且中文还是乱码的 好不容易移植了拿出来分享下。 要是谁知道怎么解决以上两个问题请一定告诉我,谢谢。 最后谢谢 http://blog.csdn.net/jk198310/article/details/15809341 我没写过makefile,对samba也不熟,这篇文章对我帮助很大。
About
samba2.2.12 porting on Android
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 93.3%
- Shell 2.7%
- Perl 2.1%
- C++ 0.8%
- Makefile 0.6%
- Awk 0.3%
- Other 0.2%