ユーザ用ツール

サイト用ツール


サイドバー

Top

検索タグ

変更履歴

ページ日付
CodeMirror 2022/01/28 08:33
ATX 電源 2022/01/28 08:09
CodeMirror Plugin 2022/01/27 12:28
DokuWiki 2022/01/27 12:26
SoftEther VPN のビルド 2022/01/27 12:22
Less - Leaner Style Sheets 2022/01/27 12:02
mathpublish Plugin 2022/01/27 11:58
HTML + CSS 関連 2022/01/27 10:17
Web 関連 2022/01/27 10:14
🐶どっぐ 2022/01/27 06:29
SoftEther VPN 2022/01/26 08:28
A/D コンバータ 2022/01/26 08:19
SD メモリーカード (回路) 2022/01/25 07:13
電子回路 / 電子工作 2022/01/25 05:29
SD メモリーカード 2022/01/25 05:25
Pyodide - Web ブラウザで動作する Python 環境 2022/01/23 07:25
ESP32 - Wi-Fi と Bluetooth を内蔵する低コストで低消費電力な SoC のマイクロコントローラ 2022/01/22 05:30

メニュー


linux:samba:setting

Samba の設定

$ cat /etc/samba/smb.conf
/etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
#
# Note:
# SMB1 is disabled by default. This means clients without support for SMB2 or
# SMB3 are no longer able to connect to smbd (by default).
 
[global]
	workgroup = SAMBA
	security = user
 
	passdb backend = tdbsam
 
	printing = cups
	printcap name = cups
	load printers = yes
	cups options = raw
 
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
 
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
 
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @printadmin root
	force group = @printadmin
	create mask = 0664
	directory mask = 0775

参考文献

付録

linux/samba/setting.txt · 最終更新: 2021/12/10 06:23 by ともやん