1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

11387 Commits

Author SHA1 Message Date
Stefan Metzmacher
5af5488593 r20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg
this happens because we send 1.2.840.113554.1.2.2 before 1.2.840.48018.1.2.2
in the negTokenInit. And w2k's spnego code redirects us to use 1.2.840.48018.1.2.2
and then we start the our spnego engine with 1.2.840.48018.1.2.2 and in the then following
negTokenTarg w2k don't send the supportedMech (which means it aggrees in what we've choosen)

metze
2007-10-10 14:29:07 -05:00
Simo Sorce
ea111795f4 r20106: Optional ONE Level indexing for ldb_tdb
To activate it you must modify the @INDEXLIST object adding
the attribute @IDXONE: 1

Ldb test included

Simo.
2007-10-10 14:29:07 -05:00
Stefan Metzmacher
d70140ed07 r20105: remove useless comments
metze
2007-10-10 14:29:07 -05:00
Andrew Tridgell
195051fdee r20104: this is a alternative events backend, which uses a hybrid of aio and
epoll. It is not linked in anywhere yet - I'm committing it in case
anyone else wants to have a look at it.

The concept is quite strange really, but it seems to be the only way
that Linux 2.6.x can currently use a unified event model allowing for
AIO events and socket events to be waited for by a single unified
event wait function. You setup a epoll system, then setup a weird aio
event that points at the epoll system, then use io_getevents() to
actually do the waiting.

I'm hoping that kevents or a proper integration of epoll will allow us
to avoid ths rather hackish scheme, but meanwhile this is the only
path to proper AIO in Samba on Linux (without a horrible signals mess)

(NOTE: this code requires some kernel patches to work at the moment)
2007-10-10 14:29:06 -05:00
Rafal Szczesniak
1f3fd5f854 r20103: Change the returned type of prerequisite checking functions,
as metze once suggested.

rafal
2007-10-10 14:29:06 -05:00
Andrew Bartlett
924af98ffa r20102: Do not reference remote_ldb before we initialise it. This should fix
up many of the build farm failures.

Andrew Bartlett
2007-10-10 14:29:06 -05:00
Simo Sorce
a2520bcfa9 r20101: Also rename a variable now that the unused parameter is gone 2007-10-10 14:29:06 -05:00
Simo Sorce
cc1bcb8148 r20100: Remove completely unused parameters 2007-10-10 14:29:05 -05:00
Andrew Bartlett
d1b1a4c059 r20099: Add some comments, and correct others.
Andrew Bartlett
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
3daa68e1c4 r20096: now I'm 100% sure:-)
metze
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
b0ee130892 r20095: make a complete copy of the binding string
metze
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
1b6621814b r20094: this should be non-const
metze
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
314308c0bf r20093: some documentation updates
metze
2007-10-10 14:29:04 -05:00
Andrew Tridgell
d57b9fb298 r20092: added a locking benchmark that should be good for benchmarking
communitcation in a CIFS clustered server. It tries to keep the
connections full by setting up the next lock as each lock is done.

The locking pattern is similar to the local filesystem ping pong test
in junkcode, forcing a communication between nodes on each request
2007-10-10 14:29:04 -05:00
Andrew Tridgell
afcc797e8a r20091: remove blank lines at the end of text lines loaded from a file 2007-10-10 14:29:03 -05:00
Stefan Metzmacher
557bb80089 r20088: implement DsReplicaUpdateRefs() calls for all partitions
metze
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
8b03b3a196 r20086: pull domain partition
metze
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
de2f9869b5 r20085: add _part to structure elements
metze
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
d770effb89 r20084: pull the config partition
metze
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
0c4a7d713d r20083: move function together which belong to each other
metze
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
2f1ec24d77 r20081: pull the whole schema partition
metze
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
cb5c2e9dc6 r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
527bd9a0a3 r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
this wasn't noticed because on the 1st dc in the forest both have the
same value

metze
2007-10-10 14:29:01 -05:00
Andrew Tridgell
a4c2a575fa r20078: support the large samba3 reads in RAW-READ test 2007-10-10 14:29:01 -05:00
Andrew Tridgell
e5dbbe177c r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
3f1e88759c r20076: give the guids meanings
metze
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
1e4abd6a91 r20075: start pulling the schema content.
Note: we're not doing the "use the policy handle on a different connection"
      trick, which w2k3 use

metze
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
a52d5f6ed9 r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx

metze
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
c40bc7d287 r20073: update the computer_dn_str after ldb_rename()
metze
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
417f64184e r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
61c312a943 r20071: move common code into a function
metze
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
6b84a5b595 r20070: implement the 2nd and 3rd drsuapi connection
metze
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
45466871b4 r20068: handle DsAddEntry() errors
metze
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
5ebf76d23e r20067: use a global zero_sid
metze
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
58ae1bedf1 r20066: use the same sid "Domain Admins" for the security_descriptor
metze
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
45da80888f r20065: make it possible to get the dns domain name and netbios domain name
of the join account

metze
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
3322dbd901 r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()
request work correctly
- the error structures all have the same type

metze
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
e8c77b5cba r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)
metze
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
e8c1457797 r20061: use a DsBindInfo28 structure
metze
2007-10-10 14:28:57 -05:00
Andrew Tridgell
a10fa12ff5 r20059: james was asking about CAP_LARGE_READX and reads close to the 64k
boundary. This test shows that both for Samba4 and w2k3, reads larger
than or equal to 64k don't work (return zero bytes).

Not that I claim this is very useful behaviour :-)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
ff27129792 r20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
the remote end sends back

metze
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
8441500a32 r20055: implement dummy DsAddEntry call (without attributes yet)
metze
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
f66f9c2150 r20053: implement the DsBind on the 1st drsuapi connection
metze
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
96e5d89655 r20052: implement the first drsuapi connection
metze
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
e5729a29fd r20051: handle the case where the server object exist, but doesn't have a serverReference
metze
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
00875f806e r20047: patch from Julien Kerihuel <j.kerihuel@openchange.org>
to make the "remote" rpc proxy work for outlook and exchange

metze
2007-10-10 14:28:55 -05:00
Volker Lendecke
879dfed8d8 r20046: Add ldb_search_exp_fmt and port comment to 4 2007-10-10 14:28:54 -05:00
Stefan Metzmacher
deb85414c4 r20045: implement the drsuapi_DsRemoveDSServer() call
metze
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
69f1b8d388 r20044: implement the drsuapi connect and ds_bind
metze
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
c4037880a0 r20043: when becoming a dc:
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION
- implement moving to CN=Domain Controllers

metze
2007-10-10 14:28:53 -05:00