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
8acc7f7da7
krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type Serialization header
...
Now we should be able to handle bigendian PAC_LOGON_INFO buffers.
metze
(This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
2008-08-20 15:23:25 +02:00
Stefan Metzmacher
d0a8c05cb2
kdc/pac-glue: pull/push the logon_info via the PAC_INFO union
...
This prepares the next commit...
metze
(This used to be commit 7d297f7fb7a3ac388390429db7cb16fa60d3f8c0)
2008-08-20 15:23:02 +02:00
Stefan Metzmacher
75f594b285
drsuapi: fix samba4 callers after drsuapi.idl changes
...
metze
(This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20 15:22:05 +02:00
Stefan Metzmacher
9d0db64d24
drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*
...
metze
(This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)
2008-08-20 15:22:05 +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
9f2468af15
pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functions
...
metze
(This used to be commit e51c0cf62c91f79f703b17bcf37c4a6fa8107ae0)
2008-08-20 15:22:04 +02:00
Stefan Metzmacher
397b007df9
pidl/NDR: generate a LEVELS array for typedefs
...
metze
(This used to be commit 6785684db3446c03d8061c8bb3d94889b443d7d5)
2008-08-20 15:22:03 +02:00
Stefan Metzmacher
9941c1e7fc
pidl/NDR: correctly check for valid properties
...
grep($str, @array) returns the number of elements in @array!
We need grep(/^$str$/, @array) to the only the amount of matches.
Also fix unitialized vars for the error case.
metze
(This used to be commit f002f147d8a8a0b49389e30e611ff8b33dd077e1)
2008-08-20 15:22:03 +02:00
Stefan Metzmacher
8e6161d1b2
pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()
...
metze
(This used to be commit bdff9728cc1c8b5fe5a29040e092a8e48603725b)
2008-08-20 15:22:03 +02:00
Stefan Metzmacher
ecc1c3a27c
pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()
...
metze
(This used to be commit c3921c7b4e7a3b51b97a2afb688271a8ae403105)
2008-08-20 15:22:03 +02:00
Stefan Metzmacher
98450a5a7c
pidl/NDR::Parser: pass $ndr to ParsePtrPush()
...
metze
(This used to be commit 77571cd7c74dfaa93e58f047530df369ae293ffd)
2008-08-20 15:22:02 +02:00
Stefan Metzmacher
85fde41609
pidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functions
...
metze
(This used to be commit ce83f4bb596fad23000acc1f6691669e2f2cfe1b)
2008-08-20 15:22:02 +02:00
Stefan Metzmacher
b999de0689
pidl/NDR::Parser: pass down $ndr from the top functions
...
metze
(This used to be commit b01d7457fa5b3572989b821f04e023fd9abd0d52)
2008-08-20 15:22:02 +02:00
Stefan Metzmacher
ef7e12b914
pidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()
...
metze
(This used to be commit a143806364051141604ebb40eb5a4ef72958b55f)
2008-08-20 15:22:02 +02:00
Stefan Metzmacher
c8ef2956c6
pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()
...
metze
(This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)
2008-08-20 15:22:02 +02:00
Stefan Metzmacher
8554fcbc03
pidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()
...
metze
(This used to be commit 38c4b2a3e9b316f390651297854de033ede0d128)
2008-08-20 15:22:01 +02:00
Stefan Metzmacher
47edb623f6
pidl/NDR::Parser: use $ndr instead of "ndr"
...
metze
(This used to be commit a1cf2289dd4ff9a3f9cf61da680223193235e35f)
2008-08-20 15:22:01 +02:00
Andrew Tridgell
9dffeab5a8
don't overwrite fixed attributes with @ATTRIBUTES
...
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
2008-08-20 16:00:54 +10:00
Andrew Tridgell
f96f623854
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
2008-08-20 15:50:58 +10:00
Andrew Tridgell
7e1c62f8b6
added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
...
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20 15:46:58 +10:00
Andrew Tridgell
e1188406fb
added some comments at the request of a frustrated abartlet
...
(This used to be commit cad2e6c4c13ccd02587e47d13e897e0a327b58eb)
2008-08-19 17:49:34 +10:00
Andrew Bartlett
b33f4541f6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit fc6b4f03ebba015a13a6ab93221b0bc3ef8ef2ed)
2008-08-19 14:11:51 +10:00
Andrew Bartlett
aef684da31
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 27d07df301d60e49d36efd003f2fd2305c83c3fe)
2008-08-19 14:10:53 +10:00
Andrew Bartlett
7ef21658fb
Fix up new OpenLDAP MMR code.
...
This changes the MMR password from hard-coded value of 'linux',
adds tests and fixes the Fedora DS backend.
Currently the MMR password matches the admin password, but we can
change this to be another random value if required.
Also require the port to be specified on the command line, so we don't
hard-code a port of 9000.
Andrew Bartlett
(This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
2008-08-19 14:10:14 +10:00
Oliver Liebel
805dd85291
Generate Multi-Master Replication configuration for OpenLDAP
...
This patches provision-backend and the related scripts to generate the
correct configuration blobs for N-way multi-master replication using
OpenLDAP.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 6ed0b3f2475022288f636605492ca27fde97cd52)
2008-08-19 12:03:04 +10:00
Andrew Bartlett
47d80366be
Fix templates.ldb reprovision handling.
...
This sets the attributes in a seperate transaction, and allows a
forced delete of the whole file.
Andrew Bartlett
(This used to be commit 423db2468ba3dac89cebc59c8498c0b08c5f3d7b)
2008-08-19 11:43:41 +10:00
Stefan Metzmacher
4422617f7a
librpc: don't build the old mszip decompression code
...
metze
(This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
2008-08-18 15:34:54 +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
Stefan Metzmacher
7474196d83
zlib: mark as modified for samba
...
metze
(This used to be commit 0fb265e567d700b3c16eb8f28bc5f26653a819fa)
2008-08-18 15:25:41 +02:00
Stefan Metzmacher
5e4f668468
zlib: fix compiler warnings
...
metze
(This used to be commit ce44a608f66bf27070fd43d576551fde6f545d7c)
2008-08-18 15:25:40 +02:00
Stefan Metzmacher
41fdbffa72
zlib: we don't need the inflateReset2 prototype twice
...
metze
(This used to be commit 0dbbc287f65a51330c5309df5a96b3acd4d044d5)
2008-08-18 15:25:40 +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
Matthieu Suiche
c222124010
lib/compression: Import of lzxpress decompression algorithm
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 531882dadd57eb6fa048c5d6e5fe3accc20df751)
2008-08-18 14:52:35 +02:00
Andrew Bartlett
bb80a19714
Note the ldb syntax for attribute syntaxes in the table.
...
This includes additional Samba-specific syntaxes made available from
the ldif_handlers code.
This commit also changes some table to use #defines, to ensure
consistancy in other parts of the code.
Andrew Bartlett
(This used to be commit e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
2008-08-18 20:30:27 +10:00
Andrew Bartlett
1dc5e75218
Allow attributes to be overwritten, not just added to
...
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
2008-08-18 20:21:31 +10:00
Andrew Bartlett
dbde9cbea0
Fix segfaults when loading the schema fails.
...
(This used to be commit 9643db1a011edc95aa903908cec708b3a3566e71)
2008-08-18 20:20:24 +10:00
Andrew Bartlett
4c18073b13
Ensure we fail to proceed if the schema won't load.
...
(This used to be commit 07107c45c35a11979bf68a14b2c4df9415880fcb)
2008-08-18 15:12:08 +10:00
Andrew Bartlett
5c6364ba06
Remove references to the unused @SUBCLASS feature.
...
This was removed from ldb_tdb a while ago
Andrew Bartlett
(This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-18 12:01:27 +10:00
Andrew Bartlett
46c94dd8b2
Merge the two attribute syntax tables.
...
This merges the table once found in the oLschema2ldif tool (and moved
many times) with the table used for DRSUAPI.
The OpenLDAP schema map has been updated, to ensure that despite a
number of attributes being declared as OIDs, they are actually used as
strings (as they are actually LDAP class/attribute names).
Andrew Bartlett
(This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
2008-08-18 10:16:45 +10:00
Michael Adam
613b8d398e
configure: use AS_HELP_STRING for --with-disable-ext-lib
...
Michael
(This used to be commit 88cf5d8b708d6247772b33128f0e212a4c2e9ba8)
2008-08-16 00:49:20 +02:00
Michael Adam
a903c39d2b
configure: use AS_HELP_STRING for --enable-developer
...
Michael
(This used to be commit b10d4723891c39693100bfaaf1ac29adce9f7a86)
2008-08-16 00:49:20 +02:00
Michael Adam
982aa673e2
configure: use AS_HELP_STRING for --enable-debug.
...
Michael
(This used to be commit 1f4bf8fbd5bfc9c58bb5668fe25586766605b268)
2008-08-16 00:49:20 +02:00
Michael Adam
37b6e7886b
configure: use AS_HELP_STRING for --with-selftest-prefix.
...
Michael
(This used to be commit eea4f597acf743fa783be3e5809e24aebc79f238)
2008-08-16 00:49:20 +02:00
Michael Adam
56bf6489a6
configure: use AS_HELP_STRING for --with-logfilebase.
...
Michael
(This used to be commit f9c15b817a24bed26a339479c53fc2f5cc5b36df)
2008-08-16 00:49:19 +02:00
Michael Adam
42104c3d11
configure: use AS_HELP_STRING for --with-piddir
...
Michael
(This used to be commit f05a9fe46ff428e48be9a5af4a6769cd78712c11)
2008-08-16 00:49:19 +02:00
Michael Adam
3ebf7f0427
configure: use AS_HELP_STRING for --with-lockdir.
...
Michael
(This used to be commit ed4a6e780a3f57854338520e4608cfc8dce4ef3e)
2008-08-16 00:49:19 +02:00