????1.????samba???
??????root????????????????
????useradd -d /home/samba -m -U
????chown -R samba:samba /home/samba
????2.????samba
????2.1??root????????????????
setsebool -P samba_domain_controller on
setsebool -P samba_enable_home_dirs on
????2.2???/etc/samba/smb.conf?????
????2.2.1 ??????????????samba????????????
????????[global]????[global]??????????????????????
# ----------------------- Language settings -------------------------
display charset = cp936
dos charset = cp936
unix charset = cp936
????2.2.2????[homes]?????[homes]??????Σ??????????????
comment = Home Directories
browseable = no
writable = yes;
valid users = %S;
valid users = MYDOMAIN\%S;
????3.????samba???
??????root????????smbpasswd -a samba?????????????????
????4.???linux??????
??????/etc/sysconfig/i18n???????????????????????????
LANG="zh_CN.gb18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN.GB2312:zh_CN.UTF-8:zh:en_US.UTF-8:en_US:en:ja_JP.UTF-8:ja_JP:ja"
????5.????samba
??????root???????У? service samba reboot
????6.??windows?з???????????
??????????У??????????? \samba??????ip???????????????????????????????????????samba???????????3???????????????????л???samba???????????С???????о??ж????д??????