The branch, master has been updated
via 3d0a3c1078d936a52ce82720ddc09b4037653655 (commit)
via 16a3a2da78b1f2d5a1077e382a26466944f6c59e (commit)
via cf5c919c744c714b9be849e4d6424f7df92b328d (commit)
via 5b796adb125174084cfc2a6f04cfdac5e9324ef8 (commit)
via 00b63434063a128662d4ce83ce382fc2e6102d22 (commit)
via 8e1934a3845944ba7d79848368976e82d182e8d1 (commit)
via 109719de030cb2432bea991077b12b4cf937c108 (commit)
via 9abd45979ee0415c16775f6dfd17a6e421091d5c (commit)
from 1d9c88b3885728aba3d7fef85d80501125011f1c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -
commit 3d0a3c1078d936a52ce82720ddc09b4037653655
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Wed Nov 5 12:00:44 2008 +1100
Add helpful function for comparison of DATA_BLOB elements
commit 16a3a2da78b1f2d5a1077e382a26466944f6c59e
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Thu Nov 13 14:07:29 2008 +1100
Remove timeout event once we are calling the callback.
(Even if the callback takes some time, this isn't a ldb_tdb timeout
any more)
Andrew Bartlett
commit cf5c919c744c714b9be849e4d6424f7df92b328d
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Thu Nov 13 15:58:12 2008 +1100
Improve debug when SASL search fails
commit 5b796adb125174084cfc2a6f04cfdac5e9324ef8
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Fri Nov 14 09:40:02 2008 +1100
Print unconvertable ldb element values as base64.
If an LDB element cannot be converted into a printable form, we should
still print it, just with safety applied.
Andrew Bartlett
commit 00b63434063a128662d4ce83ce382fc2e6102d22
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Fri Nov 14 13:26:02 2008 +1100
The samba3sam test does not really need the extended_dn module
(This module has been split up into extended_dn_in, extended_dn_out
and extended_dn_store).
Andrew Bartlett
commit 8e1934a3845944ba7d79848368976e82d182e8d1
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Fri Nov 14 13:24:54 2008 +1100
Use new GUID_from_data_blob
This avoid the problem that GUID_from_string now strictly requires no
trailing data after the string-form GUID.
Andrew Bartlett
commit 109719de030cb2432bea991077b12b4cf937c108
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Fri Nov 14 16:34:59 2008 +1100
Remove restrictions on number of DN components in LDAP server
There is no reason for these restrictions to be in the LDAP server -
they belong in the LDB layer. When accepting 'extended' or
'alternate' DNs we can't tell anyway.
Andrew Bartlett
commit 9abd45979ee0415c16775f6dfd17a6e421091d5c
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date: Fri Nov 14 17:16:39 2008 +1100
Always validate a DN when constructing from a string in python
---
Summary of changes:
lib/torture/torture.h | 15 ++
librpc/rpc/binding.c |4 +-
source4/dsdb/samdb/ldb_modules/tests/samba3sam.py |2 +-
source4/ldap_server/ldap_backend.c| 22
source4/lib/ldb/common/ldb_ldif.c |6 +++-
source4/lib/ldb/ldb.i |2 +-
source4/lib/ldb/ldb_tdb/ldb_tdb.c |9 ---
source4/lib/ldb/ldb_tdb/ldb_tdb.h |1 +
source4/libcli/ldap/ldap_bind.c |2 +-
9 files changed, 39 insertions(+), 24 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/torture/torture.h b/lib/torture/torture.h
index f16d270..73ea1eb 100644
--- a/lib/torture/torture.h
+++ b/lib/torture/torture.h
@@ -284,6 +284,21 @@ void torture_result(struct torture_context *test,
} \
} while(0)
+#define torture_assert_data_blob_equal(torture_ctx,got,expected,cmt)\
+ do { const DATA_BLOB __got = (got), __expected = (expected); \
+ if (__got.length != __expected.length) { \
+ torture_result(torture_ctx, TORTURE_FAIL, \
+ __location__": "#got".len %d did not match
"#expected" len %d: %s", \
+ (int)__got.length, (int)__expected.length, cmt);
\
+ return false; \
+ } \
+ if (memcmp(__got.data, __expected.data, __got.length) != 0) { \
+ torture_result(torture_ctx, TORTURE_FAIL, \
+ __location__": "#got" of len %d did not
match"#expected": %s", (int)__got.length, cmt); \
+ return false; \
+ } \
+ } while(0)
+
#define torture_assert_file_contains_text(torture_ctx,filename,expected,cmt)\
do { \
char *__got; \
diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c
index b755431..