[Samba] smbstatus no longer working after upgrade to 4.13.14
Julian Einwag
julian.einwag at marcapo.com
Mon Dec 6 09:24:00 UTC 2021
Hi,
we’re running a Samba CTDB cluster on Ubuntu 20.04. The cluster is part of our windows domain.
After a recent upgrade to 4.13.14 (from 4.11.6), the smbstatus command is no longer working. Clients can connect just fine. This is the output produced by smbstatus -a:
Samba version 4.13.14-Ubuntu
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
db_open: Failed to initialize messaging
Failed to initialize session_global: NT_STATUS_OBJECT_NAME_COLLISION
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
db_open: Failed to initialize messaging
Failed to initialize session_global: NT_STATUS_OBJECT_NAME_COLLISION
Failed to traverse sessions: NT_STATUS_OBJECT_NAME_COLLISION
db_open: Failed to initialize messaging
/run/samba/locking.tdb not initialised
This is normal if an SMB client has never connected to your server.
Our smb.conf:
[global]
bind interfaces only = no
interfaces = eno1
security = ADS
workgroup = OURWORKGROUP
realm = ******
netbios name = ******
csc policy = disable
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = Yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 3
log level = 1 auth_audit:3 auth_json_audit:3
panic action = /usr/share/samba/panic-action %d
clustering = yes
include = registry
allow insecure wide links = yes
username map = /etc/samba/user.map
veto files = /Thumbs.db/
min domain uid = 0
delete veto files = yes
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config OURWORKGROUP : backend = rid
idmap config OURWORKGROUP : range = 10000-999999
# Template settings for login shell and home directory
template shell = /bin/bash
template homedir = /home/%U
ceph: config_file = /etc/ceph/ceph.conf
ceph: user_id = admin
map acl inherit = yes
store dos attributes = yes
Any help will be appreciated.
Regards,
Julian
More information about the samba
mailing list