I have noticed that ip addresses of new domain members are not stored correctly and I found out that the inodes are out of sync: root@SERVER:/var/lib/samba# ls -lai bind-dns/dns/sam.ldb.d/ 521512 drwxrwx--- 2 root named 4096 Dez 15 21:18 . 521279 drwxrwx--- 3 root named 4096 Dez 15 21:18 .. 521720 -rw-rw---- 1 root named 6234112 Dez 15 21:18 'CN=CONFIGURATION,DC=DOM,DC=EXAMPLE,DC=EU.ldb' 521738 -rw-rw---- 1 root named 7987200 Dez 15 21:18 'CN=SCHEMA,CN=CONFIGURATION,DC=DOM,DC=EXAMPLE,DC=EU.ldb' 521527 -rw-rw---- 1 root named 1286144 Dez 15 21:18 'DC=DOM,DC=EXAMPLE,DC=EU.ldb' root@SERVER:/var/lib/samba# ls -lai private/sam.ldb.d/ 529928 drwx------ 2 root root 4096 Dez 15 21:18 . 521260 drwx------ 7 root root 4096 Dez 15 21:19 .. 522189 -rwxrwx--- 1 root named 20422656 Okt 8 2019 'CN=CONFIGURATION,DC=DOM,DC=EXAMPLE,DC=EU.ldb' 522298 -rwxrwx--- 1 root named 24567808 Okt 8 2019 'CN=SCHEMA,CN=CONFIGURATION,DC=DOM,DC=EXAMPLE,DC=EU.ldb' 522492 -rwxrwx--- 1 root named 10444800 Dez 15 21:17 'DC=DOM,DC=EXAMPLE,DC=EU.ldb' I tried to repair it with "samba_upgradedns --dns-backend=BIND9_DLZ" but they are not set correctly. What can be the cause of this error? My compile options are: smbdir=/var/lib/samba ./configure --prefix=/opt/samba/$smbver --with-statedir=$smbdir/state --with-privatedir=$smbdir/private --with-piddir=/var/run/samba --with-cachedir=$smbdir/cache --with-lockdir=$smbdir/lock --with-logfilebase=/var/log/samba --with-sockets-dir=/var/run/samba --with-privileged-socket-dir=$smbdir/lib --with-smbpasswd-file=$smbdir/private --with-configdir=/etc/samba --with-bind-dns-dir=$smbdir/bind-dns
what is the output of "samba_upgradedns --dns-backend=BIND9_DLZ"?
Sorry for my late response. The output is as follows: root@SERVER:~# /opt/samba/4.13.2/sbin/samba_upgradedns --dns-backend=BIND9_DLZ Reading domain information DNS accounts already exist No zone file /var/lib/samba/bind-dns/dns/DOM.EXAMPLE.EU.zone /opt/samba/4.13.2/sbin/samba_upgradedns:338: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn("DNS records will be automatically created") DNS records will be automatically created DNS partitions already exist dns-SERVER account already exists BIND version unknown, please modify /var/lib/samba/bind-dns/named.conf manually. See /var/lib/samba/bind-dns/named.conf for an example configuration include file for BIND and /var/lib/samba/bind-dns/named.txt for further documentation required for secure DNS updates Finished upgrading DNS Afterwards I have to modify the samba named.conf: root@SERVER:~# vi /var/lib/samba/bind-dns/named.conf