1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Stefan Metzmacher
9f802707d8 r20806: make it possible to configure the secrets.ldb url
via "secrets database = my_secrets.ldb"

metze
(This used to be commit a096a97415)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
0de68094bf r20775: - use the schema_fsmo module on the schema partition, which loads the schema
if it's already in the ldb
- reopen the ldb after applying the schema, to that we use the loaded schema
  when we apply the config and domain partition objects

metze
(This used to be commit 6d320ec19c)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
5b288e6c4e r20770: remove unused var
metze
(This used to be commit b311de14c1)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
cbc8bc056c r20769: - it's wrong to add the schemaInfo blob as 2nd value to the prefixMap attribute...(was a typo)
- as the schemaInfo attribute is already applied to the ldb because it's a replicated attribute
  we should not replace it

metze
(This used to be commit 56109df406)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
caf37188d6 r20768: store the prefixMap and schemaInfo attributes on the schema head object
metze
(This used to be commit ac228b3a6a)
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
abeb80b77f r20767: don't pass a dsdb_schema to dsdb_extended_replicated_objects_commit()
anymore it should use the dsdb_schema attached to the ldb_context
via dsdb_get_schema()

metze
(This used to be commit efa31bbc37)
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
43063d5b14 r20733: add a function to load the oid mappings from ldb_val's
metze
(This used to be commit b7f681a8a1)
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
936fb1c0f7 r20715: set the dsdb_schema on the ldb_context
after we have created a temporary one

metze
(This used to be commit 35a88f3d39)
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
18f8180469 r20709: pass a repsFromTo1 struct down as it contains all needed info for the source dsa
and the highwater mark vector

metze
(This used to be commit a31e017e53)
2007-10-10 14:40:29 -05:00
Stefan Metzmacher
ffa259f4a4 r20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS
metze
(This used to be commit c9e7a58f6a)
2007-10-10 14:40:28 -05:00
Stefan Metzmacher
384ce1baec r20685: apply records using dsdb_extended_replicated_objects_commit()
metze
(This used to be commit 8f1fd303a7)
2007-10-10 14:40:22 -05:00
Stefan Metzmacher
3137e4f2fe r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add request
when applying replicated objects.

the samldb module ignores such requests now...
and the repl_meta_data module has different functions
for the replicated and originating cases...

metze
(This used to be commit a4d5e0126c)
2007-10-10 14:37:06 -05:00
Stefan Metzmacher
b31875ba75 r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)
we need to modify some modules to only handle originating changes...

metze
(This used to be commit 0f387d58e6)
2007-10-10 14:37:05 -05:00
Stefan Metzmacher
46908530bc r20572: - prepare a test_samdb.ldb in the NET-API-BECOME-DC torture test
- we call a ejs script from the torture test for this task
  so that we can use the provision template ldif's.

metze
(This used to be commit e84b0c7d40)
2007-10-10 14:37:03 -05:00
Stefan Metzmacher
02db88bb88 r20531: - create the rdn attribute which is an alias for the 'name' attribute
because the rdn attribute isn't explicit replicated
- create the whenChanged attribute out of the meta data
- create the objectGUID attribute out of the guid of the DsReplicaObjectIdentifier*
- create the replPropertyMetaData attribute from the meta data
- dump a more verbose form of the meta data that contains the attribute names
- dump linked attributes

a lot if this functionality will move into the repl_meta_data ldb module
in one of the next steps...

metze
(This used to be commit a6223a2043)
2007-10-10 14:36:49 -05:00
Stefan Metzmacher
536ca21c55 r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
(This used to be commit d47c81923d)
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
c0d70be7d0 r20483: Sorry Volker:-)
I missed to commit this file:-(

metze
(This used to be commit e11885f8a7)
2007-10-10 14:35:58 -05:00
Volker Lendecke
c4d4385a71 r20481: Fix the build -- Stefan, please look at this ;-))
(This used to be commit bbb3aaa41b)
2007-10-10 14:35:58 -05:00
Stefan Metzmacher
41d6fe36e7 r20438: - bail out on conversation errors
- create a valid ldb_message
- dump the ldb_message if --option="become dc:dump objects=yes" is passed to smbtorture

metze
(This used to be commit 34e126f659)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
9c77d0a0a8 r20421: - delay the schema analysis untill the full schema is tranferred
- call translation hooks for all attributes (but ignore the error for now)

metze
(This used to be commit c84668bf0d)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
112d58a0c5 r20381: verify the incoming oid mappings and schema info for the config and domain partition too
metze
(This used to be commit 1fab753b1d)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
6a75d272fc r20380: verify the incoming schema info and oid mappings
metze
(This used to be commit 27193e4b3d)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
89771a974c r20327: start to analyse the schema content
metze
(This used to be commit fa59f168b2)
2007-10-10 14:29:41 -05:00
Stefan Metzmacher
7cb96a785f r20293: implement store chunk hook for libnet_BecomeDC()
metze
(This used to be commit aba497f2fd)
2007-10-10 14:29:33 -05:00
Stefan Metzmacher
fdf95ba005 r20291: implement prepare_db hook of libnet_BecomeDC()
metze
(This used to be commit 07f1075d46)
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
64ba98bbd4 r20285: pass more info to check_options hook and move behavior versions etc.
to the domain and forest structures

metze
(This used to be commit 15157bf5b9)
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
4973fbe773 r20283: pass in callbacks to libnet_BecomeDC() from the caller
and implement the check_options call

metze
(This used to be commit fc9669e2a0)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
25e468e83f r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
metze
(This used to be commit 0359d9a00b)
2007-10-10 14:29:14 -05:00