summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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)
2008-07-23drsblobs.idl: fix idl for supplementalCredentialsSubBlobStefan Metzmacher1-3/+8
metze (This used to be commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
2008-07-23drsblobs.idl: rename unknown1 -> reservedStefan Metzmacher1-1/+1
metze (This used to be commit 9a70b2237d4fdd523edfbca0329ad35e71faf998)
2008-07-23The SMB session key must not be more than 16 bytes in SAMR (andAndrew Bartlett1-2/+12
presumably LSA). Tests show that Vista requires the sesion key to be truncated for a domain join. Andrew Bartlett (This used to be commit af629a3738298d27eb2dbecf466ceb503cec9638)
2008-07-22drsuapi.idl: change the u1 field in DsBindInfo* to "pid".Michael Adam1-4/+4
According to the WSPP docs, section 5.35, this is the "process identifyer" of the client. It is meant for informational and debugging purposes only and its assignment is implementation specific. Michael (This used to be commit 579306eb5b58b6c1142b3c489e4bcf6da50810d6)
2008-07-22drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.Michael Adam1-1/+6
This knowledge is obtained from the wspp-docs (section 5.35). Michael (This used to be commit f5afb695045b1a2f3b8c00a4d82d40e8e50726c9)
2008-07-22drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.Michael Adam1-1/+2
This bit seems not to be documented in the WSPP docs. Michael (This used to be commit 705f79bd0a5e93daa0cb11b5dcca36e75c75df93)
2008-07-22drsuapi.idl: add drsuapi_DsBindInfo48.Michael Adam1-0/+10
This is necessary to make DsGetNcChanges work with win2008. Michael (This used to be commit dd278b069b8683a0e3721ebb7d0de06d2bc1c86f)
2008-07-21Rename structures to better match the names in the WSPP IDL.Andrew Bartlett2-10/+10
The 'comment' element in a number of domain structures is called oem_information. This was picked up actually because with OpenLDAP doing the schema checking, it noticed that 'comment' was not a valid attribute. The rename tries to keep this consistant in both the LDB mappings and IDL, so we don't make the same mistake in future. This has no real schema impact, as this value isn't actually used for anything, as 'comment' was not used in the provision. Andrew Bartlett (This used to be commit 65dc0d536590d055a5ee775606ac90ee5fcaee9a)
2008-07-16drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*Stefan Metzmacher1-7/+27
metze (This used to be commit 9e99e59ca7e56bf74417ec85339e09e86f50d17e)
2008-07-16drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*Stefan Metzmacher2-3/+9
metze (This used to be commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
2008-07-16drsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]Stefan Metzmacher1-6/+6
metze (This used to be commit a681e55067a83f06e465b81afb2b0b870b674dca)
2008-07-16drsuapi.idl: correctly handle xpress compressed payloadStefan Metzmacher1-4/+4
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit d9d19eef4f67da89e7d818d23a2372bee6f86dba)
2008-07-16Fix the build - this element was renamed.Andrew Bartlett1-1/+1
(This used to be commit 60161954ad5c99ce9934a968c5d41f41fafd780f)
2008-07-09(Hopefully) fix the build by re-adding security.NTACLJeremy Allison1-0/+2
const char. The deletion earlier was a typo. Jeremy. (This used to be commit aa27344b96929c925b30965a1cd20e69c3dbd515)
2008-07-09Add in a version2 of the NT security descriptor storeJeremy Allison1-3/+13
that can store a timestamp along with the SD. Allows us to check for validity against the POSIX st_ctime. Keeps the IDL consistent with Samba3.3 IDL. Jeremy. (This used to be commit 29843a6b339a581de714924219632390b156aa4f)
2008-07-07dcerpc_smb: trans->in.max_data should not depend on the smb max sizeStefan Metzmacher1-1/+8
We now support async multi fragment SMBtrans calls. metze (This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)
2008-07-03dcerpc.idl: the signing overhead can be more than 32 bytesStefan Metzmacher1-1/+1
Windows seems to use 64 here, so we do now. Before we got nca_proto_error fault because we send fragments larger than the negotiated max frag size. If the max frag size is 5840, we're sending 5837 bytes when the auth_len is 45 and that matches w2k3 traffic. metze (This used to be commit 351947dba3f7a26ac871d4aa7b6bba4cd472383a)
2008-06-30drsuapi.idl: remove some unknows from DsGetNCChanges()Stefan Metzmacher1-6/+24
metze (This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-1/+1
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-11Add working Python bindings for NBT.Jelmer Vernooij1-3/+3
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
2008-06-07fixed for per session session_key here tooAndrew Tridgell1-1/+1
(This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)