jra/samba/.git
16 years agor20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
Stefan Metzmacher [Tue, 12 Dec 2006 23:23:50 +0000 (23:23 +0000)]
r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()

metze
(This used to be commit 0359d9a00b3e30e2bd67b89d6b11236e5af0106b)

16 years agor20143: a bit of experiments before doing serious changes in ejsnet.
Rafal Szczesniak [Tue, 12 Dec 2006 23:01:51 +0000 (23:01 +0000)]
r20143: a bit of experiments before doing serious changes in ejsnet.

rafal
(This used to be commit 3cdd43ebcedfa7d1d59bd33b3bfed4e80560ec82)

16 years agor20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
Stefan Metzmacher [Tue, 12 Dec 2006 22:57:43 +0000 (22:57 +0000)]
r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
but that's not needed untill we can support the DsGetNCChanges()
in the server...

metze
(This used to be commit 9c3267e17f984a0a47abd35cecb56c43cf97efcd)

16 years agor20141: use the gensec_features of the cli_credentials for ildap connections,
Stefan Metzmacher [Tue, 12 Dec 2006 22:43:35 +0000 (22:43 +0000)]
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 b69471866c2a6c61002147938f233f2f63963ba4)

16 years agor20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!
Stefan Metzmacher [Tue, 12 Dec 2006 22:38:23 +0000 (22:38 +0000)]
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 75c037cae21714e394a63f2506387e1049eb4406)

16 years agor20138: return the proper status for the other functions as well.
Rafal Szczesniak [Tue, 12 Dec 2006 22:34:35 +0000 (22:34 +0000)]
r20138: return the proper status for the other functions as well.

rafal
(This used to be commit 0b82b9dba1f67b1d340b7cf2b35a826135c101d4)

16 years agor20137: return the proper status.
Rafal Szczesniak [Tue, 12 Dec 2006 22:28:33 +0000 (22:28 +0000)]
r20137: return the proper status.

rafal
(This used to be commit e635f5aeaf7cd722e55bd99e52a8de166ae0ecd5)

16 years agor20135: attach default gensec features to the cli_credentials structure,
Stefan Metzmacher [Tue, 12 Dec 2006 21:47:56 +0000 (21:47 +0000)]
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 a91dc4a02a46370c52f59cbd4dea9580fa6efafa)

16 years agor20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfy
Andrew Bartlett [Tue, 12 Dec 2006 21:47:47 +0000 (21:47 +0000)]
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)

16 years agor20130: remove one more talloc_get_type()
Stefan Metzmacher [Tue, 12 Dec 2006 19:02:14 +0000 (19:02 +0000)]
r20130: remove one more talloc_get_type()

metze
(This used to be commit 024dacb3b0a32bcaaef0b7a7598070b9034a7648)

16 years agor20129: remove unused structure elements
Stefan Metzmacher [Tue, 12 Dec 2006 18:58:21 +0000 (18:58 +0000)]
r20129: remove unused structure elements

metze
(This used to be commit 53805a8562c59116e458dedd695e061eabf78620)

16 years agor20128: get rid of more talloc_get_type() calls
Stefan Metzmacher [Tue, 12 Dec 2006 18:52:25 +0000 (18:52 +0000)]
r20128: get rid of more talloc_get_type() calls

metze
(This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)

16 years agor20127: - allocate ldb_handle under ldb_request! fix a mem leak
Stefan Metzmacher [Tue, 12 Dec 2006 18:45:12 +0000 (18:45 +0000)]
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)

16 years agor20126: fix talloc hierachy and make lldb a child of module
Stefan Metzmacher [Tue, 12 Dec 2006 18:25:19 +0000 (18:25 +0000)]
r20126: fix talloc hierachy and make lldb a child of module

metze
(This used to be commit 1e3bb180261643900c7bdacef818add5349c7a30)

16 years agor20125: fix some ugly mem leaks in the ldb_ildb backend
Stefan Metzmacher [Tue, 12 Dec 2006 18:14:31 +0000 (18:14 +0000)]
r20125: fix some ugly mem leaks in the ldb_ildb backend

metze
(This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)

16 years agor20123: - avoid some more talloc_get_type() calls
Stefan Metzmacher [Tue, 12 Dec 2006 17:37:41 +0000 (17:37 +0000)]
r20123: - avoid some more talloc_get_type() calls
- pass down ldb_request

metze
(This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)

16 years agor20122: pass ildb to ildb_request_noop()
Stefan Metzmacher [Tue, 12 Dec 2006 17:20:38 +0000 (17:20 +0000)]
r20122: pass ildb to ildb_request_noop()

metze
(This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)

16 years agor20121: pass down the ldb_request struct to ildb_request_send(),
Stefan Metzmacher [Tue, 12 Dec 2006 17:14:58 +0000 (17:14 +0000)]
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)

16 years agor20120: fix the talloc hierachy and make ildb a child of module
Stefan Metzmacher [Tue, 12 Dec 2006 16:56:53 +0000 (16:56 +0000)]
r20120: fix the talloc hierachy and make ildb a child of module

metze
(This used to be commit b85d5cb7a4931d1d43a0ec73f1de1519c720f1af)

16 years agor20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Stefan Metzmacher [Tue, 12 Dec 2006 07:53:12 +0000 (07:53 +0000)]
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)

16 years agor20114: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Stefan Metzmacher [Tue, 12 Dec 2006 07:46:06 +0000 (07:46 +0000)]
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)

16 years agor20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
Andrew Bartlett [Mon, 11 Dec 2006 23:59:03 +0000 (23:59 +0000)]
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)

16 years agor20111: this is the total object count of the current replication cycle
Stefan Metzmacher [Mon, 11 Dec 2006 20:14:49 +0000 (20:14 +0000)]
r20111: this is the total object count of the current replication cycle

metze
(This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)

16 years agor20109: let libnet_BecomeDC() work against w2k servers
Stefan Metzmacher [Mon, 11 Dec 2006 17:04:43 +0000 (17:04 +0000)]
r20109: let libnet_BecomeDC() work against w2k servers

metze
(This used to be commit d295239861a282d06a9a93cdafa4e4d7616928b8)

16 years agor20108: match w2k3 and send 1.2.840.48018.1.2.2 before 1.2.840.113554.1.2.2
Stefan Metzmacher [Mon, 11 Dec 2006 16:45:31 +0000 (16:45 +0000)]
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)

16 years agor20107: don't segfault when the server didn't send a supportedMech in a negTokenTarg
Stefan Metzmacher [Mon, 11 Dec 2006 16:36:30 +0000 (16:36 +0000)]
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)

16 years agor20106: Optional ONE Level indexing for ldb_tdb
Simo Sorce [Mon, 11 Dec 2006 15:49:39 +0000 (15:49 +0000)]
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)

16 years agor20105: remove useless comments
Stefan Metzmacher [Mon, 11 Dec 2006 13:17:36 +0000 (13:17 +0000)]
r20105: remove useless comments

metze
(This used to be commit d70140ed07bf4d0d1d0a0485ca73a29cf1cafe8c)

16 years agor20104: this is a alternative events backend, which uses a hybrid of aio and
Andrew Tridgell [Mon, 11 Dec 2006 08:53:29 +0000 (08:53 +0000)]
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)

16 years agor20103: Change the returned type of prerequisite checking functions,
Rafal Szczesniak [Sun, 10 Dec 2006 23:43:32 +0000 (23:43 +0000)]
r20103: Change the returned type of prerequisite checking functions,
as metze once suggested.

rafal
(This used to be commit 1f3fd5f85461d1e8c9cbdc3144d0a6533b170f76)

16 years agor20102: Do not reference remote_ldb before we initialise it. This should fix
Andrew Bartlett [Sun, 10 Dec 2006 23:28:36 +0000 (23:28 +0000)]
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)

16 years agor20101: Also rename a variable now that the unused parameter is gone
Simo Sorce [Sun, 10 Dec 2006 22:24:28 +0000 (22:24 +0000)]
r20101: Also rename a variable now that the unused parameter is gone
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)

16 years agor20100: Remove completely unused parameters
Simo Sorce [Sun, 10 Dec 2006 22:21:55 +0000 (22:21 +0000)]
r20100: Remove completely unused parameters
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)

16 years agor20099: Add some comments, and correct others.
Andrew Bartlett [Sun, 10 Dec 2006 22:21:20 +0000 (22:21 +0000)]
r20099: Add some comments, and correct others.

Andrew Bartlett
(This used to be commit d1b1a4c059bfa93bd55f9ffc718e802695c50cc9)

16 years agor20096: now I'm 100% sure:-)
Stefan Metzmacher [Sat, 9 Dec 2006 15:30:15 +0000 (15:30 +0000)]
r20096: now I'm 100% sure:-)

metze
(This used to be commit 3daa68e1c4212f1dad98b196a096ded3204b03ba)

16 years agor20095: make a complete copy of the binding string
Stefan Metzmacher [Sat, 9 Dec 2006 15:27:22 +0000 (15:27 +0000)]
r20095: make a complete copy of the binding string

metze
(This used to be commit b0ee1308928d4747639033807aa3f9441ba2ac14)

16 years agor20094: this should be non-const
Stefan Metzmacher [Sat, 9 Dec 2006 14:49:17 +0000 (14:49 +0000)]
r20094: this should be non-const

metze
(This used to be commit 1b6621814ba83724e05c0c2bea28d6eb295a3655)

16 years agor20093: some documentation updates
Stefan Metzmacher [Sat, 9 Dec 2006 13:54:30 +0000 (13:54 +0000)]
r20093: some documentation updates

metze
(This used to be commit 314308c0bf8eeb168d59dab2a867e6bf5f51266b)

16 years agor20092: added a locking benchmark that should be good for benchmarking
Andrew Tridgell [Sat, 9 Dec 2006 03:16:17 +0000 (03:16 +0000)]
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)

16 years agor20091: remove blank lines at the end of text lines loaded from a file
Andrew Tridgell [Sat, 9 Dec 2006 03:12:33 +0000 (03:12 +0000)]
r20091: remove blank lines at the end of text lines loaded from a file
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)

16 years agor20088: implement DsReplicaUpdateRefs() calls for all partitions
Stefan Metzmacher [Fri, 8 Dec 2006 18:52:29 +0000 (18:52 +0000)]
r20088: implement DsReplicaUpdateRefs() calls for all partitions

metze
(This used to be commit 557bb8008916fbba95dd3b3a1a872ddf5a143693)

16 years agor20086: pull domain partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:29:44 +0000 (18:29 +0000)]
r20086: pull domain partition

metze
(This used to be commit 8b03b3a196d9c2b33344d8d0730596b7f24c61dc)

16 years agor20085: add _part to structure elements
Stefan Metzmacher [Fri, 8 Dec 2006 18:22:26 +0000 (18:22 +0000)]
r20085: add _part to structure elements

metze
(This used to be commit de2f9869b5ab97adcb018ede10941562eca518c7)

16 years agor20084: pull the config partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:13:49 +0000 (18:13 +0000)]
r20084: pull the config partition

metze
(This used to be commit d770effb89a84b53fcdbe0ced29d76455321df9d)

16 years agor20083: move function together which belong to each other
Stefan Metzmacher [Fri, 8 Dec 2006 18:08:30 +0000 (18:08 +0000)]
r20083: move function together which belong to each other

metze
(This used to be commit 0c4a7d713da3a96ab1abb3ef65c2fecd110a0549)

16 years agor20081: pull the whole schema partition
Stefan Metzmacher [Fri, 8 Dec 2006 18:06:38 +0000 (18:06 +0000)]
r20081: pull the whole schema partition

metze
(This used to be commit 2f1ec24d776a7ecf4d9b4270f8969e57a4335050)

16 years agor20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
Stefan Metzmacher [Fri, 8 Dec 2006 18:01:30 +0000 (18:01 +0000)]
r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE

metze
(This used to be commit cb5c2e9dc6838145fe9f6f2e727a1df26e688467)

16 years agor20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
Stefan Metzmacher [Fri, 8 Dec 2006 17:34:15 +0000 (17:34 +0000)]
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)

16 years agor20078: support the large samba3 reads in RAW-READ test
Andrew Tridgell [Fri, 8 Dec 2006 03:47:55 +0000 (03:47 +0000)]
r20078: support the large samba3 reads in RAW-READ test
(This used to be commit a4c2a575faf6a20174730524a8b2878eb9fdb50d)

16 years agor20077: support large readx replies, as done by samba3 (and the snia spec),
Andrew Tridgell [Fri, 8 Dec 2006 03:47:02 +0000 (03:47 +0000)]
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)

16 years agor20076: give the guids meanings
Stefan Metzmacher [Fri, 8 Dec 2006 00:26:44 +0000 (00:26 +0000)]
r20076: give the guids meanings

metze
(This used to be commit 3f1e88759cce7b05a117928efe73b353b28e8576)

16 years agor20075: start pulling the schema content.
Stefan Metzmacher [Fri, 8 Dec 2006 00:16:36 +0000 (00:16 +0000)]
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)

16 years agor20074: this values seem to be typos in
Stefan Metzmacher [Fri, 8 Dec 2006 00:11:39 +0000 (00:11 +0000)]
r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx

metze
(This used to be commit a52d5f6ed9d92890d2a677d9398450f355165de2)

16 years agor20073: update the computer_dn_str after ldb_rename()
Stefan Metzmacher [Fri, 8 Dec 2006 00:09:07 +0000 (00:09 +0000)]
r20073: update the computer_dn_str after ldb_rename()

metze
(This used to be commit c40bc7d287664d67415ae0a8b7a272732172ec40)

16 years agor20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
Stefan Metzmacher [Thu, 7 Dec 2006 20:12:24 +0000 (20:12 +0000)]
r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED

metze
(This used to be commit 417f64184e734ab4ce5c78dc3d268c5c4a2cd18d)

16 years agor20071: move common code into a function
Stefan Metzmacher [Thu, 7 Dec 2006 20:11:00 +0000 (20:11 +0000)]
r20071: move common code into a function

metze
(This used to be commit 61c312a943e93372bc04463bf7e7ebd16166e31e)

16 years agor20070: implement the 2nd and 3rd drsuapi connection
Stefan Metzmacher [Thu, 7 Dec 2006 19:50:46 +0000 (19:50 +0000)]
r20070: implement the 2nd and 3rd drsuapi connection

metze
(This used to be commit 6b84a5b595a9637079f944d3285a6e0b6e69d7ec)

16 years agor20068: handle DsAddEntry() errors
Stefan Metzmacher [Thu, 7 Dec 2006 19:18:55 +0000 (19:18 +0000)]
r20068: handle DsAddEntry() errors

metze
(This used to be commit 45466871b4f10948653274c3c1a43eeac2edc244)

16 years agor20067: use a global zero_sid
Stefan Metzmacher [Thu, 7 Dec 2006 15:33:24 +0000 (15:33 +0000)]
r20067: use a global zero_sid

metze
(This used to be commit 5ebf76d23e9f51672a5bf3dceffe20513f0bd070)

16 years agor20066: use the same sid "Domain Admins" for the security_descriptor
Stefan Metzmacher [Thu, 7 Dec 2006 15:29:38 +0000 (15:29 +0000)]
r20066: use the same sid "Domain Admins" for the security_descriptor

metze
(This used to be commit 58ae1bedf189d34f65ee07b7dd70a50a86901f05)

16 years agor20065: make it possible to get the dns domain name and netbios domain name
Stefan Metzmacher [Thu, 7 Dec 2006 15:27:18 +0000 (15:27 +0000)]
r20065: make it possible to get the dns domain name and netbios domain name
of the join account

metze
(This used to be commit 45da80888f18f0fe10d1aeb9089a695125b184e1)

16 years agor20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()
Stefan Metzmacher [Thu, 7 Dec 2006 15:24:23 +0000 (15:24 +0000)]
r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()
  request work correctly
- the error structures all have the same type

metze
(This used to be commit 3322dbd901106262b22db35e9ef455a08ac2867c)

16 years agor20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)
Stefan Metzmacher [Thu, 7 Dec 2006 10:04:35 +0000 (10:04 +0000)]
r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)

metze
(This used to be commit e8c77b5cbad721c942c26b98f8396af374007e5d)

16 years agor20061: use a DsBindInfo28 structure
Stefan Metzmacher [Thu, 7 Dec 2006 06:41:24 +0000 (06:41 +0000)]
r20061: use a DsBindInfo28 structure

metze
(This used to be commit e8c14577976ccb718eb887b0d63b3ba75de00d47)

16 years agor20059: james was asking about CAP_LARGE_READX and reads close to the 64k
Andrew Tridgell [Thu, 7 Dec 2006 04:02:20 +0000 (04:02 +0000)]
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 :-)
(This used to be commit a10fa12ff5657a96e41b309558786780f294a75f)

16 years agor20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
Stefan Metzmacher [Wed, 6 Dec 2006 16:04:43 +0000 (16:04 +0000)]
r20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
the remote end sends back

metze
(This used to be commit ff271297928a6d94cc8d2e07f5a77a81c5e14db3)

16 years agor20055: implement dummy DsAddEntry call (without attributes yet)
Stefan Metzmacher [Wed, 6 Dec 2006 15:29:01 +0000 (15:29 +0000)]
r20055: implement dummy DsAddEntry call (without attributes yet)

metze
(This used to be commit 8441500a32ad61e84d7de64bf0b29f8c84f54211)

16 years agor20053: implement the DsBind on the 1st drsuapi connection
Stefan Metzmacher [Wed, 6 Dec 2006 12:25:41 +0000 (12:25 +0000)]
r20053: implement the DsBind on the 1st drsuapi connection

metze
(This used to be commit f66f9c2150b36952ac56290db473167eab22ce97)

16 years agor20052: implement the first drsuapi connection
Stefan Metzmacher [Wed, 6 Dec 2006 12:15:07 +0000 (12:15 +0000)]
r20052: implement the first drsuapi connection

metze
(This used to be commit 96e5d896553abac79d9e302173facf357e0cfff7)

16 years agor20051: handle the case where the server object exist, but doesn't have a serverReference
Stefan Metzmacher [Wed, 6 Dec 2006 12:08:32 +0000 (12:08 +0000)]
r20051: handle the case where the server object exist, but doesn't have a serverReference

metze
(This used to be commit e5729a29fd1d32e25f670f36ec48132982d197f9)

16 years agor20047: patch from Julien Kerihuel <j.kerihuel@openchange.org>
Stefan Metzmacher [Wed, 6 Dec 2006 09:25:26 +0000 (09:25 +0000)]
r20047: patch from Julien Kerihuel <j.kerihuel@openchange.org>
to make the "remote" rpc proxy work for outlook and exchange

metze
(This used to be commit 00875f806eca4165cb098b0e01e33c74fdea2bf5)

16 years agor20046: Add ldb_search_exp_fmt and port comment to 4
Volker Lendecke [Tue, 5 Dec 2006 16:20:39 +0000 (16:20 +0000)]
r20046: Add ldb_search_exp_fmt and port comment to 4
(This used to be commit 879dfed8d8356aae6a11352b89bdc0f2d9f28970)

16 years agor20045: implement the drsuapi_DsRemoveDSServer() call
Stefan Metzmacher [Tue, 5 Dec 2006 15:41:41 +0000 (15:41 +0000)]
r20045: implement the drsuapi_DsRemoveDSServer() call

metze
(This used to be commit deb85414c4d54a2eaf7b1318afb2eb6afdea9330)

16 years agor20044: implement the drsuapi connect and ds_bind
Stefan Metzmacher [Tue, 5 Dec 2006 14:41:13 +0000 (14:41 +0000)]
r20044: implement the drsuapi connect and ds_bind

metze
(This used to be commit 69f1b8d3889862e7f69881f8f6b7153c7d67868e)

16 years agor20043: when becoming a dc:
Stefan Metzmacher [Tue, 5 Dec 2006 13:46:27 +0000 (13:46 +0000)]
r20043: when becoming a dc:
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION
- implement moving to CN=Domain Controllers

metze
(This used to be commit c4037880a0c35c5d2550a0bdc9363c0592089ed9)

16 years agor20042: move the computer account to the CN=Computers container if needed
Stefan Metzmacher [Tue, 5 Dec 2006 13:21:47 +0000 (13:21 +0000)]
r20042: move the computer account to the CN=Computers container if needed

metze
(This used to be commit f9019565980058439091c4e17256676f7bbde044)

16 years agor20041: when unbecoming a dc:
Stefan Metzmacher [Tue, 5 Dec 2006 12:52:02 +0000 (12:52 +0000)]
r20041: when unbecoming a dc:
- implement lookup the computer object
- set userAccountControl = UF_WORKSTATION_TRUST_ACCOUNT if needed

metze
(This used to be commit 3a64eb4e8c9aa25c874a9dabc9d6e1324ac733b9)

16 years agor20040: uncomplete implementation start for libnet_UnbecomeDC()
Stefan Metzmacher [Tue, 5 Dec 2006 11:49:55 +0000 (11:49 +0000)]
r20040: uncomplete implementation start for libnet_UnbecomeDC()

metze
(This used to be commit f66a93ec0b5c0250dd5c49adde163b2aaaaddfbd)

16 years agor20039: things which need to be done for unbecoming a dc
Stefan Metzmacher [Tue, 5 Dec 2006 11:08:53 +0000 (11:08 +0000)]
r20039: things which need to be done for unbecoming a dc

metze
(This used to be commit 73f7e2d5b3b3ae767644b96ff9783642aac153d0)

16 years agor20038: document first rootdse search
Stefan Metzmacher [Tue, 5 Dec 2006 10:18:21 +0000 (10:18 +0000)]
r20038: document first rootdse search

metze
(This used to be commit da6415363b2694961a59385437d34d16a932e77b)

16 years agor20034: Start using ldb_search_exp_fmt()
Simo Sorce [Tue, 5 Dec 2006 04:25:27 +0000 (04:25 +0000)]
r20034: Start using ldb_search_exp_fmt()
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)

16 years agor20033: Never commit before testing
Simo Sorce [Tue, 5 Dec 2006 03:52:58 +0000 (03:52 +0000)]
r20033: Never commit before testing
Never commit before testing
Never commit before testing

:-)
(This used to be commit fdd6ce6b7e288137aeaf62f9869441c73bedbd45)

16 years agor20032: Add ldb_search_exp_fmt()
Simo Sorce [Tue, 5 Dec 2006 02:48:58 +0000 (02:48 +0000)]
r20032: Add ldb_search_exp_fmt()
This functions adds support of a memory context to hook the results to
and a printf style exp_fmt partameter to easily build expressions at once.
(This used to be commit 2a2e181e4bc382d69056cebace9a4ae9897bdfbc)

16 years agor20031: - implement earching for an existing server object
Stefan Metzmacher [Mon, 4 Dec 2006 18:20:03 +0000 (18:20 +0000)]
r20031: - implement earching for an existing server object
- implement adding a server object

metze
(This used to be commit 6d5a1f11e7fc2431b1ff70709331aa1660dbaae2)

16 years agor20030: - implement the computer object search
Stefan Metzmacher [Mon, 4 Dec 2006 17:27:46 +0000 (17:27 +0000)]
r20030: - implement the computer object search
- fix a source vs. dest dsa bug

metze
(This used to be commit ef9d9799a48217c49b88e214b50a92988f474340)

16 years agor20029: - implement source_dsa site object search
Stefan Metzmacher [Mon, 4 Dec 2006 16:30:27 +0000 (16:30 +0000)]
r20029: - implement source_dsa site object search

metze
(This used to be commit c6166a564178e65738fa1dc79e60b8aefea61dd2)

16 years agor20028: fix typos
Stefan Metzmacher [Mon, 4 Dec 2006 11:08:56 +0000 (11:08 +0000)]
r20028: fix typos

metze
(This used to be commit 72f5e0f7ee327933acf3148fbc72d31d7ad1b040)

16 years agor20027: restore instanceType and systemFlags values, which got lost in
Stefan Metzmacher [Mon, 4 Dec 2006 11:07:59 +0000 (11:07 +0000)]
r20027: restore instanceType and systemFlags values, which got lost in
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_4_0/source/dsdb/common/flags.h?p1=branches%2FSAMBA_4_0%2Fsource%2Finclude%2Fads.h&rev=17930&r1=15511&r2=17930

metze
(This used to be commit 5da9dedece20ca21c0395fdcdffddff5948f7dc5)

16 years agor20026: - store the infrastructure server_dn_str
Stefan Metzmacher [Mon, 4 Dec 2006 10:02:08 +0000 (10:02 +0000)]
r20026: - store the infrastructure server_dn_str
- implement the rid manager info searches

metze
(This used to be commit be3f91afe232d0e5df0a483cf907b04a56bf697e)

16 years agor20025: - implement the windows2003update revision search
Stefan Metzmacher [Mon, 4 Dec 2006 09:40:16 +0000 (09:40 +0000)]
r20025: - implement the windows2003update revision search
- finish the infrastructure fsmo detail searches

metze
(This used to be commit f1a2bd6f374321f5102f72c0ed2a9b53476d341b)

16 years agor20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connection
Stefan Metzmacher [Sun, 3 Dec 2006 21:05:18 +0000 (21:05 +0000)]
r20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connection

metze
(This used to be commit 99bdd5523b3fda290151384d424b2bd5c2f4ea34)

16 years agor20023: handle <SID=...> <WKGUID=...> dn's also in ldb_dn_new_fmt()
Stefan Metzmacher [Sun, 3 Dec 2006 20:45:13 +0000 (20:45 +0000)]
r20023: handle <SID=...> <WKGUID=...> dn's also in ldb_dn_new_fmt()

metze
(This used to be commit 01e3a5080a38c93c4bbf249b03135314b7e0b3f1)

16 years agor20022: - implement the ldap connect code
Stefan Metzmacher [Sun, 3 Dec 2006 20:37:44 +0000 (20:37 +0000)]
r20022: - implement the ldap connect code
- implement rootdse search on the 1st LDAP connection
- implement msDs-Behavior-Version and objectVersion searches on the 1st LDAP connection

metze
(This used to be commit b9b705b7ddcae65383a832d12df62d0946b6b20a)

16 years agor20021: implement a CLDAP netlogon request to get some infos
Stefan Metzmacher [Sun, 3 Dec 2006 19:22:51 +0000 (19:22 +0000)]
r20021: implement a CLDAP netlogon request to get some infos
needed for becoming a dc.

metze
(This used to be commit 6a007aaa512849459ddc172b38f73561cc5e4846)

16 years agor20011: define libnet_BecomeDC_state struct and add some dummy functions
Stefan Metzmacher [Sat, 2 Dec 2006 15:35:27 +0000 (15:35 +0000)]
r20011: define libnet_BecomeDC_state struct and add some dummy functions

metze
(This used to be commit 2a50a885ed933c516430eb4284eb4badb6ab67ff)

16 years agor20010: cosmetic fix
Stefan Metzmacher [Sat, 2 Dec 2006 13:16:15 +0000 (13:16 +0000)]
r20010: cosmetic fix

metze
(This used to be commit 9c992a39db32cbe35f0ecb8fe98223bb24a1e973)

16 years agor20009: use a composite context
Stefan Metzmacher [Sat, 2 Dec 2006 13:00:20 +0000 (13:00 +0000)]
r20009: use a composite context

metze
(This used to be commit ed3826bc47586dbaf06993d6c9156e0f79886c07)

16 years agor20008: add stubs for a libnet_BecomeDC() call
Stefan Metzmacher [Sat, 2 Dec 2006 12:46:13 +0000 (12:46 +0000)]
r20008: add stubs for a libnet_BecomeDC() call

metze
(This used to be commit 103ac9a96bb43f512915196eb8869f9633410618)

16 years agor20002: finish requests on the first LDAP connection
Stefan Metzmacher [Sat, 2 Dec 2006 09:19:09 +0000 (09:19 +0000)]
r20002: finish requests on the first LDAP connection

metze
(This used to be commit c5efd061c5457fb4d344daa2e40dada9c0c37e79)

16 years agor20000: 20000
Stefan Metzmacher [Sat, 2 Dec 2006 09:03:47 +0000 (09:03 +0000)]
r20000: 20000

metze
(This used to be commit a3202714a34d49af30435dc3d2935e053e141853)