s4/rodc: Support read-only database
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 4 May 2010 09:49:18 +0000 (11:49 +0200)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 4 May 2010 16:32:18 +0000 (18:32 +0200)
commitf84aeea7399eec38f7906dedaf3652af48c3d184
tree1bd0d1f8757053ab5b2fa779d5c5464626b42994
parentbcdaa23798f74cdec8973201a849f562929ea416
s4/rodc: Support read-only database

Check on modify if we are RODC and return referral.
On the ldap backend side now we pass context and ldb_modify_default_callback
to propagate the referral error to the client.
source4/dsdb/common/util.c
source4/dsdb/samdb/ldb_modules/partition.c
source4/dsdb/samdb/ldb_modules/repl_meta_data.c
source4/dsdb/samdb/ldb_modules/schema_data.c
source4/dsdb/samdb/ldb_modules/util.c
source4/ldap_server/ldap_backend.c
source4/lib/ldb/common/ldb.c
source4/lib/ldb/include/ldb.h