willianrosa
(usa Debian)
Enviado em 15/10/2021 - 17:23h
Boa tarde pessoal!!
Configurei um servidor samba e coloquei para que o acesso fosse via grupo.
Quando estou tentando acessar a pasta retorna seguinte mensagem no log do samba, "[2021/10/15 17:07:44.361386, 0] ../source3/smbd/uid.c:453(change_to_user_internal)
change_to_user_internal: chdir_current_service() failed!"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Segue abaixo as configurações.
root@fw-kiagenialni:/# testparm -s
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Faturamento]"
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
log file = /var/log/samba/samba.log
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h servidor de arquivos
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[Faturamento]
comment = arquivos destinado ao faturamento
path = /data/FATURAMENTO
create mask = 02660
directory mask = 02770
valid users = rafaela
force group = faturamento
read only = no