[Samba] smbstatus no longer working after upgrade to 4.13.14

Rowland Penny rpenny at samba.org
Mon Dec 6 10:41:14 UTC 2021


On Mon, 2021-12-06 at 09:24 +0000, Julian Einwag via samba wrote:
> 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

Not an expert on clustering by any means, but is ctdb running ?
Also you do not seem to to have 'vfs objects = ceph' set, but you are
using Samba 'ceph' parameters, have you read 'man vfs_ceph' ?

Rowlad





More information about the samba mailing list