summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2008-09-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett1-21/+95
trusted-domains (This used to be commit a057c3ed9df2670e5cad5f1807e280d77eb58cb0)
2008-09-08More work towards trusted domains support in Samba4's LSAAndrew Bartlett1-3/+3
Make 'lsar_CreateTrustedDomain' consistant with lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle Implement LSA server logic to create the cn=users trust account for incoming trusts. Andrew Bartlett (This used to be commit d87b655e20b7c38756774cec2e5898af38c46786)
2008-09-07ndr_compression: add XPRESS compression supportStefan Metzmacher1-1/+49
metze (This used to be commit 1432a96d37e367d9d97d48b69c6f16351a9ad066)
2008-09-07ndr_compression: fix the build after lzxpress_decompress() prototype changeStefan Metzmacher1-1/+11
metze (This used to be commit b36056aac3f55587d2b3e7b66feea8173dbc67f0)
2008-09-06ndr_compression: change debug levelsStefan Metzmacher1-6/+6
metze (This used to be commit 83446e22dd1eda958ef62bbe998da0a47b9ff8ef)
2008-09-06ndr_compression: use deflateReset() together with defalteSetDictionary()Stefan Metzmacher1-8/+17
metze (This used to be commit dcc57512b030995d9b186c7a6cb3b304d5680867)
2008-09-06ndr_compression: use inflateReset() and inflateSetDictionary() instead of ↵Stefan Metzmacher1-7/+14
inflateReset2() Now we can use an unmodified system zlib-1.2.3 metze (This used to be commit d68e36b485239cbaf99a6dce3f3bf52b4abcd06d)
2008-09-04More work to implement LSA CreateTrustedDomainEx2Andrew Bartlett2-8/+26
We still don't get the format inside the encrypted blob correct however. Andrew Bartlett (This used to be commit 99a3abda09716c064b3e9a37c4a79a8f62444eca)
2008-09-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2-1/+18
(This used to be commit 9590805bcbdd1924eda5a69978ffac7ec7603451)
2008-09-03Implement NETLOGON PAC verfication on the server-sideAndrew Bartlett2-1/+18
This is implemented by means of a message to the KDC, to avoid having to link most of the KDC into netlogon. Andrew Bartlett (This used to be commit 82fcd7941f5c54da2d994c8bd99dd8d86299a296)
2008-09-02Share IDL between the LSA and drsblob representations of trustsAndrew Bartlett2-41/+51
(This used to be commit e5520706c88911c66b3ce5817e371900212ca083)
2008-08-29It turns out that the Netlogon PAC verification is encrypted.Andrew Bartlett2-2/+9
This test now passes against Win2k3, and a implementation in the Samba4 server should follow shortly. Andrew Bartlett (This used to be commit c6b8ba893dd3ed90bca32c0ae89fd33be729c238)
2008-08-28Further rework the RPC-PAC test.Andrew Bartlett1-1/+1
This would seem to match the documentation requirements for the PAC verfication over NETLOGON, but I can't get Win2k3 to accept it so far. Andrew Bartlett (This used to be commit acfa87f3411a61bdd9066fbbba2bcfbe2a60cbbe)
2008-08-27Add a test to explore Netlogon PAC validationAndrew Bartlett2-5/+27
However, I have still not figured out this protocol yet, and the docs are rather unclear... :-( Andrew Bartlett (This used to be commit d878643071a1477435a267e2944461d367cdfa79)
2008-08-26Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verifyAndrew Bartlett12-191/+695
(This used to be commit b706708210a05d6f10474a3cd2bbc550704d4356)
2008-08-26Update RPC-LSA to (almost) pass against Windows 2008.Andrew Bartlett2-27/+92
(This used to be commit a17cb558c23142e522de3ed56d65c7694477395f)
2008-08-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett6-151/+471
(This used to be commit a555334db67527b57bc6172e3d08f65caf1e6760)
2008-08-22Merge commit 'origin/v4-0-test' into v4-0-testAndrew Tridgell3-21/+328
(This used to be commit 93cf0b3c7e6d8a4758c44519de51e51be89f76c7)
2008-08-22Merge branch 'abartlet-4-0-local' into v4-0-testAndrew Tridgell1-1/+7
(This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
2008-08-21ndr_compression: implement mszip compression based on deflate()Stefan Metzmacher1-1/+98
The output doesn't match the output from windows servers, but it's a start... metze (This used to be commit 8a2f9688275aa150b739b5525e738df15c5e25cc)
2008-08-21drsuapi.idl: use hand written push functions for the compressed blobsStefan Metzmacher2-6/+179
This isn't really the final solution, as we compress the data twice, but it works. metze (This used to be commit 6da1d41173a7b82412fcebdd751eade51cf82b2a)
2008-08-21ndr_compression: add common parts of ndr compressionStefan Metzmacher1-15/+52
metze (This used to be commit 9fe466f84afcbd64c9bbfe0f9ea6c1933acb07fe)
2008-08-20krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type ↵Stefan Metzmacher1-5/+1
Serialization header Now we should be able to handle bigendian PAC_LOGON_INFO buffers. metze (This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
2008-08-20drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*Stefan Metzmacher1-4/+12
metze (This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)
2008-08-20ndr_compression: remove the type serialization handling from the compression ↵Stefan Metzmacher1-36/+0
layer metze (This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)
2008-08-20ndr_compression: unify the common handling of mszip and xpress compressionStefan Metzmacher1-107/+33
metze (This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)
2008-08-20librpc/ndr: add support for Type Serialization Version 1 to subcontextStefan Metzmacher1-1/+114
We use the header size 0xFFFFFC01 as magic for constructed types. See [MS-RPCE] 2.2.6 Type Serialization Version 1 for more details. metze (This used to be commit 98d3568f079ea143214bcf5271b636313d6491c3)
2008-08-20Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer1-1/+7
I've studied now the netlogon attribute from the CLDAP request and have compared them with the table presented in the WSPP docs (http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two bytes seem to be correct, but that the third and fourth one is completely clear with SAMBA 4. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 3024a43c25e3ec9821d94a27d5cf738890b1b8f3)
2008-08-19Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2-17/+139
(This used to be commit a6146cc14ba950b1911094b1525c7d06b50ecec6)
2008-08-18librpc: don't build the old mszip decompression codeStefan Metzmacher1-1/+1
metze (This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
2008-08-18ndr_compression: use zlib's inflate() for decompressionStefan Metzmacher2-12/+83
metze (This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)
2008-08-18librpc/ndr: add support for XPRESS decompressionMatthieu Suiche1-5/+56
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 6a9720c99d36a575ea8ed92e94ff6d2fe6f3e27d)
2008-08-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-1/+5
(This used to be commit b337369d5c86b37d93ee1c62880068e14d6c09f6)
2008-08-14cope with arbitrary unknown pac buffer types, so when MS adds Andrew Tridgell1-1/+5
a new one we don't break our server (This used to be commit 5e08b285319e35afd3a9a6e6f5f59145350f2d80)
2008-08-13Rework the trustAuthInOutBlob with the help of a hand parser.Andrew Bartlett2-26/+9
This produces a C structure that is sane, while still parsing the wire blobs (as far as I can tell). Andrew Bartlett (This used to be commit b5dbe815e5dd3f865c7735bc76e02017a869f09b)
2008-08-12Add GenericInfo level for SamLogon calls from the WSPP IDL.Andrew Bartlett1-14/+33
Andrew Bartlett (This used to be commit ea58b650a81b48b0477edbcda1e4e26a3b2a9b9e)
2008-08-11dcerpc.idl: remove used DCERPC_MAX_SIGN_SIZEStefan Metzmacher1-1/+0
metze (This used to be commit 54b873e49ff363609632fa2862208bf6b4c1b6ed)
2008-08-11librpc/rpc: correct the chunk_size depending on the signature sizeStefan Metzmacher1-4/+13
metze (This used to be commit 50eb0e726405580dc5ca3a8a3b15f3bd674f722a)
2008-08-11dcerpc.idl: add DCERPC_AUTH_TRAILER_LENGTHStefan Metzmacher1-0/+2
metze (This used to be commit ce36448d74b0c6cdf8928e10c088bf0248a95cf7)
2008-08-07drsuapi.idl: directly use mszip in level 2Stefan Metzmacher1-7/+1
This fixes the push because the switch_level doesn't work otherwise because the pointer is the same as for the outer switch_level. metze (This used to be commit a4c81ee68c91b2d7a9abe668e8b23246c5c9b00d)
2008-08-07librpc/rpc: add support DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher4-1/+35
You can trigger it like this: ncacn_ip_tcp:172.31.9.234[sign,hdrsign] or ncacn_ip_tcp:172.31.9.234[seal,hdrsign] metze (This used to be commit 54f1fca582b1474693b5ee11b7b847086d27f75f)
2008-08-07librpc/rpc: pass struct dcerpc_pipe to dcerpc_auth3()Stefan Metzmacher2-6/+9
metze (This used to be commit 60b3523da485d845b1d930d990688d8434d39ef3)
2008-08-01build: remove warning about missing generated include fileStefan Metzmacher1-1/+1
metze (This used to be commit 495d068df55a94d48f2a4d2e7f2060fb42f66dbd)
2008-07-31Update to a working trustAuthIncoming and trustAuthOutgoing parser.Andrew Bartlett1-4/+25
This is based on the docs, as well as testing against a domain trust in windows. Clearly it needs to be more general - perhaps a non IDL parser? Andrew Bartlett (This used to be commit 816bb64a56a75d1eb5e879b4abf211af27243686)
2008-07-31Update trustAuthInOutBlob in line with MS-ADTS 7.1.6.8.1Andrew Bartlett1-39/+51
(This used to be commit 26c2a34dec26890230dfa86827804d8160061ce5)
2008-07-26dcerpc.idl: add DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN flagStefan Metzmacher1-0/+1
metze (This used to be commit 131a1cfdc9a1228d9263c77bcd31b05d2946fd50)
2008-07-24drsblobs.idl: unify the Primary:Kerberos and Primary:Kerberos-Newer-Keys structsStefan Metzmacher1-29/+18
metze (This used to be commit 4b79a7678571ac2f7d5f827913fdcb419f5d2e20)
2008-07-24drsblobs.idl: give some unknowns a meaningStefan Metzmacher1-9/+11
metze (This used to be commit 231e6f5ab2dc8a3e991a9872be252cffff6f14c6)
2008-07-23drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in ↵Stefan Metzmacher1-0/+37
supplementalCredentials metze (This used to be commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
2008-07-23drsblobs.idl: fix unknowns in package_PrimaryKerberos idlStefan Metzmacher1-6/+8
metze (This used to be commit da9ceb2bf17f964334d9317829d40483e2c04b10)