summaryrefslogtreecommitdiffstats
path: root/source4/librpc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'abartlet-4-0-local' into v4-0-testAndrew Tridgell2008-08-221-1/+7
|\ | | | | | | (This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
| * Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer2008-08-201-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)
* | krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type ↵Stefan Metzmacher2008-08-201-5/+1
| | | | | | | | | | | | | | | | | | Serialization header Now we should be able to handle bigendian PAC_LOGON_INFO buffers. metze (This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
* | drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*Stefan Metzmacher2008-08-201-4/+12
| | | | | | | | | | metze (This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)
* | ndr_compression: remove the type serialization handling from the compression ↵Stefan Metzmacher2008-08-201-36/+0
| | | | | | | | | | | | | | layer metze (This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)
* | ndr_compression: unify the common handling of mszip and xpress compressionStefan Metzmacher2008-08-201-107/+33
| | | | | | | | | | metze (This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)
* | librpc/ndr: add support for Type Serialization Version 1 to subcontextStefan Metzmacher2008-08-201-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)
* librpc: don't build the old mszip decompression codeStefan Metzmacher2008-08-181-1/+1
| | | | | metze (This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
* ndr_compression: use zlib's inflate() for decompressionStefan Metzmacher2008-08-182-12/+83
| | | | | metze (This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)
* librpc/ndr: add support for XPRESS decompressionMatthieu Suiche2008-08-181-5/+56
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 6a9720c99d36a575ea8ed92e94ff6d2fe6f3e27d)
* cope with arbitrary unknown pac buffer types, so when MS adds Andrew Tridgell2008-08-141-1/+5
| | | | | a new one we don't break our server (This used to be commit 5e08b285319e35afd3a9a6e6f5f59145350f2d80)
* dcerpc.idl: remove used DCERPC_MAX_SIGN_SIZEStefan Metzmacher2008-08-111-1/+0
| | | | | metze (This used to be commit 54b873e49ff363609632fa2862208bf6b4c1b6ed)
* librpc/rpc: correct the chunk_size depending on the signature sizeStefan Metzmacher2008-08-111-4/+13
| | | | | metze (This used to be commit 50eb0e726405580dc5ca3a8a3b15f3bd674f722a)
* dcerpc.idl: add DCERPC_AUTH_TRAILER_LENGTHStefan Metzmacher2008-08-111-0/+2
| | | | | metze (This used to be commit ce36448d74b0c6cdf8928e10c088bf0248a95cf7)
* drsuapi.idl: directly use mszip in level 2Stefan Metzmacher2008-08-071-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)
* librpc/rpc: add support DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher2008-08-074-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)
* librpc/rpc: pass struct dcerpc_pipe to dcerpc_auth3()Stefan Metzmacher2008-08-072-6/+9
| | | | | metze (This used to be commit 60b3523da485d845b1d930d990688d8434d39ef3)
* build: remove warning about missing generated include fileStefan Metzmacher2008-08-011-1/+1
| | | | | metze (This used to be commit 495d068df55a94d48f2a4d2e7f2060fb42f66dbd)
* Update to a working trustAuthIncoming and trustAuthOutgoing parser.Andrew Bartlett2008-07-311-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)
* Update trustAuthInOutBlob in line with MS-ADTS 7.1.6.8.1Andrew Bartlett2008-07-311-39/+51
| | | | (This used to be commit 26c2a34dec26890230dfa86827804d8160061ce5)
* dcerpc.idl: add DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN flagStefan Metzmacher2008-07-261-0/+1
| | | | | metze (This used to be commit 131a1cfdc9a1228d9263c77bcd31b05d2946fd50)
* drsblobs.idl: unify the Primary:Kerberos and Primary:Kerberos-Newer-Keys structsStefan Metzmacher2008-07-241-29/+18
| | | | | metze (This used to be commit 4b79a7678571ac2f7d5f827913fdcb419f5d2e20)
* drsblobs.idl: give some unknowns a meaningStefan Metzmacher2008-07-241-9/+11
| | | | | metze (This used to be commit 231e6f5ab2dc8a3e991a9872be252cffff6f14c6)
* drsblobs.idl: add idl for Primary:Kerberos-Newer-Keys blob in ↵Stefan Metzmacher2008-07-231-0/+37
| | | | | | | supplementalCredentials metze (This used to be commit 97b7901afbccc9647ad2958d4cf12300de2655d1)
* drsblobs.idl: fix unknowns in package_PrimaryKerberos idlStefan Metzmacher2008-07-231-6/+8
| | | | | metze (This used to be commit da9ceb2bf17f964334d9317829d40483e2c04b10)
* drsblobs.idl: fix idl for supplementalCredentialsSubBlobStefan Metzmacher2008-07-231-3/+8
| | | | | metze (This used to be commit 24c5b10136f6e640832193aaf9e6d7e865c288bc)
* drsblobs.idl: rename unknown1 -> reservedStefan Metzmacher2008-07-231-1/+1
| | | | | metze (This used to be commit 9a70b2237d4fdd523edfbca0329ad35e71faf998)
* The SMB session key must not be more than 16 bytes in SAMR (andAndrew Bartlett2008-07-231-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)
* drsuapi.idl: change the u1 field in DsBindInfo* to "pid".Michael Adam2008-07-221-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)
* drsuapi.idl: add drsuapi_SupportedExtensionsExt bitfield.Michael Adam2008-07-221-1/+6
| | | | | | | This knowledge is obtained from the wspp-docs (section 5.35). Michael (This used to be commit f5afb695045b1a2f3b8c00a4d82d40e8e50726c9)
* drsuapi.idl: the last 16 bytes in DsBindInfo48 ar the GUID of the config dn.Michael Adam2008-07-221-1/+2
| | | | | | | This bit seems not to be documented in the WSPP docs. Michael (This used to be commit 705f79bd0a5e93daa0cb11b5dcca36e75c75df93)
* drsuapi.idl: add drsuapi_DsBindInfo48.Michael Adam2008-07-221-0/+10
| | | | | | | This is necessary to make DsGetNcChanges work with win2008. Michael (This used to be commit dd278b069b8683a0e3721ebb7d0de06d2bc1c86f)
* Rename structures to better match the names in the WSPP IDL.Andrew Bartlett2008-07-212-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)
* drsuapi.idl: fix unknowns in drsuapi_DsGetNCChangesCtr*Stefan Metzmacher2008-07-161-7/+27
| | | | | metze (This used to be commit 9e99e59ca7e56bf74417ec85339e09e86f50d17e)
* drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*Stefan Metzmacher2008-07-162-3/+9
| | | | | metze (This used to be commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
* drsuapi.idl: fix unknowns in drsuapi_DsReplicaCursor[2]Stefan Metzmacher2008-07-161-6/+6
| | | | | metze (This used to be commit a681e55067a83f06e465b81afb2b0b870b674dca)
* drsuapi.idl: correctly handle xpress compressed payloadStefan Metzmacher2008-07-161-4/+4
| | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit d9d19eef4f67da89e7d818d23a2372bee6f86dba)
* Fix the build - this element was renamed.Andrew Bartlett2008-07-161-1/+1
| | | | (This used to be commit 60161954ad5c99ce9934a968c5d41f41fafd780f)
* (Hopefully) fix the build by re-adding security.NTACLJeremy Allison2008-07-091-0/+2
| | | | | | const char. The deletion earlier was a typo. Jeremy. (This used to be commit aa27344b96929c925b30965a1cd20e69c3dbd515)
* Add in a version2 of the NT security descriptor storeJeremy Allison2008-07-091-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)
* dcerpc_smb: trans->in.max_data should not depend on the smb max sizeStefan Metzmacher2008-07-071-1/+8
| | | | | | | We now support async multi fragment SMBtrans calls. metze (This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)
* dcerpc.idl: the signing overhead can be more than 32 bytesStefan Metzmacher2008-07-031-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)
* drsuapi.idl: remove some unknows from DsGetNCChanges()Stefan Metzmacher2008-06-301-6/+24
| | | | | metze (This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-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)
* Add working Python bindings for NBT.Jelmer Vernooij2008-06-111-3/+3
| | | | (This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
* fixed for per session session_key here tooAndrew Tridgell2008-06-071-1/+1
| | | | (This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)
* opendb: add write time handlingStefan Metzmacher2008-06-031-0/+2
| | | | | metze (This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
* implemented client side SMB2 signingAndrew Tridgell2008-05-302-2/+6
| | | | | | | | This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
* Add in an enum for two future NTP signing ops.Andrew Bartlett2008-05-291-2/+3
| | | | | | | | I hope to extend this code to handle NTP clients getting authenticated time too. Andrew Bartlett (This used to be commit 1854ab058b42ce4530324cb8f40eb64e6e32267b)
* Final fixes to for a functional NTP signing deamon.Andrew Bartlett2008-05-291-3/+10
| | | | | Andrew Bartlett (This used to be commit 4dcc0cd06ef2f6c496e2112f6378088a1c27d2f2)