[Samba] attributeID is not known in our schema, not fixing replPropertyMetaData

Karan Blas karan.blas at gmx.com
Fri May 26 11:32:52 UTC 2017


I expected that someone had the same problem before.

DBchecker module does not provide fix for this. The implication is that the main Samba DC is working fine but does not allow replication with other DCs. They report WERR_DS_DRA_INTERNAL_ERROR in samba-tool dsr showrepl for two two sections: Configuration and the main one that contains the users. Other sections replicate fine.

Promoting new DC also does not work. Data (both new and old) are locked in this single DC 4.2.14. Exporting the database and importing it in 4.6.3 fix some things but not this one.

We found that replPropertyMetaData is uniquie for each user, setting it empty "fix the error' but breaks the user object.

How to recreate this attribute properly? How to remove all entries about attributeId 0XB7D8382? It was inherited from Exchange.




> Sent: Monday, May 22, 2017 at 10:10 AM
> From: "Karan Blas via samba" <samba at lists.samba.org>
> To: samba at lists.samba.org
> Subject: [Samba] attributeID is not known in our schema, not fixing replPropertyMetaData
>
> Hi
>  
> We migrated Windows 2003 with Exchange to Samba 4.2.14, 4.3.11 (we have few Samba DCs). Exchange is not needed. Joining was OK but replication is not working.
>  
> Forcing sync with all attributes from the original WIN DC does not work
>  
> Seems like the most accurate Samba 4.2.14 (used for changing passwords, adding users etc) has DB error:
>  
> samba-tool dbcheck :
>  
> ERROR(<type 'exceptions.KeyError'>): uncaught exception - "Failed to find attribute '0xb7d8382'"
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
>     return self.run(*args, **kwargs)
>  
> It exits on first error
>  
>  
>  
> On 4.3.11 the check continue with one error only at a Deleted Object:
>  
> ERROR: attributeID 0XB7D8382 is not known in our schema, not fixing replPropertyMetaData
>  
>  
>  
>  
> we even tried 4.5 but we still have the error. Is there a way to reset replPropertyMetaData? How to fix this?
>  
> This attribute is present on most Users and there is one more that appears on few computers. It is Exchange related.
> 
> -- 
> 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