replPropertyMetaData corruption
Matthieu Patou
mat at samba.org
Tue Aug 10 11:42:09 MDT 2010
Hello,
Today I discovered in production a corruption on the
replPropertyMetaData of a windows 2008 server computer object.
Looking through the backup I can see that the corruption occured between
the 30/07/2010 and 31/07/2010.
At this moment I was in vacation and nothing has been changed since a
couple of time in the database (I mean things like upgradeprovision) and
in the code as I am running 928fb861507e2abed86258582f27aad7d71b308e
(12 april 2010).
The corruption is the following instead of having something like this in
the field replpropertymetadata
replPropertyMetaData::
AQAAAAAAAAAZAAAAAAAAAAAAAAABAAAAY9AX/wIAAABQWcZNbfzUTZj
ae9PrFacC8QwAAAAAAADxDAAAAAAAAAEAAgABAAAAY9AX/wIAAABQWcZNbfzUTZjae9PrFacC8QwA
AAAAAADxDAAAAAAAAAIAAgAHAAAAWRs7AQMAAABQWcZNbfzUTZjae9PrFacCdZMAAAAAAAB1kwAAA
AAAABkBAgAJAAAA5Rw7AQMAAABQWcZNbfzUTZjae9PrFacCDaEAAAAAAAANoQAAAAAAAAEACQABAA
..
9AX/wIAAABQWcZNbfzUTZjae9PrFacC8QwAAAAAAADxDAAAAAAAAKsHCQABAAAAotrUAQMAAABQWc
ZNbfzUTZjae9PrFacCLrgBAAAAAAAuuAEAAAAAAAMAAAABAAAAY9AX/wIAAABQWcZNbfzUTZjae9P
rFacC8QwAAAAAAADxDAAAAAAAAA==
I have this:
replPropertyMetaData: NDR: struct replPropertyMetaDataBlob version
: 0x00000001 (1) reserved :
0x00000000 (0)
ctr : union replPropertyMetaDataCtr(case 1)
ctr1: struct replPropertyMetaDataCtr1
count : 0x
00000019 (25) reserved : 0x00000000
(0) a
rray: ARRAY(25) array: struct replPropertyMetaData1
attid : DRSUAPI_ATTRIBUTE_objectClass (0x0)
version : 0x00000001 (1)
origin
ating_change_time : Tue Oct 28 19:35:47 2008 MSK
originati
ng_invocation_id:
4dc65950-fc6d-4dd4-98da-7bd3eb15a702 orig
inating_usn : 0x0000000000000cf1 (3313)
local_usn
: 0x0000000000000cf1 (3313) array: struct
replPr
opertyMetaData1 attid :
DRSUAPI_ATTRIBUT
E_instanceType (0x20001) version :
0x00000
001 (1) originating_change_time : Tue Oct 28
19:35:47 2008
MSK originating_invocation_id:
4dc65950-fc6d-4dd4-98da-7bd
3eb15a702 originating_usn :
0x0000000000000cf1 (33
13) local_usn : 0x0000000000000cf1
(3313)
array: struct replPropertyMetaData1 attid
: DRSUAPI_ATTRIBUTE_whenCreated
(0x20002) ver
sion : 0x00000007 (7)
originating_change_t
ime : Thu Dec 17 22:45:29 2009 MSK
originating_invocation_
id: 4dc65950-fc6d-4dd4-98da-7bd3eb15a702
originating_usn
: 0x0000000000009375 (37749) local_usn
: 0x0000000000009375 (37749) array: struct
replPropertyMetaDa
ta1 attid :
DRSUAPI_ATTRIBUTE_ntSecurity
Descriptor (0x20119) version :
0x00000009
(9) originating_change_time : Thu Dec 17 22:52:05
2009 MSK
originating_invocation_id:
4dc65950-fc6d-4dd4-98da-7bd3eb1
5a702 originating_usn : 0x000000000000a10d
(41229)
local_usn : 0x000000000000a10d (41229)
array: struct replPropertyMetaData1 attid
: DRSUAPI_ATTRIBUTE_name (0x90001) version
: 0x00000001 (1)
originating_change_time : Tu
e Oct 28 19:35:47 2008 MSK
originating_invocation_id: 4dc65
950-fc6d-4dd4-98da-7bd3eb15a702
originating_usn :
0x0000000000000cf1 (3313) local_usn :
0x0000
000000000cf1 (3313) array: struct replPropertyMetaData1
attid :
DRSUAPI_ATTRIBUTE_userAccountControl (0
x90008) version : 0x00000001 (1)
originating_change_time : Tue Oct 28 19:35:47 2008 MSK
originating_invocation_id: 4dc65950-fc6d-4dd4-98da-7bd3eb15a702
originating_usn : 0x0000000000000cf1 (3313)
local_usn : 0x0000000000000cf1
(3313) array
When querying with ldbsearch ...
For the moment I solved the pb by copying the last good
replpropertymetadata, I plan to remove the object and readd it but I
can't as I don't have the deleted object container and before making an
update I would like to be 100% sure that everything are ok.
--
Matthieu Patou
Samba Team http://samba.org
More information about the samba-technical
mailing list