usuario-getin
(usa Debian)
Enviado em 11/08/2023 - 13:29h
[global]
workgroup = AD
netbios name = fileserver
realm = INTERNO.LOCAL
security = ads
winbind nss info = template
wins support = yes
template shell = /bin/bash
template homedir = /home/%D/%U
veto files = /*.avi/*.mid/*.mpeg/*.mov/*.mp3/*.wma/*.wmv/*.src/*.mpg/*.iso/*.exe/*.pst/*.pst/*.zip/*.rar/*.7z/*.bat;
log level = 3
log file = /var/log/samba/samba_full_audit.log
max log size = 4096
vfs objects = full_audit, acl_xattr
#full_audit:success = open, mkdir, rmdir, rename, unlink
full_audit:prefix = %I|%S|%u
ull_audit:failure = none
full_audit:facility = local7
full_audit:priority = alert
idmap config *:backend = tdb
idmap config *:range = 2000-2050
idmap config AD:backend = rid
idmap config AD:range = 3000-40000
winbind use default domain = yes
winbind refresh tickets = yes
winbind enum users = yes
winbind enum groups = yes
[File server]
path = /samba/arquivos
read only = no
browsable = yes
writable = yes
[SCANNER]
path = /samba/scanner
read only = no
browsable = yes
Ele está autenticando usuários do AD que estão no controlador de domínio