1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

597 Commits

Author SHA1 Message Date
Jelmer Vernooij
6a89b59ca6 Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba
3.
2008-10-18 18:09:04 +02:00
Jelmer Vernooij
0132423a09 Share libndr.h between Samba 3 and Samba 4. 2008-10-15 00:35:13 +02:00
Jelmer Vernooij
5198fb6e19 Share ndr_krb5pac implementation. 2008-10-14 23:52:20 +02:00
Jelmer Vernooij
f02a68a89f Share ndr_compression.c. 2008-10-14 23:46:34 +02:00
Jelmer Vernooij
2049cfe743 Share ndr.c implementation. 2008-10-13 16:09:48 +02:00
Jelmer Vernooij
6d02f0805a Import warning fixes from Samba 3 into libndr, sync more libndr code. 2008-10-13 15:33:40 +02:00
Jelmer Vernooij
58f844ab54 Share uuid implementations. 2008-10-13 15:23:35 +02:00
Jelmer Vernooij
8cae7a5bab Share ndr_misc implementations. 2008-10-13 15:22:27 +02:00
Jelmer Vernooij
390d37187a Share ndr_basic implementation. 2008-10-13 15:20:10 +02:00
Jelmer Vernooij
5ae73c67b5 Import warning fixes from Samba 3. 2008-10-13 15:17:41 +02:00
Jelmer Vernooij
bf768aa1ec Import debug macros from Samba 3's libndr. 2008-10-13 14:30:41 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Jelmer Vernooij
caa4e42860 Move lib/util from source4 to top-level libutil.
Conflicts:

	source4/Makefile
2008-10-11 21:05:38 +02:00
Stefan Metzmacher
394f24b374 s4:drsblob: fix the build
metze
2008-09-30 09:05:45 +02:00
Andrew Bartlett
64195b72be Fix parsing of the trust passwords in LSA CreateTrustedDomainEx* 2008-09-29 22:34:35 -07:00
Jelmer Vernooij
a0e5f9194a Import ndr_syntax_id_equal from Samba 3. 2008-09-18 16:56:11 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Jelmer Vernooij
db872cfe37 Remove more hand-written marshallers. 2008-09-16 05:48:29 +02:00
Jelmer Vernooij
c212a65b65 More changes getting WMI code to compile, import manual marshalling. 2008-09-16 02:27:33 +02:00
Stefan Metzmacher
1efff73068 ndr_compression: add XPRESS compression support
metze
(This used to be commit 1432a96d37e367d9d97d48b69c6f16351a9ad066)
2008-09-07 19:20:41 +02:00
Stefan Metzmacher
6e0335f864 ndr_compression: fix the build after lzxpress_decompress() prototype change
metze
(This used to be commit b36056aac3f55587d2b3e7b66feea8173dbc67f0)
2008-09-07 19:18:48 +02:00
Stefan Metzmacher
253e222831 ndr_compression: change debug levels
metze
(This used to be commit 83446e22dd1eda958ef62bbe998da0a47b9ff8ef)
2008-09-06 16:16:40 +02:00
Stefan Metzmacher
3b8c11b4d9 ndr_compression: use deflateReset() together with defalteSetDictionary()
metze
(This used to be commit dcc57512b030995d9b186c7a6cb3b304d5680867)
2008-09-06 16:16:00 +02:00
Stefan Metzmacher
79cc502e5d ndr_compression: use inflateReset() and inflateSetDictionary() instead of inflateReset2()
Now we can use an unmodified system zlib-1.2.3

metze
(This used to be commit d68e36b485239cbaf99a6dce3f3bf52b4abcd06d)
2008-09-06 16:15:39 +02:00
Stefan Metzmacher
9d3add9b9f ndr_compression: implement mszip compression based on deflate()
The output doesn't match the output from windows servers,
but it's a start...

metze
(This used to be commit 8a2f9688275aa150b739b5525e738df15c5e25cc)
2008-08-21 12:50:43 +02:00
Stefan Metzmacher
e3319bf849 drsuapi.idl: use hand written push functions for the compressed blobs
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-21 12:48:48 +02:00
Stefan Metzmacher
2d2e7f6c48 ndr_compression: add common parts of ndr compression
metze
(This used to be commit 9fe466f84afcbd64c9bbfe0f9ea6c1933acb07fe)
2008-08-21 11:47:40 +02:00
Stefan Metzmacher
fbeb6d7801 ndr_compression: remove the type serialization handling from the compression layer
metze
(This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
17fcc4118f ndr_compression: unify the common handling of mszip and xpress compression
metze
(This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)
2008-08-20 15:22:04 +02:00
Stefan Metzmacher
f4e2f3f14c librpc/ndr: add support for Type Serialization Version 1 to subcontext
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-20 15:22:04 +02:00
Stefan Metzmacher
6cd8e2bccf ndr_compression: use zlib's inflate() for decompression
metze
(This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)
2008-08-18 15:29:02 +02:00
Matthieu Suiche
ffa18ca49a librpc/ndr: add support for XPRESS decompression
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 6a9720c99d36a575ea8ed92e94ff6d2fe6f3e27d)
2008-08-18 14:52:36 +02:00
Stefan Metzmacher
e81feb77a2 drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze
(This used to be commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
2008-07-16 12:15:37 +02:00
Andrew Tridgell
3180cbbc5b Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit c73a3b837ec16fbb846c6e63a45599fca99b3d0b)
2008-04-17 16:53:36 +02:00
Stefan Metzmacher
aa51981e99 libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
metze
(This used to be commit 690c12cd2afd0fba626576fbae3f28ffdae63be2)
2008-04-17 16:28:40 +02:00
Andrew Tridgell
107ab090e2 use uintptr_t instead of intptr_t where appropriate
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
2008-04-17 14:47:07 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
bebb7b890c Add warning to public headers.
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
2008-04-01 16:18:31 +02:00
Stefan Metzmacher
a37ddb8ae0 ndr_sec_helper: create a completely zero sid, so that ndr_size_dom_sid28 can return 0
metze
(This used to be commit ae6976eb4a8ddafc40ce91f68c9bca861502093b)
2008-02-15 08:52:23 +01:00
Stefan Metzmacher
be25cdebcb librpc: remove special support for fixed length strings
Fixed arrays with the charset() attribute do the same

metze
(This used to be commit 9620b86e96e8065c0ff6db0d95130ab53581d468)
2008-02-12 16:16:35 +01:00
Andrew Bartlett
8623c981b4 Be sure to pass iconv handle down to compression subcontexts (fixes
segfaults in NET-API-BECOME-DC)

Andrew Bartlett
(This used to be commit 70c1e918e6bd01946425e2d89cb680f14152f9fc)
2008-01-21 20:56:27 +11:00
Jelmer Vernooij
939edd0eb7 util: Move asn1 to lib/util to trim down the number of subsystems.
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-15 01:04:38 +01:00
Jelmer Vernooij
7d5f0e0893 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
(This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
d1e716cf43 r26432: Require ndr_pull users to specify iconv_convenience.
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21 05:50:02 +01:00
Jelmer Vernooij
61873ce94c r26431: Require ndr_push creators to specify a iconv_convenience context.
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21 05:50:00 +01:00
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
a5b8999f23 r26427: Avoid global_smb_iconv_convenience.
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21 05:49:53 +01:00
Jelmer Vernooij
39ee38d9c1 r26316: Use contexts for conversion functions.
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
a84863372c r26261: Use enum type.
(This used to be commit 06233de54bc14d52e329d8eca2468b329b69593a)
2007-12-21 05:47:35 +01:00