s4-rodc: Fix provision warnings by creating ntds objectGUID in provision

Andrew Bartlett abartlet at samba.org
Wed May 12 06:48:52 MDT 2010

On Wed, 2010-05-12 at 13:44 +0300, Anatoliy Atanasov wrote:
> Hi Metze, 
> Thanks for the caching example.
> This doesn't solve the print issue that we have. The problem is that samdb_rodc is still called and the objectGUID is still missing from the cache/db, so the print is there. 

Are you doing anything to initialise the cache?  The whole idea here is
to tell ldb some things that it will later know for itself, but do so
before it loads the data the decision would be based on. 

Ie, we set the invocation ID into a cache, because we chose it in
provision, and set it in the cache, before we have it in the DB.  You
have to do the same here - set the 'RODC' boolean to false in the

Andrew Bartlett
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100512/511e4310/attachment.pgp>

More information about the samba-technical mailing list