見出し画像

Appendix パッケージからインストールしたSamba4のsmb.conf:RockyLinux9

RockyLinux9.2にdnfコマンドでインストールしたSamba4の設定ファイル

環境

[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# cat /etc/rocky-release
Rocky Linux release 9.2 (Blue Onyx)
[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# smbd --version
Version 4.17.5
[root@rocky9-samba41 ~]#

/etc/samba/smb.conf

[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# ls -lF /etc/samba/smb.conf
-rw-r--r-- 1 root root 853  418 22:22 /etc/samba/smb.conf
[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# cat /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
[root@rocky9-samba41 ~]#

この記事が気に入ったらサポートをしてみませんか?