Matthieu Suiche
1825077840
lzxpress: fix for decompression...
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit ee505df374
)
2008-09-07 19:18:17 +02:00
Simo Sorce
14965b7260
Always free tmp contexts before returning
...
(This used to be commit 40b71bbd71
)
2008-09-06 12:33:27 -04:00
Stefan Metzmacher
95df0fddf6
zlib: we require zlib-1.2.3 or higher
...
metze
(This used to be commit 3f4eb091f0
)
2008-09-06 16:16:41 +02:00
Stefan Metzmacher
5631a1b9bc
Revert "zlib: add inflateReset2()..."
...
This reverts commit 2a4fb661d7
.
(we don't need inflateReset2 anymore)
metze
(This used to be commit ac43081b93
)
2008-09-06 16:16:41 +02:00
Stefan Metzmacher
c285076f29
Revert "zlib: we don't need the inflateReset2 prototype twice"
...
This reverts commit 0dbbc287f6
.
(we don't need inflateReset2 anymore)
metze
(This used to be commit 426d129dff
)
2008-09-06 16:16:41 +02:00
Andrew Tridgell
1929b2fb51
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit c273d63f94
)
2008-09-04 12:49:29 +10:00
Jelmer Vernooij
a2618d05f9
Fix embedding of Samba 4.
...
(This used to be commit 3862f31325
)
2008-09-03 14:10:35 +02:00
Andrew Tridgell
9817f3d785
Add a setexpiry operation in samdb.py
...
This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4
)
2008-08-30 07:32:44 +10:00
Andrew Tridgell
094895cbe1
disable the anr== tests until they are understood
...
(This used to be commit 6028404a9a
)
2008-08-22 21:54:21 +10:00
Andrew Tridgell
0521ed1ddf
fixed the GUID and objectSID canonicalisation functions
...
(This used to be commit 115053ea7e
)
2008-08-22 18:37:34 +10:00
Andrew Tridgell
c50d361e07
fixed a speellling erra
...
(This used to be commit 3c058f50cc
)
2008-08-22 18:37:11 +10:00
Andrew Tridgell
cc43037f19
fixed a problem with length limited ldap values
...
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80
)
2008-08-22 17:36:56 +10:00
Andrew Bartlett
4ad97a1d05
Don't walk past the end of ldb values.
...
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f3
)
2008-08-21 19:24:58 +10:00
Andrew Bartlett
38f7405298
Push loading the objectGUID and objectSID handlers earlier.
...
Andrew Bartlett
(This used to be commit 0b6e53f80b
)
2008-08-21 17:29:47 +10:00
Andrew Bartlett
c36c42af29
Handle error cases in attribute handlers better.
...
We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.
Andrew Bartlett
(This used to be commit 6aa5dde2aa
)
2008-08-21 15:10:40 +10:00
Andrew Bartlett
64293ca4af
All these syntaxes are now handled by the schema.
...
(This used to be commit 94d5e69190
)
2008-08-21 12:56:34 +10:00
Andrew Bartlett
473540d4a5
Don't hardcode attributes to be treated as a DN
...
This is now handled by reading the schema into the attributes.
Also, when we do set something here, mark it as FIXED, so the schema
and any reload from @ATTRIBUTES won't touch it.
Andrew Bartlett
(This used to be commit 7b24701335
)
2008-08-21 12:56:04 +10:00
Andrew Bartlett
0d89adcd4b
Correct anr search commants and error messages in ldap.js
...
(This used to be commit 233dd885c2
)
2008-08-21 12:51:55 +10:00
Andrew Bartlett
4016cfcab7
Don't allow a NULL syntax
...
(This used to be commit 505a0c2b70
)
2008-08-21 12:51:06 +10:00
Andrew Bartlett
e7db2325e9
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit ae502f9e39
)
2008-08-20 16:02:13 +10:00
Andrew Tridgell
9dffeab5a8
don't overwrite fixed attributes with @ATTRIBUTES
...
(This used to be commit e860fc171f
)
2008-08-20 16:00:54 +10:00
Andrew Bartlett
4bfab3bedb
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 9fa48b3572
)
2008-08-20 15:52:08 +10:00
Andrew Tridgell
f96f623854
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit 3bdc906eb6
)
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 9dce558206
)
2008-08-20 15:46:58 +10:00
Andrew Bartlett
5d37529771
Remove last traces of the old 'subclass' feature
...
(This used to be commit ed19d0abea
)
2008-08-20 13:09:40 +10:00
Andrew Tridgell
e1188406fb
added some comments at the request of a frustrated abartlet
...
(This used to be commit cad2e6c4c1
)
2008-08-19 17:49:34 +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 27d07df301
)
2008-08-19 14:10:53 +10:00
Stefan Metzmacher
4422617f7a
librpc: don't build the old mszip decompression code
...
metze
(This used to be commit f48dfd87ba
)
2008-08-18 15:34:54 +02:00
Stefan Metzmacher
7474196d83
zlib: mark as modified for samba
...
metze
(This used to be commit 0fb265e567
)
2008-08-18 15:25:41 +02:00
Stefan Metzmacher
5e4f668468
zlib: fix compiler warnings
...
metze
(This used to be commit ce44a608f6
)
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 0dbbc287f6
)
2008-08-18 15:25:40 +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 531882dadd
)
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 e26a5efd9a
)
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 0aebae91be
)
2008-08-18 20:21:31 +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 fcb87e7786
)
2008-08-18 12:01:27 +10:00
Andrew Bartlett
16112762e7
Generate the subSchema in cn=Aggregate
...
This reads the schema from the in-memory structure, when the magic
attributes are requested. The code is a modified version of that used
in the ad2oLschema tool (now shared).
The schema_fsmo module handles the insertion of the generated result.
As such, this commit also removes these entries from the setup/schema.ldif
Metze's previous stub of this functionality is also removed.
Andrew Bartlett
(This used to be commit c7c32ec7b4
)
2008-08-15 20:40:57 +10:00
Stefan Metzmacher
9bf122145f
lib: prepare the build of zlib
...
metze
(This used to be commit 159df68c04
)
2008-08-07 19:16:00 +02:00
Stefan Metzmacher
ed3bdf38d7
zlib: add inflateReset2()...
...
metze
(This used to be commit 2a4fb661d7
)
2008-08-07 19:16:00 +02:00
Stefan Metzmacher
05235802f7
import of zlib-1.2.3
...
We want to use zlib for the mszip ndr (de)compression
later, we'll need to add some new functions to zlib.
metze
(This used to be commit 65c9e91a1b
)
2008-08-07 19:15:59 +02:00
Stefan Metzmacher
5fd1c5445b
libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headers
...
metze
(This used to be commit cffed8e19e
)
2008-08-01 21:10:40 +02:00
Stefan Metzmacher
112084929e
lib/crypto: remove dependency to internal heimdal
...
metze
(This used to be commit 9138fc6639
)
2008-08-01 21:10:39 +02:00
Stefan Metzmacher
9437adf68b
lib/ldb/tools: allow -W and --realm when build from samba4
...
metze
(This used to be commit 0aa6d63ec5
)
2008-07-26 21:46:53 +02:00
Brad Hards
a05c9ab939
Define HAVE_ASM_BYTEORDER at all times
...
(This used to be commit 396ea14732
)
2008-07-25 17:43:21 +10:00
Andrew Tridgell
66f09a7fd1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 24309dbf4d
)
2008-07-24 14:26:30 +10:00
Andrew Tridgell
b38045f9da
fixd a bug in the signal handling code - we could get phantom signals
...
(signum 64)
(This used to be commit af7fb2e38b
)
2008-07-24 11:48:27 +10:00
Andrew Bartlett
f4cae6a913
Sleep longer in the hope that the OpenLDAP backend might catch up
...
(This used to be commit 63c80c885d
)
2008-07-21 11:18:54 +10:00
Andrew Bartlett
ca46ad25b8
Fix ldb_map to add/remove the same 'extra' objectclass
...
The code previously added data->add_objectClass, but only removed the
fixed objectclass of extensibleObject.
Found by the ldap.py test.
Andrew Bartlett
(This used to be commit 4fa15c3173
)
2008-07-21 11:18:21 +10:00
Andrew Bartlett
0c4738a411
Another kludge to let the OpenLDAP backend catch up.
...
This will go away when this is handled in an internal transation.
Andrew Bartlett
(This used to be commit f567e17758
)
2008-07-16 17:06:33 +10:00
Andrew Bartlett
b49c30dd39
Remove C++ keywords from events.h header.
...
Andrew Bartlett
(This used to be commit 7ca421eb32
)
2008-07-14 18:47:10 +10:00
Michael Adam
016d65ee98
ldb_map: eliminate "discards qualifyer" warning (const).
...
Michael
(This used to be commit b7c14af379
)
2008-07-09 16:00:31 +02:00