Using Samba
Samba.conf document
2013年12月23日 星期一
2012年7月5日 星期四
2012年1月20日 星期五
[Samba] ReadySHARE
ReadySHARE:
To browser the file directories via Smaba.
file directory: \\readyshare\USB_Storage
Using WINS protocol to reverse NetBIOS name(readyshare) to IP address.
1. The WINS protocol is handled by nmbd, therefore nmbd has to be run in background.
2. smb.conf
[global]
domain master = yes
local master = yes
preferred master = yes
os level = 65
http://www2.meps.tp.edu.tw/documents/memo/samba/samba.htm
http://samlee.idv.tw/linux/samba/samba05/samba05.htm
To browser the file directories via Smaba.
file directory: \\readyshare\USB_Storage
Using WINS protocol to reverse NetBIOS name(readyshare) to IP address.
1. The WINS protocol is handled by nmbd, therefore nmbd has to be run in background.
2. smb.conf
[global]
domain master = yes
local master = yes
preferred master = yes
os level = 65
http://www2.meps.tp.edu.tw/documents/memo/samba/samba.htm
http://samlee.idv.tw/linux/samba/samba05/samba05.htm
2012年1月1日 星期日
[Linux] Samba support file > 2GB
The most important build option to support large file is with --enable-largefile=y.
./configure --host=x86_64 --build=mips-linux --target=mips-linux SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=1 --enable-largefile=y --prefix=$(TOOLCHAIN)/usr --disable-cups --disable-pie --disable-fam --enable-shared --disable-static --with-configdir=/etc/samba --with-logfilebase=/var/log/samba --with-winbind --without-quotas --without-ldap --without-ads --with-sendfile-support --without-krb5 --without-pam --without-pam_smbpass --disable-iprint --without-fhs --without-libsmbclient --without-python
./configure --host=x86_64 --build=mips-linux --target=mips-linux SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=1 --enable-largefile=y --prefix=$(TOOLCHAIN)/usr --disable-cups --disable-pie --disable-fam --enable-shared --disable-static --with-configdir=/etc/samba --with-logfilebase=/var/log/samba --with-winbind --without-quotas --without-ldap --without-ads --with-sendfile-support --without-krb5 --without-pam --without-pam_smbpass --disable-iprint --without-fhs --without-libsmbclient --without-python
2011年10月21日 星期五
2011年8月3日 星期三
[Linux] Samba Settings
1. Samba variables
2. Password Configuration options
3. Set Samba password by smbpasswd.
echo -ne "123456\n123456\n" | smbpasswd -c /var/samba/smb.conf -as samba
2. Password Configuration options
3. Set Samba password by smbpasswd.
echo -ne "123456\n123456\n" | smbpasswd -c /var/samba/smb.conf -as samba
訂閱:
文章 (Atom)