ActiveDirectoryとか面倒なことは考えずに単にWindowsからマウントします。
# pkg install samba44
[global]
dos charset = CP932
unix charset = UTF-8
workgroup = WORKGROUP
server string = Samba
encrypt passwords = Yes
security = user
interfaces = 192.168.0.0/24
bind interfaces only = Yes
hosts allow = 192.168.0.
printing = bsd
[homes]
comment = Home Directories
writeable = Yes
veto files = /.??*/
browseable = No
read only = No
smb4.confの整合性確認
# testparm -v
samba_server_enable="YES" winbindd_enable="YES"
# pdbedit -a -u user # pdbedit -L -v
# /usr/local/etc/rc.d/samba_server start
|
Copyright ©2000-2018 T.Hiraga <hiraga@next-hop.net> All Rights Reserved. Last modified: $Date: 2016/10/04 18:35:24 $ |