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

11354 Commits

Author SHA1 Message Date
Andrew Bartlett
6f73359133 r20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfy
the loop entry condition.

Andrew Bartlett
(This used to be commit c1182751313290fc38af5b1c44bc66b5d1654977)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
4e93962ea5 r20130: remove one more talloc_get_type()
metze
(This used to be commit 024dacb3b0a32bcaaef0b7a7598070b9034a7648)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
1a82770112 r20129: remove unused structure elements
metze
(This used to be commit 53805a8562c59116e458dedd695e061eabf78620)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
8cdacd9f82 r20128: get rid of more talloc_get_type() calls
metze
(This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
ecc8ef51cb r20127: - allocate ldb_handle under ldb_request! fix a mem leak
- pass ldb_request to init_lldb_handle()
- remove some useless talloc_get_type() calls

metze
(This used to be commit a7397c4d2bed181c96863e985727c8dad0894df7)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
43637dfb9d r20126: fix talloc hierachy and make lldb a child of module
metze
(This used to be commit 1e3bb180261643900c7bdacef818add5349c7a30)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
2986313a68 r20125: fix some ugly mem leaks in the ldb_ildb backend
metze
(This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)
2007-10-10 14:29:10 -05:00
Stefan Metzmacher
21327c4320 r20123: - avoid some more talloc_get_type() calls
- pass down ldb_request

metze
(This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)
2007-10-10 14:29:10 -05:00
Stefan Metzmacher
a2976633ff r20122: pass ildb to ildb_request_noop()
metze
(This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)
2007-10-10 14:29:10 -05:00
Stefan Metzmacher
e13088f2b7 r20121: pass down the ldb_request struct to ildb_request_send(),
also pass ildb instead of module, to avoid multiple talloc_get_type() calls

metze
(This used to be commit 03029d4fed86b1ca5fb19a408312607d8790d110)
2007-10-10 14:29:10 -05:00
Stefan Metzmacher
ddfb73568a r20120: fix the talloc hierachy and make ildb a child of module
metze
(This used to be commit b85d5cb7a4931d1d43a0ec73f1de1519c720f1af)
2007-10-10 14:29:09 -05:00
Stefan Metzmacher
f1aaa16cbc r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Here is a patch that adds a torture:dc_binding parametric option to
   torture_create_testuser in testjoin.c. This patch is used in OpenChange
   torture tests when the AD is different from the Exchange Server. This generic
   option could also be used for later 'member server' tests in Samba4.

metze
(This used to be commit 9ddabfc60e1a4f5e471991253141ce458c9a683d)
2007-10-10 14:29:09 -05:00
Stefan Metzmacher
e99ea0a1e1 r20114: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
I've attached the patch which fix this problem. I've only added
  DCERPC_NDR_REF_ALLOC to the connection flags. This way it is processed
  correctly by ndr_pull_init_flags and added to the ndr flags of the pull
  structure.

metze
(This used to be commit ed4c7ce547c61907291d19c172d5eb6f4c4981fe)
2007-10-10 14:29:09 -05:00
Andrew Bartlett
334f78d206 r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
particular to verify more expected results.

Also return more details from the join process.  Now we also return
the machine account's GUID.

Andrew Bartlett
(This used to be commit 5b32f102af1fc7acb56bf7eaa40068d60a1ee396)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
3cfa1db71d r20111: this is the total object count of the current replication cycle
metze
(This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
d23f3119a9 r20109: let libnet_BecomeDC() work against w2k servers
metze
(This used to be commit d295239861a282d06a9a93cdafa4e4d7616928b8)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
78ea6370bf r20108: match w2k3 and send 1.2.840.48018.1.2.2 before 1.2.840.113554.1.2.2
to work better against w2k, so we don't get redirected from
1.2.840.113554.1.2.2 to 1.2.840.48018.1.2.2 by a w2k server, causing 2 additional
auth roundtrips.

metze
(This used to be commit fa5c942ee99d3b5779598aa75f71d0317ba3f622)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
ae9f7857d5 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
(This used to be commit 5af5488593991ab4a2a8e17d38501ad9ec539020)
2007-10-10 14:29:07 -05:00
Simo Sorce
2cd08c14a0 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.
(This used to be commit ea111795f4016916473ccc05d23c6655e6af1207)
2007-10-10 14:29:07 -05:00
Stefan Metzmacher
d4ac51982c r20105: remove useless comments
metze
(This used to be commit d70140ed07bf4d0d1d0a0485ca73a29cf1cafe8c)
2007-10-10 14:29:07 -05:00
Andrew Tridgell
9ca93ced8b 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)
(This used to be commit 195051fdee341e8d8cb76e5c91dcc0f6c246a870)
2007-10-10 14:29:06 -05:00
Rafal Szczesniak
47e03d96a2 r20103: Change the returned type of prerequisite checking functions,
as metze once suggested.

rafal
(This used to be commit 1f3fd5f85461d1e8c9cbdc3144d0a6533b170f76)
2007-10-10 14:29:06 -05:00
Andrew Bartlett
e8e61a414a r20102: Do not reference remote_ldb before we initialise it. This should fix
up many of the build farm failures.

Andrew Bartlett
(This used to be commit 924af98ffaab3735c3f31014059e7cd0abd71919)
2007-10-10 14:29:06 -05:00
Simo Sorce
784fd1a230 r20101: Also rename a variable now that the unused parameter is gone
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)
2007-10-10 14:29:06 -05:00
Simo Sorce
5dd224f260 r20100: Remove completely unused parameters
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)
2007-10-10 14:29:05 -05:00
Andrew Bartlett
1e6807d8a1 r20099: Add some comments, and correct others.
Andrew Bartlett
(This used to be commit d1b1a4c059bfa93bd55f9ffc718e802695c50cc9)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
cc0edee3f6 r20096: now I'm 100% sure:-)
metze
(This used to be commit 3daa68e1c4212f1dad98b196a096ded3204b03ba)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
04b50f0f0d r20095: make a complete copy of the binding string
metze
(This used to be commit b0ee1308928d4747639033807aa3f9441ba2ac14)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
913d1a91b8 r20094: this should be non-const
metze
(This used to be commit 1b6621814ba83724e05c0c2bea28d6eb295a3655)
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
00306527b6 r20093: some documentation updates
metze
(This used to be commit 314308c0bf8eeb168d59dab2a867e6bf5f51266b)
2007-10-10 14:29:04 -05:00
Andrew Tridgell
9944a67508 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
(This used to be commit d57b9fb29860bd03cfa970bcc52ef45d17775638)
2007-10-10 14:29:04 -05:00
Andrew Tridgell
5235e6518c r20091: remove blank lines at the end of text lines loaded from a file
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
8b137ba30a r20088: implement DsReplicaUpdateRefs() calls for all partitions
metze
(This used to be commit 557bb8008916fbba95dd3b3a1a872ddf5a143693)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
7312cda3b3 r20086: pull domain partition
metze
(This used to be commit 8b03b3a196d9c2b33344d8d0730596b7f24c61dc)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
9e426649c5 r20085: add _part to structure elements
metze
(This used to be commit de2f9869b5ab97adcb018ede10941562eca518c7)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
d26ac7b937 r20084: pull the config partition
metze
(This used to be commit d770effb89a84b53fcdbe0ced29d76455321df9d)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
3155ded048 r20083: move function together which belong to each other
metze
(This used to be commit 0c4a7d713da3a96ab1abb3ef65c2fecd110a0549)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
662ea9f1c7 r20081: pull the whole schema partition
metze
(This used to be commit 2f1ec24d776a7ecf4d9b4270f8969e57a4335050)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
f9609d779d r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze
(This used to be commit cb5c2e9dc6838145fe9f6f2e727a1df26e688467)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
d3c9737e5b 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
(This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
2007-10-10 14:29:01 -05:00
Andrew Tridgell
c9291facd4 r20078: support the large samba3 reads in RAW-READ test
(This used to be commit a4c2a575faf6a20174730524a8b2878eb9fdb50d)
2007-10-10 14:29:01 -05:00
Andrew Tridgell
c72c3e9834 r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
(This used to be commit e5dbbe177c13b2788b4b4765b3b37cc918b3405c)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
2326af7dbd r20076: give the guids meanings
metze
(This used to be commit 3f1e88759cce7b05a117928efe73b353b28e8576)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
3fd9c96342 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
(This used to be commit 1e4abd6a9134c9e279bb7e720c1c83019870f49a)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
1dfd365d57 r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx

metze
(This used to be commit a52d5f6ed9d92890d2a677d9398450f355165de2)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
6011531ac6 r20073: update the computer_dn_str after ldb_rename()
metze
(This used to be commit c40bc7d287664d67415ae0a8b7a272732172ec40)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
be69066736 r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
(This used to be commit 417f64184e734ab4ce5c78dc3d268c5c4a2cd18d)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
048279b2be r20071: move common code into a function
metze
(This used to be commit 61c312a943e93372bc04463bf7e7ebd16166e31e)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
1e17f6ed38 r20070: implement the 2nd and 3rd drsuapi connection
metze
(This used to be commit 6b84a5b595a9637079f944d3285a6e0b6e69d7ec)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
99390be80c r20068: handle DsAddEntry() errors
metze
(This used to be commit 45466871b4f10948653274c3c1a43eeac2edc244)
2007-10-10 14:28:58 -05:00