summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_become_dc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20714: we can use talloc_asprintf_append() again, because strupper_talloc()Stefan Metzmacher1-6/+5
creates string with the correct memory size without padding zero bytes at the end metze (This used to be commit df8e97014bf67e59ab9a88ce225819d6057dfb08)
2007-10-10r20708: fix crash bug! we can't use stack memory for async requests...Stefan Metzmacher1-4/+7
jelmer: please take more care when you fix pidl warnings:-) metze (This used to be commit 05da114ea8db637febe88ac1ce5c92640de7754a)
2007-10-10r20676: Add ref pointer to fix warning.Jelmer Vernooij1-6/+8
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10r20570: use talloc_asprintf() instead of talloc_asprintf_append()Stefan Metzmacher1-3/+4
because talloc_asprintf_append() doesn't work like talloc_append_string() which uses strlen() on the old string instead of (tc->size - 1) This matter in this case because strlower_talloc() over allocates tridge: how should we fix this in lib/talloc/? metze (This used to be commit 1748af20b1f7b325048619a1e66a1c8b69474c5f)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher1-70/+70
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20484: get rid of the special case for DN stringsStefan Metzmacher1-53/+100
metze (This used to be commit 4c2addf2dd5b74fa0026249ce373ff4becaaef40)
2007-10-10r20476: get rid of extra case for uint32 valuesStefan Metzmacher1-27/+36
metze (This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10r20475: remove special case for GUID valuesStefan Metzmacher1-10/+15
metze (This used to be commit b7ab1c0039cd8000861cd89ca072d9d2b0bbf9de)
2007-10-10r20418: start to get step by step rid of the union for the attributeStefan Metzmacher1-7/+15
specific attribute values. start with ntSecurityDescriptor metze (This used to be commit c72f5a16b4de2b8cc4f4a9c21b0dc3915a1d6c9f)
2007-10-10r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher1-55/+29
metze (This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
2007-10-10r20292: set ntds_dn_str if DsAddEntry() was successfulStefan Metzmacher1-0/+4
metze (This used to be commit 5cb59860676e86764cfaf7cd1c6e632c95badeb9)
2007-10-10r20291: implement prepare_db hook of libnet_BecomeDC()Stefan Metzmacher1-1/+7
metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
2007-10-10r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher1-59/+20
to the domain and forest structures metze (This used to be commit 15157bf5b94dacc868c49dbf750421eb221868ba)
2007-10-10r20283: pass in callbacks to libnet_BecomeDC() from the callerStefan Metzmacher1-15/+6
and implement the check_options call metze (This used to be commit fc9669e2a081a614599f7cdce1e031e8a8134c67)
2007-10-10r20282: prepare callback infrastructure to check if the forest/domainStefan Metzmacher1-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)
2007-10-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher1-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)
2007-10-10r20204: use symbolic constantStefan Metzmacher1-1/+1
metze (This used to be commit a816c2973a5cded5d2e520f35a79dc519205f350)
2007-10-10r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),Stefan Metzmacher1-1/+2
but that's not needed untill we can support the DsGetNCChanges() in the server... metze (This used to be commit 9c3267e17f984a0a47abd35cecb56c43cf97efcd)
2007-10-10r20109: let libnet_BecomeDC() work against w2k serversStefan Metzmacher1-4/+19
metze (This used to be commit d295239861a282d06a9a93cdafa4e4d7616928b8)
2007-10-10r20105: remove useless commentsStefan Metzmacher1-2/+0
metze (This used to be commit d70140ed07bf4d0d1d0a0485ca73a29cf1cafe8c)
2007-10-10r20095: make a complete copy of the binding stringStefan Metzmacher1-1/+7
metze (This used to be commit b0ee1308928d4747639033807aa3f9441ba2ac14)
2007-10-10r20088: implement DsReplicaUpdateRefs() calls for all partitionsStefan Metzmacher1-0/+111
metze (This used to be commit 557bb8008916fbba95dd3b3a1a872ddf5a143693)
2007-10-10r20086: pull domain partitionStefan Metzmacher1-2/+52
metze (This used to be commit 8b03b3a196d9c2b33344d8d0730596b7f24c61dc)
2007-10-10r20085: add _part to structure elementsStefan Metzmacher1-29/+29
metze (This used to be commit de2f9869b5ab97adcb018ede10941562eca518c7)
2007-10-10r20084: pull the config partitionStefan Metzmacher1-1/+53
metze (This used to be commit d770effb89a84b53fcdbe0ced29d76455321df9d)
2007-10-10r20083: move function together which belong to each otherStefan Metzmacher1-21/+21
metze (This used to be commit 0c4a7d713da3a96ab1abb3ef65c2fecd110a0549)
2007-10-10r20081: pull the whole schema partitionStefan Metzmacher1-2/+89
metze (This used to be commit 2f1ec24d776a7ecf4d9b4270f8969e57a4335050)
2007-10-10r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,Stefan Metzmacher1-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)
2007-10-10r20075: start pulling the schema content.Stefan Metzmacher1-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)
2007-10-10r20073: update the computer_dn_str after ldb_rename()Stefan Metzmacher1-1/+6
metze (This used to be commit c40bc7d287664d67415ae0a8b7a272732172ec40)
2007-10-10r20071: move common code into a functionStefan Metzmacher1-41/+36
metze (This used to be commit 61c312a943e93372bc04463bf7e7ebd16166e31e)
2007-10-10r20070: implement the 2nd and 3rd drsuapi connectionStefan Metzmacher1-6/+77
metze (This used to be commit 6b84a5b595a9637079f944d3285a6e0b6e69d7ec)
2007-10-10r20068: handle DsAddEntry() errorsStefan Metzmacher1-0/+52
metze (This used to be commit 45466871b4f10948653274c3c1a43eeac2edc244)
2007-10-10r20067: use a global zero_sidStefan Metzmacher1-14/+13
metze (This used to be commit 5ebf76d23e9f51672a5bf3dceffe20513f0bd070)
2007-10-10r20066: use the same sid "Domain Admins" for the security_descriptorStefan Metzmacher1-10/+20
metze (This used to be commit 58ae1bedf189d34f65ee07b7dd70a50a86901f05)
2007-10-10r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)Stefan Metzmacher1-8/+333
metze (This used to be commit e8c77b5cbad721c942c26b98f8396af374007e5d)
2007-10-10r20056: send a DsBindInfo28 struct in the DsBind() and take care of the ↵Stefan Metzmacher1-1/+71
DsBindInfo the remote end sends back metze (This used to be commit ff271297928a6d94cc8d2e07f5a77a81c5e14db3)
2007-10-10r20055: implement dummy DsAddEntry call (without attributes yet)Stefan Metzmacher1-0/+67
metze (This used to be commit 8441500a32ad61e84d7de64bf0b29f8c84f54211)
2007-10-10r20053: implement the DsBind on the 1st drsuapi connectionStefan Metzmacher1-0/+39
metze (This used to be commit f66f9c2150b36952ac56290db473167eab22ce97)
2007-10-10r20052: implement the first drsuapi connectionStefan Metzmacher1-0/+48
metze (This used to be commit 96e5d896553abac79d9e302173facf357e0cfff7)
2007-10-10r20051: handle the case where the server object exist, but doesn't have a ↵Stefan Metzmacher1-15/+69
serverReference metze (This used to be commit e5729a29fd1d32e25f670f36ec48132982d197f9)
2007-10-10r20045: implement the drsuapi_DsRemoveDSServer() callStefan Metzmacher1-2/+2
metze (This used to be commit deb85414c4d54a2eaf7b1318afb2eb6afdea9330)
2007-10-10r20043: when becoming a dc:Stefan Metzmacher1-1/+113
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION - implement moving to CN=Domain Controllers metze (This used to be commit c4037880a0c35c5d2550a0bdc9363c0592089ed9)
2007-10-10r20031: - implement earching for an existing server objectStefan Metzmacher1-0/+157
- implement adding a server object metze (This used to be commit 6d5a1f11e7fc2431b1ff70709331aa1660dbaae2)
2007-10-10r20030: - implement the computer object searchStefan Metzmacher1-2/+44
- fix a source vs. dest dsa bug metze (This used to be commit ef9d9799a48217c49b88e214b50a92988f474340)
2007-10-10r20029: - implement source_dsa site object searchStefan Metzmacher1-0/+31
metze (This used to be commit c6166a564178e65738fa1dc79e60b8aefea61dd2)
2007-10-10r20026: - store the infrastructure server_dn_strStefan Metzmacher1-1/+111
- implement the rid manager info searches metze (This used to be commit be3f91afe232d0e5df0a483cf907b04a56bf697e)
2007-10-10r20025: - implement the windows2003update revision searchStefan Metzmacher1-0/+91
- finish the infrastructure fsmo detail searches metze (This used to be commit f1a2bd6f374321f5102f72c0ed2a9b53476d341b)
2007-10-10r20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connectionStefan Metzmacher1-0/+52
metze (This used to be commit 99bdd5523b3fda290151384d424b2bd5c2f4ea34)
2007-10-10r20022: - implement the ldap connect codeStefan Metzmacher1-12/+177
- 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)