[Samba] No objectClass found in replPropertyMetaData *(was thread :replication issues solved by adding GUID name ... )

L.P.H. van Belle belle at bazuin.nl
Wed Aug 27 09:03:50 MDT 2014


Ok, 

i'v analyzed this problem..  
I think where this is comming from. 

i did a : samba-tool dbcheck --cross-ncs -v 
same here 0 error. 

and thank you Rowland for this one. 

ldbsearch -H /var/lib/samba/private/sam.ldb -b "OU=TOPFLOOR,OU=RTD,OU=COMPANY,DC=INTERNAL,DC=COMPANY,DC=TLD" -s base replPropertyMetaData --show-binary 

i didnt look exactly at the outcome but i saw the following. 

  originating_change_time  : Fri Jun  6 09:17:50 2014 CEST 

Ok, so what happend on 6 Jun. 9:17,, wel thanks ticket system.. :-) this i know. 
My boss wanted a change in the e-mail adresses ( the display name ) 
and this was my import;
cat /home/samba/backup/users.csv | awk -F "|" '{system("/usr/bin/samba-tool user create "$5" --mail-address="$7" \
--given-name="$2" --surname=\""$3"\" --telephone-number="$6" --department="$1" --description=\""$1"\" \
--random-password --userou=ou=COMPANY ")}';

so i mass changed that.. 
and this is what i did find : 

Checking object CN=L.van Belle van\0ADEL:2305bafc-28a4-44ea-839e-05f8a8b47021,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:6d6195a0-9819-4d9b-98ec-53b5c8efe36e,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle,OU=Automatisering,OU=Boven,OU=RTD,OU=Bazuin,internal.domain.tld
Checking object CN=Louis van Belle\0ADEL:2c735ace-8bdc-4fdd-9511-30380d3f5ea3,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:6e512d19-b4f1-460b-a391-12a1a62a2880,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:2063be46-f694-4d39-a14e-a6dc1ddb0d43,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:7bcbedc5-3127-4662-a4dd-e027f08c24ac,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:3b9e1c0a-2a0b-4e34-9b8e-60a8991f3616,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle L.\0ADEL:b8ad6b21-30c8-4a8a-9c3d-959ee9a2a87e,CN=Deleted Objects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:c6d06e59-e2e5-4b18-af20-6acde9694ea6,CN=Deleted Objects,internal.domain.tld
Checking object CN=L.van Belle van Belle\0ADEL:8be85455-073f-44e4-9a30-3f3b6edc7289,CN=Deleted bjects,internal.domain.tld
Checking object CN=L. van Belle\0ADEL:15713056-1ee9-4465-9667-5b59cf3fb1c3,CN=Deleted Objects,internal.domain.tld
( and this times 100 users ) 

and then i saw : https://bugzilla.samba.org/show_bug.cgi?id=10398 
 Segfault in replmd_check_urgent_objectclass due to objectClass missing on deleted object  

so this looks related, if someone of samba can confirm this maybe.. 

and this is a big patch.. 
to tomorrow ill apply the patch and i do a new install of a DC. 

sofar thank you everybody.  

++> sign off for diner.. 

Greetz, 

Louis





>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] 
>Namens L.P.H. van Belle
>Verzonden: woensdag 27 augustus 2014 16:26
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] replication issues solved by adding 
>GUID names to /etc/hosts
>
>uhm... 
>
>samba-tool dbcheck
>Checking 931 objects
>Checked 931 objects (0 errors)
>
>and that patch was included in the dbchecker.py i checked. 
>
>Louis
>
> 
>
>>-----Oorspronkelijk bericht-----
>>Van: rowlandpenny at googlemail.com 
>>[mailto:samba-bounces at lists.samba.org] Namens Rowland Penny
>>Verzonden: woensdag 27 augustus 2014 16:22
>>Aan: samba at lists.samba.org
>>Onderwerp: Re: [Samba] replication issues solved by adding 
>>GUID names to /etc/hosts
>>
>>On 27/08/14 14:00, L.P.H. van Belle wrote:
>>> Ow Rowland, i didnt change anything. this is a new install... :-/
>>> I just took my VM Template as i use for all my other servers 
>>for this test install..
>>>
>>> i think i've installed about 50 servers with that template..
>>> always worked correct..
>>>
>>> Im just wondering where this is comming from :
>>>
>>> No objectClass found in replPropertyMetaData for 
>>OU=TOPFLOOR,OU=RTD,OU=COMPANY,DC=INTERNAL,DC=COMPANY,DC=TLD!
>>>
>>> Failed to apply records: replmd_replicated_apply_add: error 
>>during DRS repl ADD: No objectClass found in 
>>replPropertyMetaData for 
>>OU=TOPFLOOR,OU=RTD,OU=COMPANY,DC=INTERNAL,DC=COMPANY,DC=TLD!
>>> : Object class violation
>>> Failed to commit objects: WERR_GENERAL_FAILURE
>>>
>>> and thats because i havent touched that OU in about a month.
>>>
>>> And yes sernet support is great, so im hope they have seen 
>>this thread..
>>>
>>> so nobody hint to fix this?
>>>
>>> Louis
>>>
>>>
>>>
>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: heupink at merit.unu.edu
>>>> [mailto:samba-bounces at lists.samba.org] Namens mourik jan
>>>> heupink - merit
>>>> Verzonden: woensdag 27 augustus 2014 14:34
>>>> Aan: samba at lists.samba.org
>>>> Onderwerp: Re: [Samba] replication issues solved by adding
>>>> GUID names to /etc/hosts
>>>>
>>>>> I have decided that I am going to blame Mourik for this, 
>>after all he
>>>>> started this thread ;-) :-0
>>>>>
>>>> Well....since i learned the ldapcmp command from sernet, I
>>>> already know
>>>> who I am going to blame... :-)
>>>>
>>>> Just kidding and for the record: sernet's support is 
>>absolutely great!
>>>>
>>>> MJ
>>>> -- 
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>
>>>>
>>Hi Louis, have a look here: 
>>https://lists.samba.org/archive/samba-technical/2014-February/0
>>98052.html
>>
>>Perhaps this is your problem
>>
>>Rowland
>>
>>-- 
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list