summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_become_dc.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-09Remove the forced 'krb5' from the NET-API-BECOME-DC test.Andrew Bartlett1-2/+2
If we want to try this authenication mechanism, we can always manually specify the binding string. Andrew Bartlett (This used to be commit 191d56d41e5af34e78e1ad711fb1c63c189f0b48)
2008-01-23Fix segfaults in codepaths only tested by the NET-API-BECOME-DC test.Andrew Bartlett1-12/+13
(I presume this has resulted from the global variable elimination) Perhaps the iconv handle argument to ndr_push_struct needs to be marked as 'not NULL' or similar? Andrew Bartlett (This used to be commit e8081333b8d43d96974c9e06a26aaa25dd34da56)
2008-01-05r26669: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij1-3/+3
(This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-12/+12
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij1-16/+16
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij1-16/+16
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26328: remove more uses of global_loadparm.Jelmer Vernooij1-3/+3
(This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-1/+2
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26277: Move loadparm context higher up the stack.Jelmer Vernooij1-1/+2
(This used to be commit 38fa08310ce573e9b46e76c840ddda6f18863573)
2007-12-21r26271: Remove some more uses of global_loadparm.Jelmer Vernooij1-0/+1
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-34/+71
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21r25803: Make our security descriptor acl manipulation methods more generic ↵Günther Deschner1-1/+1
so that we can add and delete ACEs for SACLs as well as for DACLs. Guenther (This used to be commit 947fff994181f0ae50ac76d09621ddd684873112)
2007-12-21r25607: Allow to set security descriptor type flags at creation time withGünther Deschner1-0/+1
security_descriptor_create(). Guenther (This used to be commit 7dd0d28d254f78891b0807492baafa188b42df16)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+1
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-9/+9
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r21839: add my email addressStefan Metzmacher1-1/+1
metze (This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10r21821: move comment about the becoming a dc to the code which implements itStefan Metzmacher1-0/+643
and extent the comments a bit metze (This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10r21820: move function, so that all are in top-down order as they get calledStefan Metzmacher1-23/+25
metze (This used to be commit 38bb7f5445cf1d1a52a9edb21475ed2d5ed20ce4)
2007-10-10r21538: this looks better...Stefan Metzmacher1-1/+1
metze (This used to be commit 8ddfbbcb93f7c94ab040984d460d6122f0ff6520)
2007-10-10r21516: - use the same assoc_group_id, for all 3 drsuapi connectionStefan Metzmacher1-4/+21
- use the PFC_CONC_MPX flag for the 3rd connection - to DsGetNCChanges requests on the 3rd connection with the bind handle from the 2nd connection to match w2k3 metze (This used to be commit 5071af332c2c079fd94c577e58ee6e8ccf157ffa)
2007-10-10r21295: pass down the gensec session key to the store_chunk hookStefan Metzmacher1-3/+10
metze (This used to be commit 91de9591732aab822f2a44c4a6698edce48f723b)
2007-10-10r21293: store the gensec session key for each drsuapi connectionStefan Metzmacher1-0/+14
metze (This used to be commit d399739820650bcbe486956374af84c436d3ec16)
2007-10-10r21292: add become_dc:print = yes option to dump out the drsuapi trafficStefan Metzmacher1-3/+74
metze (This used to be commit 5065a9b5ffe4dc9a77f4e5955dc0d8d86feb8c5e)
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)