Chris Lewis
2013-Jan-10 16:50 UTC
[Samba] samba-tool dbcheck produces wrong instancetype errors
Hi All, I have joined a samba4 instance to en existing W2k8 AD domain as an additional domain controller. When I do samba-tool dbcheck I get (example) : ERROR: wrong instanceType 4 on CN=INVIEW-DC2,OU=Domain Controllers,DC=inview,DC=local, should be 0 Not changing instanceType from 4 to 0 on CN=INVIEW-DC2,OU=Domain Controllers,DC=inview,DC=local This happens for 644 out of 655 of the objects in directory. I have attempted to fix one or two less important objects and the error does not appear again. Before I go ahead and fix them all, I want to find out whether doing this would have any unwanted ramifications? Can anyone explain what causes these errors and if fixing them might break something? Thanks in advance Chris -- Chris Lewis
Bruno Pereira
2013-Jan-10 16:55 UTC
[Samba] samba-tool dbcheck produces wrong instancetype errors
Hello, I have the same issue in a W2K3 and W2K8 AD domain. Best Regards On 01/10/2013 04:50 PM, Chris Lewis wrote:> Hi All, > > I have joined a samba4 instance to en existing W2k8 AD domain as an > additional domain controller. > > When I do > > samba-tool dbcheck > > I get (example) : > > ERROR: wrong instanceType 4 on CN=INVIEW-DC2,OU=Domain > Controllers,DC=inview,DC=local, should be 0 > Not changing instanceType from 4 to 0 on CN=INVIEW-DC2,OU=Domain > Controllers,DC=inview,DC=local > > > This happens for 644 out of 655 of the objects in directory. I have > attempted to fix one or two less important objects and the error does > not appear again. > > Before I go ahead and fix them all, I want to find out whether doing > this would have any unwanted ramifications? > > Can anyone explain what causes these errors and if fixing them might > break something? > > Thanks in advance > > Chris >-- Bruno Pereira /IPBrick I&D Dpt/ <http://www.ipbrick.com/> IPBRICK International Rua Passos Manuel, 66/76 4000-381 Porto Portugal TEL: +351 221 207 100 FAX: +351 225 189 722 UCoIP: bpereira at ipbrick.com <mailto:bpereira at ipbrick.com> www.ipbrick.com <http://www.ipbrick.com/> www.iportaldoc.com <http://www.iportaldoc.com/> Facebook <http://www.facebook.com/pages/IPBrick/263923950988/> Twitter <http://twitter.com/IPBrick/> Linked In <http://pt.linkedin.com/in/ipbrick/>
Andrew Bartlett
2013-Jan-11 12:22 UTC
[Samba] samba-tool dbcheck produces wrong instancetype errors
On Thu, 2013-01-10 at 16:50 +0000, Chris Lewis wrote:> Hi All, > > I have joined a samba4 instance to en existing W2k8 AD domain as an > additional domain controller. > > When I do > > samba-tool dbcheck > > I get (example) : > > ERROR: wrong instanceType 4 on CN=INVIEW-DC2,OU=Domain > Controllers,DC=inview,DC=local, should be 0 > Not changing instanceType from 4 to 0 on CN=INVIEW-DC2,OU=Domain > Controllers,DC=inview,DC=local > > > This happens for 644 out of 655 of the objects in directory. I have > attempted to fix one or two less important objects and the error does > not appear again. > > Before I go ahead and fix them all, I want to find out whether doing > this would have any unwanted ramifications? > > Can anyone explain what causes these errors and if fixing them might > break something?That's a very interesting question. 0 seems the wrong value, if you are a read-write DC. I suspect we are getting the domain join stuff wrong, so we then trigger this incorrectly in dbcheck. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org