[Samba] Samba4 AD Corrupted Member

Edson Tadeu Almeida da Silveira edson.tadeu at gmail.com
Mon May 22 15:28:30 UTC 2017


Hi Guys.

Today i experienced a problem with my samba 4 AD.

I have a master(AD1) and a member(AD2) in a replicated environment.

I´ve just checked that my AD2 has some issues when i did this test:

----------------------------------------------------------------------------------
ldbsearch --url=/usr/local/samba/private/sam.ldb '(invocationid=*)'
--cross-ncs objectguid

# record 1
dn: CN=NTDS
Settings,CN=AD2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=domain,DC=local
objectGUID: 3b885301-279f-4dd7-92ce-cc6f6dfd5e34

# record 2
dn: CN=NTDS
Settings,CN=AD1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=domain,DC=local
objectGUID: 21a051e3-0e5c-4ffd-af1b-a7edeb348325

ltdb: tdb(/usr/local/samba/private/sam.ldb.d/DC=DOMAIN,DC=LOCAL.ldb):
tdb_rec_read bad magic 0xd9fee666 at offset=250263808

search error - Indexed and full searches both failed!
----------------------------------------------------------------------------------

In my AD1 everything is ok.

Do you known if there is a way to repair my AD2 ?

Thanks!

-- 

-------------------------------------------
Edson Tadeu Almeida Silveira
http://sites.google.com/site/edsontadeu/
-------------------------------------------


More information about the samba mailing list