[Samba] Offline Backup Error: Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb

james.atwell365 at gmail.com james.atwell365 at gmail.com
Thu Nov 16 16:47:14 UTC 2023


Hello,

 

Below you will find a snippet from the output of running an offline backup.
I'm specifically concerned with "Failed to open
/usr/local/samba/private/netlogon_creds_cli.tdb". is this an issue or can it
be safely ignored? I ask because the offline process appears to otherwise
run without issue. Server is Ubuntu 22.04 with Samba 4.19.2 built from
source. 

 

Starting transaction on solo db: /usr/local/samba/private/hklm.ldb

   running tdbbackup on the same file

running tdbbackup on lone tdb file
/usr/local/samba/private/netlogon_creds_cli.tdb

tdb_mutex_open_ok[/usr/local/samba/private/netlogon_creds_cli.tdb]: Can use
mutexes only with MUTEX_LOCKING or NOLOCK

Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb

Starting transaction on solo db: /usr/local/samba/private/idmap.ldb

   running tdbbackup on the same file

Starting transaction on solo db: /usr/local/samba/private/privilege.ldb

   running tdbbackup on the same file

 

 

My smb.conf is below.

 

# Global parameters

[global]

        netbios name = DC3

        realm = EXAMPLE.LOCAL  

        server role = active directory domain controller

        workgroup = EXAMPLE

        dns forwarder = 75.75.75.75 208.67.222.222

 

        max log size = 0

        log file = /usr/local/samba/var/samba.log

        log level = 1 auth_audit:3 auth_json_audit:3

        debug timestamp = Yes

        debug uid = Yes

        debug pid = Yes

        

        ad dc functional level = 2016

 

[sysvol]

        path = /usr/local/samba/var/locks/sysvol

        read only = No

 

[netlogon]

        path = /usr/local/samba/var/locks/sysvol/example.local/scripts

        read only = No

 

 

-James



More information about the samba mailing list