1

настраиваю Samba 4.1.12
OS Fedora 20 Linux version 3.16.6-200.fc20.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC) ) #1 SMP Wed Oct 15 13:06:51 UTC 2014
домена нет, просто сеть с рабочей группой
в сети компы с Windows 7
установила пакеты, настроила общий ресурс
комп в сети виден, но доступ получить к общему ресурсу не удается, требует пароль
к общим ресурсам на Windows доступ есть, файлы копируются
в SELinux доступ клиенту и серверу сделала

 Консоль:
[root@lena272 lena272]# getsebool -a|grep -E "smb|samba"
samba_create_home_dirs --> on
samba_domain_controller --> off
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> on
samba_portmapper --> off
samba_run_unconfined --> on
samba_share_fusefs --> on
samba_share_nfs --> on
sanlock_use_samba --> on
smbd_anon_write --> on
use_samba_home_dirs --> on
virt_sandbox_use_samba --> on
virt_use_samba --> on

параметры расшареной папки

[shared]
    path = /shared
    comment = shared
    read only = no
    browseable = yes
    guest ok = yes
    create mask = 0777
    directory mask = 0777
    available = yes
    inherit acls = yes
    inherit owner = yes
    inherit permissions = yes
    map acl inherit = yes
    nt acl support = yes

что-то я делаю не так, понять не могу, что

2

Я себе настраивал так:

[Share]
comment = Общий доступ (чтение/запись)
# comment – описание, введите своё
path = /mnt/servers/share
# path – путь к папке, измените на свой
create mask = 0666
force create mode = 0666
directory mask = 0777
force directory mode = 0777
# принудительно указываем права доступа для папок и файлов
available = yes
browsable = yes
public = yes
writable = yes
# разрешаем запись в папку с других компьютеров

Обязательно надо указать в файле:

security = SHARE
ᛈᚺ'ᚾᚷᛚᚢᛁ ᛗᚷᛚᚹ'ᚾᚨᚠᚺ ᚲᛏᚺᚢᛚᚺᚢ ᚱ'lᚷᛖᚺ ᚹᚷᚨᚺ'ᚾᚨᚷᛚ ᚠᚺᛏᚨᚷᚾ

Asus Prime B460M-K, i5-10500, Intel 630 UHD + NVIDIA GeForce RTX3060, DDR4 32 GB, SSD 1TB + HDD 2TB | Linux Mint 22.3 Cinnamon + Windows 11

3

ругается на режим аутентификации на уровне ресурса

[root@lena272 samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Processing section "[homes]"
Processing section "[printers]"
Processing section "[1c]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
                                    
[global]
    server string = Win NT Server
    encrypt passwords = No
    log file = /var/log/samba/log.%m
    max log size = 50
    printcap name = /etc/printcap
    idmap config * : backend = tdb
    cups options = raw

[homes]
    comment = Home Directories
    read only = No

[printers]
    comment = All Printers
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    print ok = Yes
    browseable = No

[1c]
    path = /home/lena272/1c
    valid users = lena272
    read only = No
    create mask = 0666
    force create mode = 0666
    directory mask = 0777
    force directory mode = 0777
[root@lena272 samba]#