s3-pdb: Break SECRETS3 dependency on PDB.
authorSimo Sorce <idra@samba.org>
Thu, 26 Jan 2012 20:27:54 +0000 (15:27 -0500)
committerAndreas Schneider <asn@samba.org>
Fri, 27 Jan 2012 17:11:10 +0000 (18:11 +0100)
commite6c39a292c7aa17792f09222d17733ecc9207849
tree19eee80a64985d433ff5829fe1fa8e85e996cdcf
parentc543ce102890532c45ec9b293b705336f0e2c5bf
s3-pdb: Break SECRETS3 dependency on PDB.

This is causing circular depdnendcies that bring libpdb in all code and this is
BAD.

This change 'protects' the sid and guid of the domain by adding a special key
that makes them effectively read only.

Limit this temporarily to the samba 4 build, once it gets some good testing the
samba4 ifdefs can be dropped.

fix pdb dependencies

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/auth/wscript_build
source3/include/secrets.h
source3/passdb/machine_account_secrets.c
source3/wscript_build