1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

2108 Commits

Author SHA1 Message Date
Stefan Metzmacher
2c8a7cc333 r20869: - mark the rootdse with isSyncronized=TRUE after a successful replication
- reopen the ldb

metze
(This used to be commit 8e9ff529c8930ee6e1acf5cdd5208924ae1f98af)
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
c74968179c r20868: load the pdc_fsmo and naming_fsmo modules
metze
(This used to be commit b0e30d030e4294cbab79f4db6e6b19a2afda26cb)
2007-10-10 14:43:42 -05:00
Jelmer Vernooij
9119276bbc r20831: Update RPC-SCANNER as well after IDL changes.
(This used to be commit 1c562d9f8311c4038fcff067ac6bb8364b606573)
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
615895332a r20830: merge mgmt work
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)
2007-10-10 14:43:37 -05:00
Jelmer Vernooij
6967a73f36 r20823: Remove newlines in calls to torture_fail().
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10 14:43:36 -05:00
Stefan Metzmacher
cb54de2bf9 r20807: test static password for the test_*.ldb' files
metze
(This used to be commit 6790a62e4ecc765e1d8e0b503db04898aa40a1b9)
2007-10-10 14:43:33 -05:00
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 a096a9741597105140845f59e54a76060da0010b)
2007-10-10 14:43:33 -05:00
Jelmer Vernooij
cd15a223cc r20784: Add ref pointer
(This used to be commit 2ba225ee12180d40a957e4e9a824a544c803a265)
2007-10-10 14:40:54 -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 6d320ec19cac00059649703fc0455ba0ba3a16e6)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
5b288e6c4e r20770: remove unused var
metze
(This used to be commit b311de14c1c1011ba7da2142d4067f70e2a5f176)
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 56109df406a60ef27a2a3d94979d46c470e32117)
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 ac228b3a6a8c33385ab63ab0608b3aa4b99375f5)
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 efa31bbc3717fbf087ff76c4396975f131b16b92)
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
9f876c9fae r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
(This used to be commit 6ecd1342ded63b99b51250714127344a5304c47f)
2007-10-10 14:40:49 -05:00
Volker Lendecke
677633480b 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
(This used to be commit 93e6dbaf5b81661d85539877fd0874480cfa5673)
2007-10-10 14:40:46 -05:00
Jelmer Vernooij
70dcbd1f0f r20757: Strip recipe functionality (should be one layer up)
(This used to be commit a3f7b184735fb6467bec03eeff53a72003a78097)
2007-10-10 14:40:45 -05:00
Stefan Metzmacher
02097b0955 r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
metze
(This used to be commit b3ff3f8c3623c6bf40038b07fdb1084b35442588)
2007-10-10 14:40:35 -05:00
Stefan Metzmacher
fbec233ec7 r20735: print out a headline and the oMObjectClass
metze
(This used to be commit 0ccd35bb3ddd8281953e589a6247423c38fc64b1)
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
43063d5b14 r20733: add a function to load the oid mappings from ldb_val's
metze
(This used to be commit b7f681a8a144907fa8e0a6503345da7c391dd156)
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 35a88f3d39e447a0e2adbd14676d15e5a5ac9488)
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 a31e017e5388e5abd6ed9d09adcf26d2527954a6)
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 c9e7a58f6a16dfa28323fd0fd01ad6ee516c51b0)
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 8f1fd303a78dd9df94b9a7b8b243dc20bfc7eaee)
2007-10-10 14:40:22 -05:00
Jelmer Vernooij
e8d2437cd5 r20676: Add ref pointer to fix warning.
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10 14:40:19 -05:00
Volker Lendecke
726f93c1f6 r20652: Attempt to fix the build
(This used to be commit 29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
1c211a2e43 r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10 14:37:24 -05:00
Andrew Tridgell
1cd4339b9a r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10 14:37:23 -05:00
Volker Lendecke
c5c8a33831 r20632: The extended RAW-SAMBA3BADPATH test led me to some wrong assumptions, in
particular the NT_STATUS_INVALID_PARAMETER thing was badly wrong. Remove the
changes based on it. Using gentest is much more effective in this respect, but
it will take a while to figure out the wildcard error handling of W2k3.

Volker
(This used to be commit 33d842e27d7611dd1d3cbfa71d44d63c273ba785)
2007-10-10 14:37:18 -05:00
Volker Lendecke
dff70f76bc r20618: Fix a bug in bad_path handling that also exists in 3.0.23: For reply_unlink
under Linux we returned NT_STATUS_NOT_A_DIRECTORY. This is because in the
bad_path==True condition lstat(2) returns ENOTDIR and not ENOENT.

Not sure if we want to necessarily replicate the INVALID_PARAMETER here, but
this is what W2k3 does.

Jeremy, I tried to call you, but you were not around. So I'll leave it up to
you to merge this.

Volker
(This used to be commit 838afa8f7d2b10460725c1f0b519ce54fb84de88)
2007-10-10 14:37:15 -05:00
Volker Lendecke
aeda6017ac r20613: The individual tests are fine, I did run samba3badpath, but raw-samba3hide
left test.txt with permissions 000 behind...

Volker
(This used to be commit fdd501f8032dceb05989c582132b036bb22e6fb1)
2007-10-10 14:37:14 -05:00
Volker Lendecke
36f78c139a r20609: Additional torture test for our bad_path handling. Most of it is disabled for
now, there are calls (for example trans2ffirst) which are quite dubious.

Volker
(This used to be commit 79846f09b98965af0817b362f45d11e69e23c3e4)
2007-10-10 14:37:13 -05:00
Volker Lendecke
3bc9704ce0 r20595: W2k and XP don't always show the top directory as hidden, w2k3 does. I think
Samba should follow w2k3 in this respect.

Volker
(This used to be commit 6094ee9df5820cd26858e9c4eff5dfc7e60181ab)
2007-10-10 14:37:11 -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 a4d5e0126cfd6135ab829f4984269e265a868a28)
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 0f387d58e69a6ee806fea02229ef8fa030f2918d)
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 e84b0c7d4004df312ae58ed76dd708a2c3c37986)
2007-10-10 14:37:03 -05:00
Volker Lendecke
9e1a690d28 r20552: Little Samba3 test to force smb_close to return an error. Set delete on close,
and then remove perms from the parent dir....

Volker
(This used to be commit f24c5052576d4951738f83c3b238d2c251d4553b)
2007-10-10 14:36:53 -05:00
Volker Lendecke
0221d44ef4 r20549: obvious bug fix..
(This used to be commit f0aa63e39050c7ac10b9d51c5cecc753b257be9a)
2007-10-10 14:36:52 -05:00
Andrew Tridgell
b213b70c08 r20539: - split the common timer related events code into events_timed.c
- make it easier to plug in a new events backend

- add simpler 'select' and 'epoll' backends

This is part of the effort to add good AIO support. The events_aio.c
backend is done, but sometimes dies with a SEGV, which is why it isn't
enabled yet.
(This used to be commit 934f18283dbc7958944931a93a854526bcd54884)
2007-10-10 14:36:50 -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 a6223a20434df1269cc87ba3b1db74473b6ff9bb)
2007-10-10 14:36:49 -05:00
Volker Lendecke
7a734d3b30 r20525: Closing a dir with del-on-close set requires the same as files: Don't actually
unlink/rmdir if another process still has it open.

Jeremy, this is a potential merger to 3.0.24.

Volker
(This used to be commit d0550a01af219344ec2e4c16d5253814afc89974)
2007-10-10 14:36:48 -05:00
Stefan Metzmacher
57f5bf78fa r20514: implement idl for DsGetNT4ChangeLog() which transferres the meta data
for NT4 DC's in mixed mode domains.

This call is triggered by tranferring the PDC FSMO Role to another DC

the real meta data is encoded in the user buffer which is just a DATA_BLOB in idl

metze
(This used to be commit d883815c8d64429e4dac26a93a15e67d31dc263e)
2007-10-10 14:36:04 -05:00
Stefan Metzmacher
bc32b30011 r20510: fix spelling
metze
(This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
2007-10-10 14:36:03 -05:00
Volker Lendecke
cc8e2febb8 r20508: Confirm a special case in samba3 reply_getatr that getatr("") always returns
HIDDEN.

Volker
(This used to be commit 83a20912061c663ff422b038b41f01a9c7583afe)
2007-10-10 14:36:02 -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 d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10 14:36:01 -05:00
Volker Lendecke
d1e3dccab6 r20497: Two changes to RAW-OPEN that Samba does not fulfil:
Samba3 returns the SPARSE flag for files with size > allocation, and on many
configs Samba3 does not support EAs. Cope with both.

Tridge, please check this is acceptable for this test.

Volker
(This used to be commit 4df4d37c3d4d9e6c430afd36e88684f02c73700e)
2007-10-10 14:36:01 -05:00
Andrew Bartlett
43b715a96d r20494: Dave CB <davecb@spamcop.net> found some stray characters in the docs,
while stress-testing an xml parser.  Bug 4319

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

metze
(This used to be commit e11885f8a78698ad479826784491548e8b695a04)
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 bbb3aaa41b4b025eb6536d6da3caf64db8731bdf)
2007-10-10 14:35:58 -05:00
Volker Lendecke
e1c244a1cf r20480: In Samba3 we don't yet have support for all 4 file times on all platforms (do
we have any?? ;-), so don't mark failure to correctly cope with the close
write time as critical.

Volker
(This used to be commit 42070b09cba8adda1e7606e08764b1f202b33321)
2007-10-10 14:35:58 -05:00