1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00
Commit Graph

11420 Commits

Author SHA1 Message Date
Rafal Szczesniak
10968c3f4b r20782: Place ejsnet files in a separate directory.
rafal
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
c42dab21fb r20780: keep a dsdb_schema_fsmo struct as private data
and remember if we're the schema master

metze
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
0b98f11d3e r20779: fix compiler warnings
metze
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
0ef90769b4 r20778: we don't need a talloc_steal here
metze
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
f9a6649f08 r20777: only include closefrom.c if the system doesn't have it.
hopefully solaris build fine now...

metze
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
fc1a836ecc r20776: require a loaded dsdb_schema for originating add and modify operations
(later we'll require it for all originating changes...)

metze
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
6d320ec19c 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
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
65ba2920a1 r20773: we need to include config.h and replace.h before we can use #ifdef statements
hopefully fix the build on solaris 9

metze
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
a201d3fc4d r20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the root dse module
metze
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
d78de0fb68 r20771: add an ldb module which will force the Schema FSMO Role Owner
constraints and it also loads the dsdb_schema at startup.

currently it only loads the dsdb_schema

metze
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
b311de14c1 r20770: remove unused var
metze
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
56109df406 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
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
ac228b3a6a r20768: store the prefixMap and schemaInfo attributes on the schema head object
metze
2007-10-10 14:40:50 -05:00
Stefan Metzmacher
efa31bbc37 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
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
6ecd1342de r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
75f5a88f22 r20765: add two more schema related error codes
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
1c3d1723e9 r20764: fix some little bugs
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
cab3acb9bb r20763: add function to get the oid mappings in drsuapi or ldb form
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
a934da4dcf r20762: load the default dn's after the rootdse module is initialized,
so that following module can access the default dn's.

metze
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
224a31cdbf r20761: let ldb modules call ldb_set_default_dns()
metze
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
c8f5aad40a r20760: also handle the case where no private data is attached to the module
metze
2007-10-10 14:40:46 -05:00
Volker Lendecke
93e6dbaf5b r20758: Adapt RAW-UNLINK error returns for wildcard unlinks to Samba3.
If someone is feeling like solving that puzzle, contact Jeremy or me for hints
:-)

Volker
2007-10-10 14:40:46 -05:00
Jelmer Vernooij
a3f7b18473 r20757: Strip recipe functionality (should be one layer up) 2007-10-10 14:40:45 -05:00
Jelmer Vernooij
842637f78b r20756: Update to use generated recipes. 2007-10-10 14:40:45 -05:00
Jelmer Vernooij
bbe00636a9 r20755: Add progress indicator to test runner 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
f288ca5f68 r20754: Simplify code for calculating total number of failed tests. 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
d31d16e4eb r20750: Use files in script/tests to build a recipe rather than running the tests immediately. 2007-10-10 14:40:42 -05:00
Jelmer Vernooij
2794af5726 r20748: Add file I forgot to commit 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
96ac1c62ee r20747: Move cifsdd to blackbox section 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
7e6357f213 r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
8ca927f888 r20739: Add more command-line options. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b1719ebf38 r20737: Add option parsing. 2007-10-10 14:40:35 -05:00
Stefan Metzmacher
b3ff3f8c36 r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
metze
2007-10-10 14:40:35 -05:00
Stefan Metzmacher
0ccd35bb3d r20735: print out a headline and the oMObjectClass
metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
4f5daa830a r20734: always terminate the string... so that an empty data_blob
gets '\0' as "" string

metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
b7f681a8a1 r20733: add a function to load the oid mappings from ldb_val's
metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
cf546b7c18 r20732: add idl for storing the prefixMap attribute
as w2k3 doesn't return it when you ask for we don't know
the exact format, but we assume that it starts with a uint32 version

and as this attribute is not replicated we can chosse our own version...

metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
dfdfdd6cef r20731: we need the complex memmove() handling for removing an attribute only in one place
metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
181db92047 r20730: this can be const
metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
2e79863d54 r20729: add a version number to struct dsdb_extended_replicated_objects
metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
4380cc9ed6 r20728: the DSDB_CONTROL_REPLICATED_OBJECT_OID control isn't used anymore
because we now use DSDB_EXTENDED_REPLICATED_OBJECTS_OID extended operation

metze
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
262e42123d r20727: implement basic merging of replicated objects when it already exist
in the ldb

metze
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
0ecb07e052 r20726: - only add the rdn attribute and it's meta_data when the 'name' attribute is there
- add the values for objectGUID and whenChanged inside the ldb module,
  so that the ldb module has only replicated attributes as input

metze
2007-10-10 14:40:32 -05:00
Derrell Lipman
33c07f4b92 r20723: Web Application Framework
- Clearly no one has ever tried to obtain the Referer from the web server
  before. :-)

- Send the Referer from the web application, in preparation for later security
  updates.  (These updates are not immediately necessary, as ScriptTransport
  is disabled and we check the content type on XmlHttpTransport.  This isn't
  anything to worry about.)
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
fbb1f85e32 r20716: add a dsdb_cache ldb module which will load the dsdb_schema and other things
on startup into memory structures in future.

metze
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
35a88f3d39 r20715: set the dsdb_schema on the ldb_context
after we have created a temporary one

metze
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
df8e97014b r20714: we can use talloc_asprintf_append() again, because strupper_talloc()
creates string with the correct memory size without padding zero bytes
at the end

metze
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
cd654f20e1 r20713: sort the cursors in replUpToDateVector by source_dsa_invocation_id,
w2k3 seems to do the same.

It's later useful, when we would have a large array
be could use a binary search

metze
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
6237d9f0b5 r20712: add a function to compare GUID's
metze
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
665d8f9626 r20710: update or create the "repsFrom" values after applying replicated objects
metze
2007-10-10 14:40:30 -05:00