s4/rodc: Support read-only database
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 6 Apr 2010 08:53:40 +0000 (11:53 +0300)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 6 Apr 2010 08:53:40 +0000 (11:53 +0300)
commitafaa36d0d9a9924d7439ec27c9b0b22f9aab1168
tree69c5030ccf816db21ad461b44664670e26a6c5dd
parent15531d9df1326a7111363b8d3540985d09027221
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/samdb/ldb_modules/objectclass.c
source4/dsdb/samdb/ldb_modules/repl_meta_data.c
source4/ldap_server/ldap_backend.c
source4/lib/ldb/common/ldb.c
source4/lib/ldb/include/ldb.h