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

11359 Commits

Author SHA1 Message Date
Stefan Metzmacher
b236d54c42 r20141: use the gensec_features of the cli_credentials for ildap connections,
instead of hardcoded GENSEC_FEATURE_SEAL.

That means plain LDAP is now the default.

metze
(This used to be commit b69471866c)
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
f2784a8bb0 r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!
this is needed to create plain, singed or sealed LDAP connections.

this should go into lorikeet and main heimdal...

metze
(This used to be commit 75c037cae2)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
6de9ae9e43 r20138: return the proper status for the other functions as well.
rafal
(This used to be commit 0b82b9dba1)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
3dde7ab2c0 r20137: return the proper status.
rafal
(This used to be commit e635f5aeaf)
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
38a472c994 r20135: attach default gensec features to the cli_credentials structure,
so make it possible to force encryption or signing.

metze
(This used to be commit a91dc4a02a)
2007-10-10 14:29:12 -05:00
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 c118275131)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
4e93962ea5 r20130: remove one more talloc_get_type()
metze
(This used to be commit 024dacb3b0)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
1a82770112 r20129: remove unused structure elements
metze
(This used to be commit 53805a8562)
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 cb89f0b8d5)
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 a7397c4d2b)
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 1e3bb18026)
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 db85b7840c)
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 b0b9e83fed)
2007-10-10 14:29:10 -05:00
Stefan Metzmacher
a2976633ff r20122: pass ildb to ildb_request_noop()
metze
(This used to be commit cf9aade216)
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 03029d4fed)
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 b85d5cb7a4)
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 9ddabfc60e)
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 ed4c7ce547)
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 5b32f102af)
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 4daa45f98a)
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 d295239861)
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 fa5c942ee9)
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 5af5488593)
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 ea111795f4)
2007-10-10 14:29:07 -05:00
Stefan Metzmacher
d4ac51982c r20105: remove useless comments
metze
(This used to be commit d70140ed07)
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 195051fdee)
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 1f3fd5f854)
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 924af98ffa)
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 a2520bcfa9)
2007-10-10 14:29:06 -05:00
Simo Sorce
5dd224f260 r20100: Remove completely unused parameters
(This used to be commit cc1bcb8148)
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 d1b1a4c059)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
cc0edee3f6 r20096: now I'm 100% sure:-)
metze
(This used to be commit 3daa68e1c4)
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 b0ee130892)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
913d1a91b8 r20094: this should be non-const
metze
(This used to be commit 1b6621814b)
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
00306527b6 r20093: some documentation updates
metze
(This used to be commit 314308c0bf)
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 d57b9fb298)
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 afcc797e8a)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
8b137ba30a r20088: implement DsReplicaUpdateRefs() calls for all partitions
metze
(This used to be commit 557bb80089)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
7312cda3b3 r20086: pull domain partition
metze
(This used to be commit 8b03b3a196)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
9e426649c5 r20085: add _part to structure elements
metze
(This used to be commit de2f9869b5)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
d26ac7b937 r20084: pull the config partition
metze
(This used to be commit d770effb89)
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 0c4a7d713d)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
662ea9f1c7 r20081: pull the whole schema partition
metze
(This used to be commit 2f1ec24d77)
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 cb5c2e9dc6)
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 527bd9a0a3)
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 a4c2a575fa)
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 e5dbbe177c)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
2326af7dbd r20076: give the guids meanings
metze
(This used to be commit 3f1e88759c)
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 1e4abd6a91)
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 a52d5f6ed9)
2007-10-10 14:29:00 -05:00