summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22811: two more memory allocation checks.Rafal Szczesniak2-1/+4
rafal (This used to be commit d66b13f6facdba407604f33211574f43163b186c)
2007-10-10r22809: use buffer size specified in libnet context.Rafal Szczesniak2-5/+1
rafal (This used to be commit c78dfd356777f133427fb8d9013f38f19d43ecbd)
2007-10-10r22808: store default buffer size for samr operations in libnet context.Rafal Szczesniak2-1/+5
This allows not requiring it as an argument in some function calls and still enables specifying any size if it's necessary via libnet context. rafal (This used to be commit 3e4b0c5b3b6d6bd155c8ce11b2342f4af08342f6)
2007-10-10r22804: convert libnet_rpc_userinfo function to use "continue" functionsRafal Szczesniak1-127/+124
instead of a single handler. rafal (This used to be commit c27c0523ac695ef71df9b3176a69c6fb25b02ac0)
2007-10-10r22764: - replace talloc_zero with composite_createRafal Szczesniak1-16/+5
- use event context provided with libnet context instead of creating a new one rafal (This used to be commit ce8414b3daad335eac356a393f1653e2e10e2640)
2007-10-10r22763: replace talloc_zero calls with composite_create and add moreRafal Szczesniak2-17/+16
allocation checks. rafal (This used to be commit 621f3e567478fc8067f08f3589b54bf58ca9e1f1)
2007-10-10r22735: correct some commentsRafal Szczesniak1-1/+2
rafal (This used to be commit 6d4268bcd3c28ed2928e68aea567517a671e314a)
2007-10-10r22734: - use samr pipe if it is already openedRafal Szczesniak1-16/+79
- close connection handle after domains enumeration - collect domain names in subsequent rounds of enumeration (if there are more than one) rafal (This used to be commit 5ab76ce515c9b0524529e8e3607e991aff0fd7be)
2007-10-10r22672: use composite_create calls instead of talloc_zero.Rafal Szczesniak1-12/+6
rafal (This used to be commit 969b175c739ca29b04c15a26a05f317703eed656)
2007-10-10r22669: fix uninitialized element which was causing a crash with 'net ↵Stefan Metzmacher1-0/+1
password set' metze (This used to be commit 9bbe4733562a8fc6fe49377a47e482a14a6efc61)
2007-10-10r22565: add libnet_DomainList function.Rafal Szczesniak2-0/+265
rafal (This used to be commit b17da3b7da40de6a1fbe45a56b614b352f007508)
2007-10-10r22536: resolve name before passing to cldapStefan Metzmacher1-2/+13
metze (This used to be commit 2d282584065e668befea120b2baa2988cfe8998d)
2007-10-10r22519: convert libnet_DomainOpenSamr function from state-handling routineRafal Szczesniak1-122/+84
to composite_continue. rafal (This used to be commit 4a2839d95d18fe05152abbd88676c4fef4d59ace)
2007-10-10r22437: fix dependenciesStefan Metzmacher1-1/+2
metze (This used to be commit ca6594eb6bea52caaf504eba7dd7c7d6a37075a2)
2007-10-10r21839: add my email addressStefan Metzmacher4-4/+4
metze (This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10r21827: move comments to the place where the functionality is implementedStefan Metzmacher1-0/+156
metze (This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10r21826: reorder functionsStefan Metzmacher1-23/+25
metze (This used to be commit 3d0a810ccd5d7490d46f91ca6aef6052ca0c56c3)
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-10r21541: Export mgmt, samr and atsvc for use in samba-gtk.Jelmer Vernooij1-1/+1
(This used to be commit 7f451cbb8da26cfe27861c402e06b3f34f7ac647)
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-10r21362: rename:Stefan Metzmacher1-4/+4
"ntPwdHash" => "unicodePwd" "lmPwdHash" => "dBCSPwd" "sambaLMPwdHistory" => "lmPwdHistory" "sambaNTPwdHistory" => "ntPwdHistory" Note: you need to reprovision after this change! metze (This used to be commit dc4242c09c0402cbfdba912f82892df3153456ad)
2007-10-10r21300: let the caller decide if it wants rid decrypted hashes or notStefan Metzmacher5-3/+12
metze (This used to be commit 8711d01ffd080c43512b88b995daf2d6b7c06ba1)
2007-10-10r21295: pass down the gensec session key to the store_chunk hookStefan Metzmacher2-3/+11
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-10r21255: Add a debugging option to avoid rid decryption in the samsync output.Andrew Bartlett1-12/+22
Andrew Bartlett (This used to be commit 9e15a51579157405b2013b9b948d279fefd0eda6)
2007-10-10r21175: Fix the kerberos keytab update code to handle deletes.Andrew Bartlett1-28/+0
Fix the join code to know that the ldb layer handles the keytab update. Andrew Bartlett (This used to be commit d3fbc089f4161ae71b21077d50130fdabd8b2d77)
2007-10-10r21141: Attempt to fix the buildVolker Lendecke1-1/+1
(This used to be commit 3f41a4b014a47b3c751066f5d1bef7f76f4be831)
2007-10-10r20964: Show the domain name we figured out, rather than a null pointer (inAndrew Bartlett1-1/+1
some error cases) Andrew Bartlett (This used to be commit 4195839d1a6102d7c6ae17c1b1db0418c99c9241)
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-10r20397: Another user of the DsCrackNames call needs a rename following IDL ↵Andrew Bartlett1-2/+2
clarification. Andrew Bartlett (This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)
2007-10-10r20328: use prereq function instead of local implementation.Rafal Szczesniak1-42/+3
rafal (This used to be commit f79dcd41e78662c376d29cf210436c0a28cce4e8)
2007-10-10r20294: Without this we don't do the ADS join against Win2k3 SP1Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 7a7f1a97644ab420cf43282d6979881c5c4c59b6)
2007-10-10r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher2-58/+67
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 Metzmacher2-3/+17
metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
2007-10-10r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher2-64/+76
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 Metzmacher2-15/+24
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)