summaryrefslogtreecommitdiffstats
path: root/source4/libnet
Commit message (Collapse)AuthorAgeFilesLines
* r20397: Another user of the DsCrackNames call needs a rename following IDL ↵Andrew Bartlett2007-10-101-2/+2
| | | | | | | clarification. Andrew Bartlett (This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)
* r20328: use prereq function instead of local implementation.Rafal Szczesniak2007-10-101-42/+3
| | | | | rafal (This used to be commit f79dcd41e78662c376d29cf210436c0a28cce4e8)
* r20294: Without this we don't do the ADS join against Win2k3 SP1Andrew Bartlett2007-10-101-0/+1
| | | | | Andrew Bartlett (This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6)
* r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher2007-10-102-58/+67
| | | | | metze (This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
* r20292: set ntds_dn_str if DsAddEntry() was successfulStefan Metzmacher2007-10-101-0/+4
| | | | | metze (This used to be commit 5cb59860676e86764cfaf7cd1c6e632c95badeb9)
* r20291: implement prepare_db hook of libnet_BecomeDC()Stefan Metzmacher2007-10-102-3/+17
| | | | | metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
* r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher2007-10-102-64/+76
| | | | | | | to the domain and forest structures metze (This used to be commit 15157bf5b94dacc868c49dbf750421eb221868ba)
* r20283: pass in callbacks to libnet_BecomeDC() from the callerStefan Metzmacher2007-10-102-15/+24
| | | | | | | and implement the check_options call metze (This used to be commit fc9669e2a081a614599f7cdce1e031e8a8134c67)
* r20282: prepare callback infrastructure to check if the forest/domainStefan Metzmacher2007-10-101-0/+46
| | | | | | | | | behaviors and the schema version is what the caller expects. also a callback prepares the new database and commits chunks to the partitions metze (This used to be commit 9b5116be2eb246eda2a4c63e86cf4f15f90b915e)
* r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher2007-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transferred in replication replies, but I don't know the exact encoding. for example the oids are transferred as: 2.5.4 => uint8_t v[] = { 0x55, 0x04 }; 2.5.5 => uint8_t v[] = { 0x55, 0x05 }; 2.5.6 => uint8_t v[] = { 0x55, 0x06 }; 2.5.18 => uint8_t v[] = { 0x55, 0x12 }; 2.5.20 => uint8_t v[] = { 0x55, 0x14 }; 2.5.21 => uint8_t v[] = { 0x55, 0x15 }; 1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 }; 1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 }; 1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 }; 1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 }; 1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 }; 1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 }; 2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 }; 2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 }; 2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 }; 0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 }; 0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 }; 1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 }; 1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 }; if someone knows how the encoding works, please tell me:-) I assume some ASN.1 encoding... metze (This used to be commit aa720a15319392fee5c532959192d0df5bf4c718)
* r20225: we can't use composite_error() in a _recv() function, as that wouldStefan Metzmacher2007-10-101-1/+4
| | | | | | | | | | | | | | | | trigger the caller to call the _recv() function again and will be an endless loop. this is just a fix the to prevent this, and use a more usefull error code than NT_STATUS_UNSUCCESSFUL I think we should move the checks about valid responses into the function which receives the the response (here continue_name_found()), so that the _recv() function only needs to transfer the output vars to the caller without any logic to analyse the network response. metze (This used to be commit c02048f4800fe14e975f1cf0b5bd45f14261ac18)
* r20222: return status unsuccessful when null pointers are returnedRafal Szczesniak2007-10-101-1/+3
| | | | | | | from lookup call. rafal (This used to be commit 0eb605cf423faee2111b3d70cef1c578564a0fb5)
* r20205: remove unused varStefan Metzmacher2007-10-101-2/+0
| | | | | metze (This used to be commit a77e1bd1b48e953773db47a5469b1712794f26cf)
* r20204: use symbolic constantStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit a816c2973a5cded5d2e520f35a79dc519205f350)
* r20182: make the composite api usage more consistant (only cosmetic change)Stefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit 1f67433914bfab83bf1950263809c9e152ad6dcc)
* r20177: return the actual function status code.Rafal Szczesniak2007-10-101-0/+2
| | | | | rafal (This used to be commit 2d046cc0df820edc141a74e7d204e4fba462e037)
* r20166: we have a dom_sid_add_rid() function that adds the rid after allocatingStefan Metzmacher2007-10-102-12/+10
| | | | | | | | | | | enough memory for the new sub_auth element. the old version wrote behind the buffer. also make the output sid a pointer. metze (This used to be commit b9901d5f8c9aa777bafd3a670d27209552bc56b7)
* r20162: Always return some error string.Rafal Szczesniak2007-10-101-0/+3
| | | | | rafal (This used to be commit 0c373605776eb166ffe46db0dd21395efc3bb186)
* r20161: Prevent potential segfault in case account is unknown.Rafal Szczesniak2007-10-101-8/+12
| | | | | rafal (This used to be commit 9f5f9ee9b4b815715c0b580e21ab0906fa15ae96)
* r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),Stefan Metzmacher2007-10-101-1/+2
| | | | | | | | but that's not needed untill we can support the DsGetNCChanges() in the server... metze (This used to be commit 9c3267e17f984a0a47abd35cecb56c43cf97efcd)
* r20138: return the proper status for the other functions as well.Rafal Szczesniak2007-10-101-3/+7
| | | | | rafal (This used to be commit 0b82b9dba1f67b1d340b7cf2b35a826135c101d4)
* r20137: return the proper status.Rafal Szczesniak2007-10-101-1/+4
| | | | | rafal (This used to be commit e635f5aeaf7cd722e55bd99e52a8de166ae0ecd5)
* r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and inAndrew Bartlett2007-10-102-4/+8
| | | | | | | | | | 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)
* r20109: let libnet_BecomeDC() work against w2k serversStefan Metzmacher2007-10-101-4/+19
| | | | | metze (This used to be commit d295239861a282d06a9a93cdafa4e4d7616928b8)
* r20105: remove useless commentsStefan Metzmacher2007-10-101-2/+0
| | | | | metze (This used to be commit d70140ed07bf4d0d1d0a0485ca73a29cf1cafe8c)
* r20103: Change the returned type of prerequisite checking functions,Rafal Szczesniak2007-10-102-43/+48
| | | | | | | as metze once suggested. rafal (This used to be commit 1f3fd5f85461d1e8c9cbdc3144d0a6533b170f76)
* r20102: Do not reference remote_ldb before we initialise it. This should fixAndrew Bartlett2007-10-101-8/+8
| | | | | | | up many of the build farm failures. Andrew Bartlett (This used to be commit 924af98ffaab3735c3f31014059e7cd0abd71919)
* r20099: Add some comments, and correct others.Andrew Bartlett2007-10-101-2/+4
| | | | | Andrew Bartlett (This used to be commit d1b1a4c059bfa93bd55f9ffc718e802695c50cc9)
* r20095: make a complete copy of the binding stringStefan Metzmacher2007-10-101-1/+7
| | | | | metze (This used to be commit b0ee1308928d4747639033807aa3f9441ba2ac14)
* r20088: implement DsReplicaUpdateRefs() calls for all partitionsStefan Metzmacher2007-10-101-0/+111
| | | | | metze (This used to be commit 557bb8008916fbba95dd3b3a1a872ddf5a143693)
* r20086: pull domain partitionStefan Metzmacher2007-10-101-2/+52
| | | | | metze (This used to be commit 8b03b3a196d9c2b33344d8d0730596b7f24c61dc)
* r20085: add _part to structure elementsStefan Metzmacher2007-10-101-29/+29
| | | | | metze (This used to be commit de2f9869b5ab97adcb018ede10941562eca518c7)
* r20084: pull the config partitionStefan Metzmacher2007-10-101-1/+53
| | | | | metze (This used to be commit d770effb89a84b53fcdbe0ced29d76455321df9d)
* r20083: move function together which belong to each otherStefan Metzmacher2007-10-101-21/+21
| | | | | metze (This used to be commit 0c4a7d713da3a96ab1abb3ef65c2fecd110a0549)
* r20081: pull the whole schema partitionStefan Metzmacher2007-10-101-2/+89
| | | | | metze (This used to be commit 2f1ec24d776a7ecf4d9b4270f8969e57a4335050)
* r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,Stefan Metzmacher2007-10-101-2/+3
| | | | | | | | this wasn't noticed because on the 1st dc in the forest both have the same value metze (This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
* r20075: start pulling the schema content.Stefan Metzmacher2007-10-101-0/+109
| | | | | | | | 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)
* r20073: update the computer_dn_str after ldb_rename()Stefan Metzmacher2007-10-102-2/+12
| | | | | metze (This used to be commit c40bc7d287664d67415ae0a8b7a272732172ec40)
* r20071: move common code into a functionStefan Metzmacher2007-10-101-41/+36
| | | | | metze (This used to be commit 61c312a943e93372bc04463bf7e7ebd16166e31e)
* r20070: implement the 2nd and 3rd drsuapi connectionStefan Metzmacher2007-10-101-6/+77
| | | | | metze (This used to be commit 6b84a5b595a9637079f944d3285a6e0b6e69d7ec)
* r20068: handle DsAddEntry() errorsStefan Metzmacher2007-10-101-0/+52
| | | | | metze (This used to be commit 45466871b4f10948653274c3c1a43eeac2edc244)
* r20067: use a global zero_sidStefan Metzmacher2007-10-101-14/+13
| | | | | metze (This used to be commit 5ebf76d23e9f51672a5bf3dceffe20513f0bd070)
* r20066: use the same sid "Domain Admins" for the security_descriptorStefan Metzmacher2007-10-102-10/+21
| | | | | metze (This used to be commit 58ae1bedf189d34f65ee07b7dd70a50a86901f05)
* r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)Stefan Metzmacher2007-10-101-8/+333
| | | | | metze (This used to be commit e8c77b5cbad721c942c26b98f8396af374007e5d)
* r20061: use a DsBindInfo28 structureStefan Metzmacher2007-10-101-1/+32
| | | | | metze (This used to be commit e8c14577976ccb718eb887b0d63b3ba75de00d47)
* r20056: send a DsBindInfo28 struct in the DsBind() and take care of the ↵Stefan Metzmacher2007-10-101-1/+71
| | | | | | | | | DsBindInfo the remote end sends back metze (This used to be commit ff271297928a6d94cc8d2e07f5a77a81c5e14db3)
* r20055: implement dummy DsAddEntry call (without attributes yet)Stefan Metzmacher2007-10-101-0/+67
| | | | | metze (This used to be commit 8441500a32ad61e84d7de64bf0b29f8c84f54211)
* r20053: implement the DsBind on the 1st drsuapi connectionStefan Metzmacher2007-10-101-0/+39
| | | | | metze (This used to be commit f66f9c2150b36952ac56290db473167eab22ce97)
* r20052: implement the first drsuapi connectionStefan Metzmacher2007-10-101-0/+48
| | | | | metze (This used to be commit 96e5d896553abac79d9e302173facf357e0cfff7)
* r20051: handle the case where the server object exist, but doesn't have a ↵Stefan Metzmacher2007-10-101-15/+69
| | | | | | | serverReference metze (This used to be commit e5729a29fd1d32e25f670f36ec48132982d197f9)