Critical: Check local AD database for errors

ucs-4-3

#1

After upgrading to UCS 4.3.0 I noticed these new errors in System Diagnostic on my DC master:

samba-tool dbcheck returned a problem with the local AD database.

STDOUT:
Checking 438 objects
On object CN=User1,CN=Users,DC=intranet,DC=lan
ERROR: Attribute quota not present in replication metadata

I’ve got this error for ALL of my old users except the ones created in the last months (before the upgrade).

I tried with:

samba-tool dbcheck --fix
Checking 438 objects
On object CN=User1,CN=Users,DC=intranet,DC=lan
ERROR: Attribute quota not present in replication metadata
Fix missing replPropertyMetaData element 'quota' [y/N/all/none] all
*** Error in `/usr/bin/python2.7': free(): corrupted unsorted chunks: 0x000056262b63a670 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7fd2442aabcb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7fd2442b0f96]
/lib/x86_64-linux-gnu/libc.so.6(+0x777de)[0x7fd2442b17de]
/usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x9973)[0x7fd242f96973]
/usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x98c5)[0x7fd242f968c5]
/usr/lib/x86_64-linux-gnu/libtalloc.so.2(_talloc_free+0xcf)[0x7fd242f90c2f]
/usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so(ltdb_search_indexed+0x1aa)[0x7fd2288a615a]
/usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so(ltdb_search+0x160)[0x7fd2288a43d0]
/usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so(+0x52d8)[0x7fd2288a32d8]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_timer_delay+0xd0)[0x7fd242d86590]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xa5a9)[0x7fd242d875a9]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x8b87)[0x7fd242d85b87]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d)[0x7fd242d81f9d]
/usr/lib/x86_64-linux-gnu/libldb.so.1(ldb_wait+0x93)[0x7fd243751f43]
/usr/lib/python2.7/dist-packages/ldb.x86_64-linux-gnu.so(+0xa380)[0x7fd243b70380]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x6f10)[0x56262906d480]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x5ebf)[0x56262906c42f]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x61c8)[0x56262906c738]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x61c8)[0x56262906c738]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(+0x116c38)[0x562629081c38]
/usr/bin/python2.7(PyObject_Call+0x43)[0x562629053413]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x7428)[0x56262906d998]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(+0x116a7e)[0x562629081a7e]
/usr/bin/python2.7(PyObject_Call+0x43)[0x562629053413]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x7428)[0x56262906d998]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(+0x116a7e)[0x562629081a7e]
/usr/bin/python2.7(PyObject_Call+0x43)[0x562629053413]
/usr/bin/python2.7(PyEval_EvalFrameEx+0x7428)[0x56262906d998]
/usr/bin/python2.7(PyEval_EvalCodeEx+0x235)[0x562629064d45]
/usr/bin/python2.7(PyEval_EvalCode+0x19)[0x562629064b09]
/usr/bin/python2.7(+0x12a14f)[0x56262909514f]
/usr/bin/python2.7(PyRun_FileExFlags+0x82)[0x56262908ffc2]
/usr/bin/python2.7(PyRun_SimpleFileExFlags+0x19e)[0x56262908fb0e]
/usr/bin/python2.7(Py_Main+0x6c1)[0x562629040aa1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fd24425a2b1]
/usr/bin/python2.7(_start+0x2a)[0x5626290402ca]
======= Memory map: ========
562628f6b000-56262928d000 r-xp 00000000 fe:00 1310037                    /usr/bin/python2.7
56262948d000-56262948f000 r--p 00322000 fe:00 1310037                    /usr/bin/python2.7
56262948f000-562629506000 rw-p 00324000 fe:00 1310037                    /usr/bin/python2.7
562629506000-562629529000 rw-p 00000000 00:00 0 
56262ad18000-56262c57d000 rw-p 00000000 00:00 0                          [heap]
7fd220000000-7fd220021000 rw-p 00000000 00:00 0 
7fd220021000-7fd224000000 ---p 00000000 00:00 0 
7fd224870000-7fd224886000 r-xp 00000000 fe:00 2099918                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd224886000-7fd224a85000 ---p 00016000 fe:00 2099918                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd224a85000-7fd224a86000 r--p 00015000 fe:00 2099918                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd224a86000-7fd224a87000 rw-p 00016000 fe:00 2099918                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd224a87000-7fd224aee000 rw-s 00000000 fe:00 3142968                    /var/lib/samba/private/sam.ldb.d/metadata.tdb
7fd224aee000-7fd224efb000 rw-s 00000000 fe:00 3143217                    /var/lib/samba/private/sam.ldb.d/DC=FORESTDNSZONES,DC=INTRANET,DC=LAN.ldb
7fd224efb000-7fd225308000 rw-s 00000000 fe:00 3143213                    /var/lib/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=INTRANET,DC=LAN.ldb
7fd225308000-7fd225fcb000 rw-s 00000000 fe:00 3143212                    /var/lib/samba/private/sam.ldb.d/DC=INTRANET,DC=LAN.ldb
7fd225fcb000-7fd2271e3000 rw-s 00000000 fe:00 3143206                    /var/lib/samba/private/sam.ldb.d/CN=CONFIGURATION,DC=INTRANET,DC=LAN.ldb
7fd2271e3000-7fd228491000 rw-s 00000000 fe:00 3143082                    /var/lib/samba/private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION,DC=INTRANET,DC=LAN.ldb
7fd228491000-7fd22889e000 rw-s 00000000 fe:00 3142957                    /var/lib/samba/private/sam.ldb
7fd22889e000-7fd2288ac000 r-xp 00000000 fe:00 1575307                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so
7fd2288ac000-7fd228aab000 ---p 0000e000 fe:00 1575307                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so
7fd228aab000-7fd228aac000 r--p 0000d000 fe:00 1575307                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so
7fd228aac000-7fd228aad000 rw-p 0000e000 fe:00 1575307                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/tdb.so
7fd228aad000-7fd228aaf000 r-xp 00000000 fe:00 1575305                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/skel.so
7fd228aaf000-7fd228cae000 ---p 00002000 fe:00 1575305                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/skel.so
7fd228cae000-7fd228caf000 r--p 00001000 fe:00 1575305                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/skel.so
7fd228caf000-7fd228cb0000 rw-p 00002000 fe:00 1575305                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/skel.so
7fd228cb0000-7fd228cb2000 r-xp 00000000 fe:00 1575302                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/server_sort.so
7fd228cb2000-7fd228eb2000 ---p 00002000 fe:00 1575302                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/server_sort.so
7fd228eb2000-7fd228eb3000 r--p 00002000 fe:00 1575302                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/server_sort.so
7fd228eb3000-7fd228eb4000 rw-p 00003000 fe:00 1575302                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/server_sort.so
7fd228eb4000-7fd228eb5000 r-xp 00000000 fe:00 1575300                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/sample.so
7fd228eb5000-7fd2290b5000 ---p 00001000 fe:00 1575300                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/sample.so
7fd2290b5000-7fd2290b6000 r--p 00001000 fe:00 1575300                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/sample.so
7fd2290b6000-7fd2290b7000 rw-p 00002000 fe:00 1575300                    /usr/lib/x86_64-linux-gnu/ldb/modules/ldb/sample.so
7fd2290b7000-7fd2290b9000 r-xp 00000000 fe:00 1575101                    /usr/lib/x86_64-linux-gnu/samba/ldb/wins_ldb.so
7fd2290b9000-7fd2292b8000 ---p 00002000 fe:00 1575101                    /usr/lib/x86_64-linux-gnu/samba/ldb/wins_ldb.so
7fd2292b8000-7fd2292b9000 r--p 00001000 fe:00 1575101                    /usr/lib/x86_64-linux-gnu/samba/ldb/wins_ldb.so
7fd2292b9000-7fd2292ba000 rw-p 00002000 fe:00 1575101                    /usr/lib/x86_64-linux-gnu/samba/ldb/wins_ldb.so
7fd2292ba000-7fd2292be000 r-xp 00000000 fe:00 1575099                    /usr/lib/x86_64-linux-gnu/samba/ldb/vlv.so
7fd2292be000-7fd2294bd000 ---p 00004000 fe:00 1575099                    /usr/lib/x86_64-linux-gnu/samba/ldb/vlv.so
7fd2294bd000-7fd2294be000 r--p 00003000 fe:00 1575099                    /usr/lib/x86_64-linux-gnu/samba/ldb/vlv.so
7fd2294be000-7fd2294bf000 rw-p 00004000 fe:00 1575099                    /usr/lib/x86_64-linux-gnu/samba/ldb/vlv.so
7fd2294bf000-7fd2294c2000 r-xp 00000000 fe:00 1575098                    /usr/lib/x86_64-linux-gnu/samba/ldb/update_keytab.so
7fd2294c2000-7fd2296c2000 ---p 00003000 fe:00 1575098                    /usr/lib/x86_64-linux-gnu/samba/ldb/update_keytab.so
7fd2296c2000-7fd2296c3000 r--p 00003000 fe:00 1575098                    /usr/lib/x86_64-linux-gnu/samba/ldb/update_keytab.so
7fd2296c3000-7fd2296c4000 rw-p 00004000 fe:00 1575098                    /usr/lib/x86_64-linux-gnu/samba/ldb/update_keytab.so
7fd2296c4000-7fd2296c7000 r-xp 00000000 fe:00 1575097                    /usr/lib/x86_64-linux-gnu/samba/ldb/tombstone_reanimate.so
7fd2296c7000-7fd2298c6000 ---p 00003000 fe:00 1575097                    /usr/lib/x86_64-linux-gnu/samba/ldb/tombstone_reanimate.so
7fd2298c6000-7fd2298c7000 r--p 00002000 fe:00 1575097                    /usr/lib/x86_64-linux-gnu/samba/ldb/tombstone_reanimate.so
7fd2298c7000-7fd2298c8000 rw-p 00003000 fe:00 1575097                    /usr/lib/x86_64-linux-gnu/samba/ldb/tombstone_reanimate.so
7fd2298c8000-7fd2298ca000 r-xp 00000000 fe:00 1574937                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_rename.so
7fd2298ca000-7fd229ac9000 ---p 00002000 fe:00 1574937                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_rename.so
7fd229ac9000-7fd229aca000 r--p 00001000 fe:00 1574937                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_rename.so
7fd229aca000-7fd229acb000 rw-p 00002000 fe:00 1574937                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_rename.so
7fd229acb000-7fd229acd000 r-xp 00000000 fe:00 1574936                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_delete.so
7fd229acd000-7fd229ccc000 ---p 00002000 fe:00 1574936                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_delete.so
7fd229ccc000-7fd229ccd000 r--p 00001000 fe:00 1574936                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_delete.so
7fd229ccd000-7fd229cce000 rw-p 00002000 fe:00 1574936                    /usr/lib/x86_64-linux-gnu/samba/ldb/subtree_delete.so
7fd229cce000-7fd229cd3000 r-xp 00000000 fe:00 1574533                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_ldap_map.so
7fd229cd3000-7fd229ed2000 ---p 00005000 fe:00 1574533                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_ldap_map.so
7fd229ed2000-7fd229ed5000 r--p 00004000 fe:00 1574533                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_ldap_map.so
7fd229ed5000-7fd229ed6000 rw-p 00007000 fe:00 1574533                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_ldap_map.so
7fd229ed6000-7fd229ed7000 r-xp 00000000 fe:00 1574522                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_dn.so
7fd229ed7000-7fd22a0d7000 ---p 00001000 fe:00 1574522                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_dn.so
7fd22a0d7000-7fd22a0d8000 r--p 00001000 fe:00 1574522                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_dn.so
7fd22a0d8000-7fd22a0d9000 rw-p 00002000 fe:00 1574522                    /usr/lib/x86_64-linux-gnu/samba/ldb/simple_dn.so

ans so on…

I’m little bit worried . What can I do? Thanks


#2

I still have this critical error on System Diagnostic.

samba-tool dbcheck --fix doesn't solve the problem

Any ideas? Thanks!