When trying to open Active Directory User and Computer tool in a Windows 2008 server that is part of a Samba4 domain I had the error :
"directory property cannot be found in the cache"
I got it with the lastest samba4 commit and even with wspp-schema branch.
After some investigation I came to the conclusion that Windows 2008 is expecting this attribute in the rootDSE :SupportedCapabilities.
Adding this attribute directly into the sam.ldb file had prouved to be enought to solve the problem.
This attribute should have at least this value: 1.2.840.1135188.8.131.520
But as Samba4 is capable we can add this value: 1.2.840.1135184.108.40.2061
In this email I made the description of those OID:
Created attachment 4279 [details]
Proposed patch for implementing supportedCapbilites in rootdse
Good, that should be fixed! Thanks for reporting this.